/[gentoo-x86]/dev-ruby/fakeweb/fakeweb-1.3.0.ebuild
Gentoo

Contents of /dev-ruby/fakeweb/fakeweb-1.3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Jan 15 07:10:38 2013 UTC (20 months, 1 week ago) by zerochaos
Branch: MAIN
Changes since 1.5: +3 -3 lines
adding ~arm keywords to net-analyzer/metasploit rdeps

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/fakeweb/fakeweb-1.3.0.ebuild,v 1.5 2012/05/01 18:24:11 armin76 Exp $
4
5 EAPI=2
6
7 USE_RUBY="ruby18 ree18 ruby19 jruby"
8
9 RUBY_FAKEGEM_DOCDIR="html"
10 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
11
12 inherit ruby-fakegem
13
14 DESCRIPTION="Helper for faking web requests in Ruby"
15 HOMEPAGE="http://github.com/chrisk/fakeweb"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
20 IUSE=""
21
22 ruby_add_bdepend "
23 test? (
24 >=dev-ruby/mocha-0.9.5
25 virtual/ruby-test-unit
26 dev-ruby/samuel
27 dev-ruby/right_http_connection
28 )"
29
30 all_ruby_prepare() {
31 # The package bundles samuel and right_http_connection, remove
32 # them and use the packages instead.
33 rm -r test/vendor || die "failed to remove bundled gems"
34
35 # We don't package sdoc and we don't have the direct template.
36 sed -i -e 's/sdoc/rdoc/' -e '/template/d' Rakefile || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20