/[gentoo-x86]/dev-ruby/rack/rack-1.6.2.ebuild
Gentoo

Contents of /dev-ruby/rack/rack-1.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 16 19:59:15 2015 UTC (3 years, 1 month ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Version bump for security bug 552324.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.6.1.ebuild,v 1.1 2015/05/07 05:55:49 graaff Exp $
4
5 EAPI=5
6 USE_RUBY="ruby19 ruby20 ruby21 ruby22"
7
8 RUBY_FAKEGEM_DOCDIR="doc"
9 RUBY_FAKEGEM_EXTRADOC="HISTORY.md KNOWN-ISSUES README.rdoc SPEC"
10
11 inherit ruby-fakegem eutils versionator
12
13 DESCRIPTION="A modular Ruby webserver interface"
14 HOMEPAGE="http://rack.github.com/"
15
16 LICENSE="MIT"
17 SLOT="$(get_version_component_range 1-2)"
18 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19 IUSE=""
20
21 RUBY_PATCHES=( ${PN}-1.2.1-gentoo.patch )
22
23 ruby_add_rdepend "virtual/ruby-ssl"
24
25 # The gem has automagic dependencies over mongrel, ruby-openid,
26 # memcache-client, thin, mongrel and camping; not sure if we should
27 # make them dependencies at all.
28 ruby_add_bdepend "test? ( dev-ruby/bacon )"
29
30 # Block against versions in older slots that also try to install a binary.
31 RDEPEND="${RDEPEND} !<dev-ruby/rack-1.4.5-r1:1.4 !<dev-ruby/rack-1.5.2-r4:1.5"
32
33 all_ruby_prepare() {
34 # The build system tries to generate the ChangeLog from git. Create
35 # an empty file to avoid a needless dependency on git.
36 touch ChangeLog || die
37 }
38
39 each_ruby_test() {
40 # Since the Rakefile calls specrb directly rather than loading it, we
41 # cannot use it to launch the tests or only the currently-selected
42 # RUBY interpreter will be tested.
43 ${RUBY} -S bacon -Ilib -w -a \
44 -q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
45 || die "test failed for ${RUBY}"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20