1 |
commit: 849d7e680c5047eb9c0fa8f3630d9bea1db860fe |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 2 09:39:51 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 2 11:15:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=849d7e68 |
7 |
|
8 |
dev-ruby/thread_safe: add ruby30 |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild | 36 ++++++++++++++++++++++++ |
14 |
1 file changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild b/dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..180c2937a11 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/thread_safe/thread_safe-0.3.6-r1.ebuild |
21 |
@@ -0,0 +1,36 @@ |
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_EXTRADOC="README.md" |
30 |
+ |
31 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
32 |
+ |
33 |
+inherit ruby-fakegem |
34 |
+ |
35 |
+DESCRIPTION="A collection of thread-safe versions of common core Ruby classes" |
36 |
+HOMEPAGE="https://github.com/ruby-concurrency/thread_safe" |
37 |
+ |
38 |
+LICENSE="Apache-2.0" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
41 |
+IUSE="" |
42 |
+ |
43 |
+# Higher atomic dependency since earlier versions crash on ruby20 while |
44 |
+# running thread_safe tests. |
45 |
+ruby_add_bdepend "test? ( >=dev-ruby/atomic-1.1.16 )" |
46 |
+ |
47 |
+each_ruby_prepare() { |
48 |
+ sed -i -e "/[Bb]undler/d" Rakefile || die |
49 |
+ sed -i -e '/coveralls/I s:^:#:' \ |
50 |
+ -e '/simplecov/ s:^:#:' \ |
51 |
+ -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die |
52 |
+} |
53 |
+ |
54 |
+each_ruby_test() { |
55 |
+ einfo "The test suite may take up to 10 minutes to run without apparent feedback" |
56 |
+ each_fakegem_test |
57 |
+} |