1 |
commit: 7b3cd14ab7d3ccae08aa43e8a53be0227635ccf9 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 18 09:14:36 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 18 09:17:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3cd14a |
7 |
|
8 |
dev-ruby/concurrent-ruby: add 1.1.9 |
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/concurrent-ruby/Manifest | 1 + |
14 |
.../concurrent-ruby/concurrent-ruby-1.1.9.ebuild | 38 ++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest |
18 |
index f6efb1e0809..399cdbb6df9 100644 |
19 |
--- a/dev-ruby/concurrent-ruby/Manifest |
20 |
+++ b/dev-ruby/concurrent-ruby/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST concurrent-ruby-1.0.5.tar.gz 1307802 BLAKE2B 2eee2afdd33e2609608e9389847de380eb895c2193746b1190ea96ca8bb67eaccd8d141bc2071006afbd971f078e5b6452d1e62624892c0fce2c12b8ac9fa28b SHA512 fdf7324b56bb37b4a79dc89882354e452ee838a097f522fb906c20a06856303cfbbae16f2500255cbfb4bba33ee1b3b3ee8facf3d0156e976add64209e349da6 |
23 |
DIST concurrent-ruby-1.1.7.tar.gz 4370284 BLAKE2B ea9120fa6c0c58d758c71d54a7a1371a2a94987141343be92e5d8150167d774b513003bc945b7a54dbae8ef1f15b371f6ec28e6e84828d653fdad5b6b58c63e1 SHA512 2af2f1236850666ef56f6024db3b094051de88bb0495b902f5be9471ded733e998b2845aacba2ff8b166d5097fccd597203502ce58766017cb67c529c2840d29 |
24 |
DIST concurrent-ruby-1.1.8.tar.gz 4921836 BLAKE2B 1a58be0790af7708c58f6542b9bcf09b4f853bd180412f44cc6d18f2c058647384f2bc03f9828664c289eeabfd0721c866a143da4e4b4650d11058a2de7fdb16 SHA512 79b326721107abb972124d5e2cac32a348475d8408079747cca6a624df790c3662a8a460a9d1f0d6aceb4b4dc04fadcdc94777b58cec73d82350b3464f70b679 |
25 |
+DIST concurrent-ruby-1.1.9.tar.gz 4923746 BLAKE2B 2bfea989db31f17c69ee479091135516e2aeef7ac74234ccea91b2e4b3626395683a7b2ebba1d13cb527903d3d83c51e873bdb859f0ff1983062fea4fa90a1e4 SHA512 243fc20795bcd7399bdf77a9b0db9b0bccb1b05edacf4fbc8f5515f59502300b4033a2a59bfb6adea9befdb20759c9f58bbf0e7744e934c85738085bef714ea6 |
26 |
|
27 |
diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.9.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.9.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0b5dc7e3e60 |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.9.ebuild |
32 |
@@ -0,0 +1,38 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+USE_RUBY="ruby26 ruby27 ruby30" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
40 |
+ |
41 |
+RUBY_FAKEGEM_RECIPE_DOC="" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem |
46 |
+ |
47 |
+DESCRIPTION="Modern concurrency tools including agents, futures, promises, thread pools, more" |
48 |
+HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby" |
49 |
+SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="1" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+IUSE="" |
55 |
+ |
56 |
+ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.7.4 )" |
57 |
+ |
58 |
+all_ruby_prepare() { |
59 |
+ # Remove edge files as defined in support/file_map.rb |
60 |
+ rm -rf spec/concurrent/{actor,cancellation,channel,edge,lazy_register,promises,throttle}* || die |
61 |
+ rm -r spec/concurrent/executor/wrapping_executor_spec.rb || die |
62 |
+ sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die |
63 |
+ sed -i -e 's:lib-edge:lib/concurrent-ruby:' .rspec || die |
64 |
+ sed -i -e 's:../../../::' spec/concurrent/executor/executor_quits.rb || die |
65 |
+ |
66 |
+ # Remove specs for the ext gem |
67 |
+ rm -rf spec/concurrent/atomic || die |
68 |
+ |
69 |
+ sed -i 's/git ls-files/find . -print/' ${RUBY_FAKEGEM_GEMSPEC} || die |
70 |
+} |