1 |
commit: 44114902153aa9af84500e3dacebb830369657f5 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 24 10:57:03 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 24 12:46:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44114902 |
7 |
|
8 |
dev-ruby/childlabor: EAPI 8 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild | 37 ++++++++++++++++++++++++++ |
14 |
1 file changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..1f85f3021ea9 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild |
21 |
@@ -0,0 +1,37 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+USE_RUBY="ruby26 ruby27" |
27 |
+ |
28 |
+RUBY_FAKEGEM_TASK_DOC="" |
29 |
+RUBY_FAKEGEM_TASK_TEST="" |
30 |
+RUBY_FAKEGEM_DOCDIR="" |
31 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
32 |
+RUBY_FAKEGEM_GEMSPEC="childlabor.gemspec" |
33 |
+ |
34 |
+inherit ruby-fakegem |
35 |
+ |
36 |
+DESCRIPTION="A scripting framework that replaces rake and sake" |
37 |
+HOMEPAGE="https://github.com/carllerche/childlabor" |
38 |
+COMMIT_ID="6518b939dddbad20c7f05aa075d76e3ca6e70447" |
39 |
+SRC_URI="https://github.com/carllerche/childlabor/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
44 |
+IUSE="test" |
45 |
+ |
46 |
+RUBY_S="${PN}-${COMMIT_ID}" |
47 |
+ |
48 |
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" |
49 |
+ |
50 |
+all_ruby_prepare() { |
51 |
+ # Avoid failing spec. The signals work, but the stdout handling |
52 |
+ # doesn't seem to play nice with portage. |
53 |
+ sed -i -e '/can send signals/,/^ end/ s:^:#:' spec/task_spec.rb || die |
54 |
+} |
55 |
+ |
56 |
+each_ruby_test() { |
57 |
+ ruby-ng_rspec -I. spec/task_spec.rb || die |
58 |
+} |