diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rack/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rack/rack-1.1.0.ebuild | 39 |
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-ruby/rack/ChangeLog b/dev-ruby/rack/ChangeLog index 3b3bab1a325f..d150019ba3f4 100644 --- a/dev-ruby/rack/ChangeLog +++ b/dev-ruby/rack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rack # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.22 2010/01/04 11:20:14 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.23 2010/01/04 18:53:22 flameeyes Exp $ + +*rack-1.1.0 (04 Jan 2010) + + 04 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> +rack-1.1.0.ebuild: + Version bump, tests needed tweaking for call. 04 Jan 2010; Christian Faulhammer <fauli@gentoo.org> rack-1.0.1-r1.ebuild: Transfer Prefix keywords diff --git a/dev-ruby/rack/rack-1.1.0.ebuild b/dev-ruby/rack/rack-1.1.0.ebuild new file mode 100644 index 000000000000..8c4ee793302c --- /dev/null +++ b/dev-ruby/rack/rack-1.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.1.0.ebuild,v 1.1 2010/01/04 18:53:22 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 ~ia64 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris" +IUSE="" + +# The gem has automagic dependencies over mongrel, ruby-openid, +# memcache-client, thin and camping; not sure if we should make them +# dependencies at all. +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|rackup)' \ + || die "test failed for ${RUBY}" +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rackup +} |