summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-03-14 15:05:00 +0000
committerHans de Graaff <graaff@gentoo.org>2010-03-14 15:05:00 +0000
commitb72aabcf63fcf9d5f5cbb40499de9b24bfc92f6b (patch)
tree2cd454e548312a7dc5829a78bf9c940c464b2b42 /dev-ruby/shorturl
parent[www-client/uzbl] makefile patch applied upstream in experimental branch, don... (diff)
downloadgentoo-2-b72aabcf63fcf9d5f5cbb40499de9b24bfc92f6b.tar.gz
gentoo-2-b72aabcf63fcf9d5f5cbb40499de9b24bfc92f6b.tar.bz2
gentoo-2-b72aabcf63fcf9d5f5cbb40499de9b24bfc92f6b.zip
Version bump: add VURL service.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/shorturl')
-rw-r--r--dev-ruby/shorturl/ChangeLog7
-rw-r--r--dev-ruby/shorturl/shorturl-0.8.8.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ruby/shorturl/ChangeLog b/dev-ruby/shorturl/ChangeLog
index 9cedc8d1ca7e..b3d1c2e93aa6 100644
--- a/dev-ruby/shorturl/ChangeLog
+++ b/dev-ruby/shorturl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/shorturl
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shorturl/ChangeLog,v 1.12 2010/01/29 10:12:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shorturl/ChangeLog,v 1.13 2010/03/14 15:05:00 graaff Exp $
+
+*shorturl-0.8.8 (14 Mar 2010)
+
+ 14 Mar 2010; Hans de Graaff <graaff@gentoo.org> +shorturl-0.8.8.ebuild:
+ Version bump: add VURL service.
*shorturl-0.8.7-r1 (29 Jan 2010)
diff --git a/dev-ruby/shorturl/shorturl-0.8.8.ebuild b/dev-ruby/shorturl/shorturl-0.8.8.ebuild
new file mode 100644
index 000000000000..51a85dd49b3c
--- /dev/null
+++ b/dev-ruby/shorturl/shorturl-0.8.8.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shorturl/shorturl-0.8.8.ebuild,v 1.1 2010/03/14 15:05:00 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="ChangeLog README TODO"
+
+inherit ruby-fakegem eutils
+
+DESCRIPTION="A very simple library to use URL shortening services such as TinyURL or RubyURL."
+HOMEPAGE="http://shorturl.rubyforge.org/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+all_ruby_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.8.7+ruby-1.9.patch
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test/ts_all.rb || die "tests failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ pushd doc &>/dev/null
+ dohtml -r . || die
+ popd &>/dev/null
+}