summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-10-03 09:46:57 +0000
committerHans de Graaff <graaff@gentoo.org>2010-10-03 09:46:57 +0000
commit1599bc507c8c431424c4b3512d98232041dea7f3 (patch)
tree75c2ecd2598a84b76b013b59c8609fd9969f39b0 /dev-ruby/rack-test
parentAdd ree18 support. (diff)
downloadgentoo-2-1599bc507c8c431424c4b3512d98232041dea7f3.tar.gz
gentoo-2-1599bc507c8c431424c4b3512d98232041dea7f3.tar.bz2
gentoo-2-1599bc507c8c431424c4b3512d98232041dea7f3.zip
Version bump. Add ree18 support.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
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.5.6.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/dev-ruby/rack-test/ChangeLog b/dev-ruby/rack-test/ChangeLog
index e3b912c996c9..babde50a9702 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.5 2010/06/05 05:44:31 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack-test/ChangeLog,v 1.6 2010/10/03 09:46:57 graaff Exp $
+
+*rack-test-0.5.6 (03 Oct 2010)
+
+ 03 Oct 2010; Hans de Graaff <graaff@gentoo.org> +rack-test-0.5.6.ebuild:
+ Version bump. Add ree18 support.
*rack-test-0.5.4 (05 Jun 2010)
diff --git a/dev-ruby/rack-test/rack-test-0.5.6.ebuild b/dev-ruby/rack-test/rack-test-0.5.6.ebuild
new file mode 100644
index 000000000000..878e8c64a8de
--- /dev/null
+++ b/dev-ruby/rack-test/rack-test-0.5.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 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.5.6.ebuild,v 1.1 2010/10/03 09:46:57 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps."
+HOMEPAGE="http://github.com/brynary/rack-test"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend '>=dev-ruby/rack-1.0'
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/sinatra )"
+
+all_ruby_prepare() {
+ # The specs don't explicitly need 1.0.0 but also pass with 1.1.
+ sed -i -e 's/~> 1.0.0/> 1.0.0/' spec/spec_helper.rb || die
+
+ # Remove Bundler related code.
+ rm Gemfile Gemfile.lock || die "Unable to clean unneeded Bundler items."
+}