Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/childprocess/
Date: Thu, 01 Sep 2016 19:50:01
Message-Id: 1472759374.092dbb67d0c499084418e04a7c66c8b5106fffe4.graaff@gentoo
1 commit: 092dbb67d0c499084418e04a7c66c8b5106fffe4
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 1 18:36:40 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 19:49:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092dbb67
7
8 dev-ruby/childprocess: add ruby23 revision
9
10 Package-Manager: portage-2.2.28
11
12 dev-ruby/childprocess/childprocess-0.5.9-r1.ebuild | 35 ++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-ruby/childprocess/childprocess-0.5.9-r1.ebuild b/dev-ruby/childprocess/childprocess-0.5.9-r1.ebuild
16 new file mode 100644
17 index 00000000..456c2d1
18 --- /dev/null
19 +++ b/dev-ruby/childprocess/childprocess-0.5.9-r1.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +USE_RUBY="ruby20 ruby21 ruby22 ruby23"
27 +
28 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
29 +
30 +RUBY_FAKEGEM_TASK_DOC="yard"
31 +RUBY_FAKEGEM_EXTRADOC="README.md"
32 +
33 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
34 +
35 +inherit ruby-fakegem
36 +
37 +DESCRIPTION="Solution for controlling external programs running in the background"
38 +HOMEPAGE="https://github.com/jarib/childprocess"
39 +
40 +LICENSE="MIT"
41 +SLOT="2"
42 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64"
43 +IUSE=""
44 +
45 +ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/rspec:3 )"
46 +
47 +ruby_add_rdepend ">=dev-ruby/ffi-1.0.11"
48 +
49 +all_ruby_prepare() {
50 + # Remove bundler support
51 + rm Gemfile || die
52 + sed -i -e "/[Bb]undler/d" Rakefile || die
53 + sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die
54 + sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
55 +}