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/subexec/
Date: Sat, 03 Jul 2021 07:22:41
Message-Id: 1625296950.228520f514c20d0cd542815c5aac95148e1c6470.graaff@gentoo
1 commit: 228520f514c20d0cd542815c5aac95148e1c6470
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 3 06:29:58 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 3 07:22:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228520f5
7
8 dev-ruby/subexec: add ruby27, ruby30; EAPI 7
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/subexec/subexec-0.2.3-r2.ebuild | 34 ++++++++++++++++++++++++++++++++
14 1 file changed, 34 insertions(+)
15
16 diff --git a/dev-ruby/subexec/subexec-0.2.3-r2.ebuild b/dev-ruby/subexec/subexec-0.2.3-r2.ebuild
17 new file mode 100644
18 index 00000000000..f689733762b
19 --- /dev/null
20 +++ b/dev-ruby/subexec/subexec-0.2.3-r2.ebuild
21 @@ -0,0 +1,34 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +USE_RUBY="ruby25 ruby26 ruby27 ruby30"
28 +
29 +RUBY_FAKEGEM_TASK_DOC=""
30 +RUBY_FAKEGEM_EXTRADOC="README.md"
31 +
32 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
33 +
34 +RUBY_FAKEGEM_GEMSPEC="subexec.gemspec"
35 +
36 +inherit ruby-fakegem
37 +
38 +GITHUB_USER="nulayer"
39 +
40 +DESCRIPTION="Subexec spawns an external command with a timeout"
41 +HOMEPAGE="https://github.com/nulayer/subexec"
42 +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE=""
48 +
49 +ruby_add_bdepend "test? ( dev-ruby/shoulda )"
50 +
51 +all_ruby_prepare() {
52 + rm Gemfile* || die
53 + sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die
54 + sed -i -e '/begin/,/end/ s:^:#:' spec/spec_helper.rb || die
55 +}