summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-11-21 07:31:14 +0000
committerHans de Graaff <graaff@gentoo.org>2013-11-21 07:31:14 +0000
commit1668954ab9e04b6dad402f6e0f52bf26b9d43e16 (patch)
treeeb45fb3db5fa89fff16f78dbc8279defc5e74814 /dev-ruby/rack-test
parentBump (diff)
downloadgentoo-2-1668954ab9e04b6dad402f6e0f52bf26b9d43e16.tar.gz
gentoo-2-1668954ab9e04b6dad402f6e0f52bf26b9d43e16.tar.bz2
gentoo-2-1668954ab9e04b6dad402f6e0f52bf26b9d43e16.zip
EAPI=5. Add ruby20.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rack-test')
-rw-r--r--dev-ruby/rack-test/ChangeLog7
-rw-r--r--dev-ruby/rack-test/rack-test-0.6.2-r1.ebuild32
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-ruby/rack-test/ChangeLog b/dev-ruby/rack-test/ChangeLog
index fa2ebbceffbd..dd126ea65a67 100644
--- a/dev-ruby/rack-test/ChangeLog
+++ b/dev-ruby/rack-test/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/rack-test
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.28 2013/07/20 07:59:57 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.29 2013/11/21 07:31:14 graaff Exp $
+
+*rack-test-0.6.2-r1 (21 Nov 2013)
+
+ 21 Nov 2013; Hans de Graaff <graaff@gentoo.org> +rack-test-0.6.2-r1.ebuild:
+ EAPI=5. Add ruby20.
20 Jul 2013; Hans de Graaff <graaff@gentoo.org> -rack-test-0.6.1.ebuild:
Cleanup.
diff --git a/dev-ruby/rack-test/rack-test-0.6.2-r1.ebuild b/dev-ruby/rack-test/rack-test-0.6.2-r1.ebuild
new file mode 100644
index 000000000000..590ff38a6f52
--- /dev/null
+++ b/dev-ruby/rack-test/rack-test-0.6.2-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/rack-test-0.6.2-r1.ebuild,v 1.1 2013/11/21 07:31:14 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19 ruby20"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+inherit versionator ruby-fakegem
+
+DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps."
+HOMEPAGE="http://github.com/brynary/rack-test"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend '>=dev-ruby/rack-1.0'
+ruby_add_bdepend "
+ test? ( >=dev-ruby/sinatra-1.2.6 )"
+
+all_ruby_prepare() {
+ rm Gemfile* || die
+ sed -i -e '/bundler/d' spec/spec_helper.rb || die
+}