summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-20 22:42:15 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-20 22:42:15 +0000
commite20b089a779d9ec7e0bbaacba43d0dcbb0955c4f (patch)
tree47d9df3b38d2a63e516462360f5d34d97d79cef6
parentVersion bump to 0.8. (diff)
downloadgentoo-2-e20b089a779d9ec7e0bbaacba43d0dcbb0955c4f.tar.gz
gentoo-2-e20b089a779d9ec7e0bbaacba43d0dcbb0955c4f.tar.bz2
gentoo-2-e20b089a779d9ec7e0bbaacba43d0dcbb0955c4f.zip
Bump to use fakegem; this only supports 1.8 because 1.9 has broken test dependencies.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
-rw-r--r--dev-ruby/rack/ChangeLog9
-rw-r--r--dev-ruby/rack/rack-1.0.1-r1.ebuild36
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ruby/rack/ChangeLog b/dev-ruby/rack/ChangeLog
index 23a0a135cd81..ece34ad5054f 100644
--- a/dev-ruby/rack/ChangeLog
+++ b/dev-ruby/rack/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/rack
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.18 2009/12/19 14:20:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.19 2009/12/20 22:42:15 flameeyes Exp $
+
+*rack-1.0.1-r1 (20 Dec 2009)
+
+ 20 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +rack-1.0.1-r1.ebuild:
+ Bump to use fakegem; this only supports 1.8 because 1.9 has broken test
+ dependencies.
19 Dec 2009; Jeroen Roovers <jer@gentoo.org> rack-1.0.1.ebuild:
Stable for PPC (bug #294797).
diff --git a/dev-ruby/rack/rack-1.0.1-r1.ebuild b/dev-ruby/rack/rack-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..e09df25ce598
--- /dev/null
+++ b/dev-ruby/rack/rack-1.0.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild,v 1.1 2009/12/20 22:42:15 flameeyes Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A modular Ruby webserver interface"
+HOMEPAGE="http://rubyforge.org/projects/rack"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# The gem has automagic dependencies over ruby-openid,
+# memcache-client, thin and camping.
+ruby_add_bdepend test dev-ruby/test-spec
+
+# Since the Rakefile calls specrb directly rather than loading it, we
+# cannot use it to launch the tests or only the currently-selected
+# RUBY interpreter will be tested.
+each_ruby_test() {
+ ${RUBY} -S specrb -Ilib:test -w -a -t "^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Auth::OpenID)" \
+ || die "test failed for ${RUBY}"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ ruby_fakegem_binwrapper rackup
+}