/[gentoo-x86]/dev-ruby/cocaine/cocaine-0.2.1.ebuild
Gentoo

Contents of /dev-ruby/cocaine/cocaine-0.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Oct 6 06:29:39 2012 UTC (7 months, 2 weeks ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -1 lines
Version bump. Drop ree18 since it no longer passes the tests and will be removed shortly anyway.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/cocaine-0.2.1.ebuild,v 1.2 2012/08/14 03:18:10 flameeyes Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 ree18 jruby"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_EXTRADOC="README.md"
10
11 RUBY_FAKEGEM_RECIPE_TEST="rspec"
12
13 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
14
15 inherit ruby-fakegem
16
17 DESCRIPTION="A small library for doing command lines"
18 HOMEPAGE="http://www.thoughtbot.com/projects/cocaine"
19
20 LICENSE="MIT"
21 SLOT="0"
22 KEYWORDS="~amd64"
23 IUSE=""
24
25 ruby_add_bdepend "
26 test? (
27 dev-ruby/bourne
28 dev-ruby/mocha
29 )"
30
31 all_ruby_prepare() {
32 sed -i \
33 -e '/git ls-files/d' \
34 -e '/dependency.*mocha/s:= 0.10.4:~> 0.10.3:' \
35 "${RUBY_FAKEGEM_GEMSPEC}" || die
36
37 rm Gemfile* || die
38
39 sed -i -e '/bundler/d' Rakefile || die
40 }

  ViewVC Help
Powered by ViewVC 1.1.13