1 |
commit: fa07bd02b94ba2753ba1e7a6637ab3669d6c1e01 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 26 07:24:50 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 26 07:48:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa07bd02 |
7 |
|
8 |
dev-ruby/parallel: cleanup |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/parallel/Manifest | 1 - |
13 |
dev-ruby/parallel/parallel-1.20.1.ebuild | 56 -------------------------------- |
14 |
2 files changed, 57 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/parallel/Manifest b/dev-ruby/parallel/Manifest |
17 |
index 6c76511e1265..cbcdfa9e339b 100644 |
18 |
--- a/dev-ruby/parallel/Manifest |
19 |
+++ b/dev-ruby/parallel/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST parallel-1.20.1.tar.gz 20807 BLAKE2B 71f0894126837d71cdc3bf1ca7d4040d53dd88e0c917f29d3ebc940c1ff16bde42631aff50df455729a2a33df3e96de5dda5c9913d9ff4b1cde90ef1702883fa SHA512 cd0f6ad673fe432d48de77adc177181d48bcbf43e4c2a9f86b579bc1f7a9f520730ce68be010e6645b87c8ff755c83ccaf53ffd73631b0f239beb9e124b4d527 |
22 |
DIST parallel-1.21.0.tar.gz 21772 BLAKE2B 307d097629faf5c1967c0f189dc9703df481c763736242856c594dd99975193d81331654580ecce97b675591f8d9c543a2ccc769966d91ceb1ded7c3ec949ac9 SHA512 cd0bce1abe2cd53015fee7f8080e05bbcd80798fe0a6fa0e120776018a382260bd070d1a14085ef3e6d7fb16a79c6a05f438d4f8b228cce7461efe5a1395b530 |
23 |
DIST parallel-1.22.0.tar.gz 23294 BLAKE2B 99bc41f132083402fe6ba9666d89941ce7672463c80676b8b558ce8a6915e996a1ec1d86476ab645796db79a63160677405c525c0696306dda270a54db1c8010 SHA512 2b993890234337e8eb1b22882423c8b2d73bfe7be386a7d2c9cf4f45620f3295f7c70b630b1607995e913d2307c043db658edb41b5c95f334f64bbd178cccf20 |
24 |
|
25 |
diff --git a/dev-ruby/parallel/parallel-1.20.1.ebuild b/dev-ruby/parallel/parallel-1.20.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index e49b4e4213b2..000000000000 |
28 |
--- a/dev-ruby/parallel/parallel-1.20.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,56 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-USE_RUBY="ruby25 ruby26 ruby27" |
37 |
- |
38 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
39 |
- |
40 |
-RUBY_FAKEGEM_EXTRAINSTALL="Readme.md" |
41 |
- |
42 |
-RUBY_FAKEGEM_GEMSPEC="parallel.gemspec" |
43 |
- |
44 |
-inherit ruby-fakegem |
45 |
- |
46 |
-DESCRIPTION="Run any code in parallel Processes or Threads" |
47 |
-HOMEPAGE="https://github.com/grosser/parallel" |
48 |
-LICENSE="MIT" |
49 |
-SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
- |
51 |
-KEYWORDS="~amd64" |
52 |
-SLOT="1" |
53 |
-IUSE="test" |
54 |
- |
55 |
-DEPEND+="test? ( sys-process/lsof sys-process/procps )" |
56 |
- |
57 |
-ruby_add_bdepend " |
58 |
- test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:6.0 dev-ruby/sqlite3 )" |
59 |
- |
60 |
-each_ruby_prepare() { |
61 |
- # Make sure the correct ruby is used for testing |
62 |
- sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die |
63 |
-} |
64 |
- |
65 |
-all_ruby_prepare() { |
66 |
- sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die |
67 |
- sed -i -e '/bundler/ s:^:#:' \ |
68 |
- -e '1i require "tempfile"; gem "activerecord", "~>6.0.0"' spec/cases/helper.rb || die |
69 |
- sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die |
70 |
- |
71 |
- # Avoid a failing spec regarding to pipes. The spec seems like it |
72 |
- # should always fail. |
73 |
- sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \ |
74 |
- -i spec/parallel_spec.rb || die |
75 |
- |
76 |
- # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then. |
77 |
- sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die |
78 |
- |
79 |
- # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything |
80 |
- sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die |
81 |
-} |
82 |
- |
83 |
-each_ruby_test() { |
84 |
- # Set RUBYLIB explicitly for the ruby's that get started from the specs. |
85 |
- TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die |
86 |
-} |