1 |
commit: 6ee769104cc0a9c901ff45475b25eb42362071a0 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 11 05:02:07 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 11 05:02:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee76910 |
7 |
|
8 |
dev-ruby/parallel: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/parallel/Manifest | 2 -- |
14 |
dev-ruby/parallel/parallel-1.18.0.ebuild | 56 -------------------------------- |
15 |
dev-ruby/parallel/parallel-1.19.1.ebuild | 56 -------------------------------- |
16 |
3 files changed, 114 deletions(-) |
17 |
|
18 |
diff --git a/dev-ruby/parallel/Manifest b/dev-ruby/parallel/Manifest |
19 |
index aac1a2f90d2..fbc3836dad6 100644 |
20 |
--- a/dev-ruby/parallel/Manifest |
21 |
+++ b/dev-ruby/parallel/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST parallel-1.18.0.tar.gz 21095 BLAKE2B d47286c719810699cd5098b9d28e4e00cec2a7a27141a2dd932023f9fdeaac389f2be9aa8196820ad3d28d26c141f41565ad363fdca9bbca75e18a8d9d7fa4b5 SHA512 2869a8b82da2b1f2595be04616afa5bce62eac3833d743304dc4371db63be7645437c009c202d4690fe5dc221766e2a0f25790335d7a25b355c3f3b8034f8319 |
24 |
-DIST parallel-1.19.1.tar.gz 21383 BLAKE2B 4ebcf58d91e9b0a8ff2b12654e967d153deec21fcfa0ac0e974db421a47abfbca78b67bd22a64b1ce1e66d53920b2d00f91c271cccd94cc9f16b88f87f613985 SHA512 bf9c19d181c26fb54c9962cf867955e59e61134eb2e1d2ad4f09675979ffc17ab2db8954d057929baa2e780e2b01cccf0c8d27661b61ab89c988b161666df9fa |
25 |
DIST parallel-1.19.2.tar.gz 21752 BLAKE2B aac6564ad95d8e366ad079854f22e7dcb149643db5792ee81c84c8c765185e367dedd0e635d2373aeefcd84997da89f9f9f4f6c398e753af4a1ddbf90e428dd0 SHA512 192ce4dc18ecb47522360d0d7022a9e20d72e90ad09889f1b7f29c20c74c980319956f316a35aad0fc7efcd8aac5a635da69eebcf78ba34659365df20e402c3c |
26 |
|
27 |
diff --git a/dev-ruby/parallel/parallel-1.18.0.ebuild b/dev-ruby/parallel/parallel-1.18.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index c7ad1888fe5..00000000000 |
30 |
--- a/dev-ruby/parallel/parallel-1.18.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,56 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-USE_RUBY="ruby24 ruby25 ruby26" |
39 |
- |
40 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
41 |
- |
42 |
-RUBY_FAKEGEM_EXTRAINSTALL="Readme.md" |
43 |
- |
44 |
-RUBY_FAKEGEM_GEMSPEC="parallel.gemspec" |
45 |
- |
46 |
-inherit ruby-fakegem |
47 |
- |
48 |
-DESCRIPTION="Run any code in parallel Processes or Threads" |
49 |
-HOMEPAGE="https://github.com/grosser/parallel" |
50 |
-LICENSE="MIT" |
51 |
-SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
52 |
- |
53 |
-KEYWORDS="~amd64" |
54 |
-SLOT="1" |
55 |
-IUSE="test" |
56 |
- |
57 |
-DEPEND+="test? ( sys-process/lsof )" |
58 |
- |
59 |
-ruby_add_bdepend " |
60 |
- test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:5.2 dev-ruby/sqlite3 )" |
61 |
- |
62 |
-each_ruby_prepare() { |
63 |
- # Make sure the correct ruby is used for testing |
64 |
- sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die |
65 |
-} |
66 |
- |
67 |
-all_ruby_prepare() { |
68 |
- sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die |
69 |
- sed -i -e '/bundler/ s:^:#:' \ |
70 |
- -e '1i require "tempfile"; gem "activerecord", "~>5.2.0"' spec/cases/helper.rb || die |
71 |
- sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die |
72 |
- |
73 |
- # Avoid a failing spec regarding to pipes. The spec seems like it |
74 |
- # should always fail. |
75 |
- sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \ |
76 |
- -i spec/parallel_spec.rb || die |
77 |
- |
78 |
- # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then. |
79 |
- sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die |
80 |
- |
81 |
- # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything |
82 |
- sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die |
83 |
-} |
84 |
- |
85 |
-each_ruby_test() { |
86 |
- # Set RUBYLIB explicitly for the ruby's that get started from the specs. |
87 |
- TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die |
88 |
-} |
89 |
|
90 |
diff --git a/dev-ruby/parallel/parallel-1.19.1.ebuild b/dev-ruby/parallel/parallel-1.19.1.ebuild |
91 |
deleted file mode 100644 |
92 |
index d7f24487590..00000000000 |
93 |
--- a/dev-ruby/parallel/parallel-1.19.1.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,56 +0,0 @@ |
96 |
-# Copyright 1999-2020 Gentoo Authors |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
- |
99 |
-EAPI=7 |
100 |
- |
101 |
-USE_RUBY="ruby24 ruby25 ruby26" |
102 |
- |
103 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
104 |
- |
105 |
-RUBY_FAKEGEM_EXTRAINSTALL="Readme.md" |
106 |
- |
107 |
-RUBY_FAKEGEM_GEMSPEC="parallel.gemspec" |
108 |
- |
109 |
-inherit ruby-fakegem |
110 |
- |
111 |
-DESCRIPTION="Run any code in parallel Processes or Threads" |
112 |
-HOMEPAGE="https://github.com/grosser/parallel" |
113 |
-LICENSE="MIT" |
114 |
-SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
115 |
- |
116 |
-KEYWORDS="~amd64" |
117 |
-SLOT="1" |
118 |
-IUSE="test" |
119 |
- |
120 |
-DEPEND+="test? ( sys-process/lsof sys-process/procps )" |
121 |
- |
122 |
-ruby_add_bdepend " |
123 |
- test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:5.2 dev-ruby/sqlite3 )" |
124 |
- |
125 |
-each_ruby_prepare() { |
126 |
- # Make sure the correct ruby is used for testing |
127 |
- sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die |
128 |
-} |
129 |
- |
130 |
-all_ruby_prepare() { |
131 |
- sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die |
132 |
- sed -i -e '/bundler/ s:^:#:' \ |
133 |
- -e '1i require "tempfile"; gem "activerecord", "~>5.2.0"' spec/cases/helper.rb || die |
134 |
- sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die |
135 |
- |
136 |
- # Avoid a failing spec regarding to pipes. The spec seems like it |
137 |
- # should always fail. |
138 |
- sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \ |
139 |
- -i spec/parallel_spec.rb || die |
140 |
- |
141 |
- # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then. |
142 |
- sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die |
143 |
- |
144 |
- # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything |
145 |
- sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die |
146 |
-} |
147 |
- |
148 |
-each_ruby_test() { |
149 |
- # Set RUBYLIB explicitly for the ruby's that get started from the specs. |
150 |
- TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die |
151 |
-} |