diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-05-26 05:29:26 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-05-26 05:29:26 +0000 |
commit | d4254422c97c34d350d01bafb3f7af171a12fc31 (patch) | |
tree | 9bdd497cbbbe2fe377f27eda60620b20ff4fe0c2 /dev-ruby/rack | |
parent | version bump (diff) | |
download | gentoo-2-d4254422c97c34d350d01bafb3f7af171a12fc31.tar.gz gentoo-2-d4254422c97c34d350d01bafb3f7af171a12fc31.tar.bz2 gentoo-2-d4254422c97c34d350d01bafb3f7af171a12fc31.zip |
Version bump.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rack')
-rw-r--r-- | dev-ruby/rack/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rack/rack-1.2.3.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/rack/ChangeLog b/dev-ruby/rack/ChangeLog index b4a77c58600f..965c77c2c088 100644 --- a/dev-ruby/rack/ChangeLog +++ b/dev-ruby/rack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rack # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.44 2011/05/24 13:32:57 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.45 2011/05/26 05:29:26 graaff Exp $ + +*rack-1.2.3 (26 May 2011) + + 26 May 2011; Hans de Graaff <graaff@gentoo.org> +rack-1.2.3.ebuild: + Version bump. 24 May 2011; Markos Chandras <hwoarang@gentoo.org> rack-1.0.1-r2.ebuild: Stable on amd64 wrt bug #367469 diff --git a/dev-ruby/rack/rack-1.2.3.ebuild b/dev-ruby/rack/rack-1.2.3.ebuild new file mode 100644 index 000000000000..f1eb37565cfd --- /dev/null +++ b/dev-ruby/rack/rack-1.2.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.2.3.ebuild,v 1.1 2011/05/26 05:29:26 graaff Exp $ + +EAPI="2" +USE_RUBY="ruby18 ree18 ruby19 jruby" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README SPEC" + +inherit ruby-fakegem eutils versionator + +DESCRIPTION="A modular Ruby webserver interface" +HOMEPAGE="http://rubyforge.org/projects/rack" +SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin, mongrel and camping; not sure if we should +# make them dependencies at all. We do add the fcgi dependency because +# that spec isn't optional. +ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/ruby-fcgi )" + +# Block against versions in older slots that also try to install a binary. +RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.0-r1:0" + +#USE_RUBY=ruby19 \ +# ruby_add_bdepend "ruby_targets_ruby19 test" '=dev-ruby/test-unit-1*' + +all_ruby_prepare() { + epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch +} + +each_ruby_test() { + # 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. + ${RUBY} -S bacon -Ilib -w -a \ + -q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|rackup)' \ + || die "test failed for ${RUBY}" +} |