summaryrefslogtreecommitdiff
path: root/dev-ruby/parallel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
commitdc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch)
treec85d72f6f31f21f178069c9d41d41a7c1ff4b362 /dev-ruby/parallel
parent0706fc6986773f4e4d391deff4ad5143c464ea4e (diff)
gentoo resync : 05.04.2019
Diffstat (limited to 'dev-ruby/parallel')
-rw-r--r--dev-ruby/parallel/Manifest4
-rw-r--r--dev-ruby/parallel/parallel-1.15.0.ebuild55
-rw-r--r--dev-ruby/parallel/parallel-1.16.2.ebuild55
3 files changed, 114 insertions, 0 deletions
diff --git a/dev-ruby/parallel/Manifest b/dev-ruby/parallel/Manifest
index b7eff74a36b8..a61ce6c43bd6 100644
--- a/dev-ruby/parallel/Manifest
+++ b/dev-ruby/parallel/Manifest
@@ -1,7 +1,11 @@
DIST parallel-1.12.1.tar.gz 20499 BLAKE2B f0fa25b9fe65e44804854f703dd2d80e53572e64c2072c418d0462922bd04f89cff0e023caf4293d8a1504ad66a2a29ebbdd01920fc6fe400837859da0f0eb78 SHA512 f0ab332dfa60bb3190bba8275dbdf7b54d3de205ab76099d11f0a64e1fc28e1ba7e72d1a242bd615015c2d09a3f08df01c382869fd6990b854b01fe182245857
DIST parallel-1.13.0.tar.gz 20771 BLAKE2B ca0070492d7e15800bab751c8c1e8b0f88e89310f8455a3e6197a6b572efc1c691d9584eac7d199caa66a4b32eb49f4e7f4bdcae59c5c08f9c61ab3d60fc469f SHA512 7fec6eb3ee6ae06390f1a444a24ec3350e0562772d9ce654f126875b36e6cab42703f85978a08889e3a25c4f1d8a95d8a67c78b3ab9ac75c7ca6e198311f797d
DIST parallel-1.14.0.tar.gz 20361 BLAKE2B 55d7d58f6036485fc513bd6fd784bd6d6e8a8fd96b4ab892849c4a47afda5fd6f71f8560c4db23e20c1c6de85c7606f48edbb440aa386a10963737c099444d58 SHA512 fe6d526eeabb07a86523118be232b31a7d0d8de38a70927e6741a112538c29a239cdc4490355fcc09740ca9620a1c2aea43498e33ee38e617f4ac64b8320ed9f
+DIST parallel-1.15.0.tar.gz 20420 BLAKE2B 9eecba1a6ecda4a07a18cce8c04c9777c0dfe9197d0c91b3abd9f8f5e66c47943727671ed4f39b6169e00f945d5bcd4ed182d0f9fdd0ae196d76316bf7789c69 SHA512 1acc2d3585d89f6fe64f70b0eec96ca6838477d64fe5be827479dc3178a9cce33ef3309aa7fb09669c811a95f6251a112455c2c9096e108783d955f75fe523e6
+DIST parallel-1.16.2.tar.gz 20853 BLAKE2B 4d30dd43f854ca9c3a6b739a36f250374a527d00c12e1221e5cb5a9da06fda66b0fadaaf7b9b5f5ac69549e9b1c75eb8f1c17a4bcd160ba15086013884176c07 SHA512 0d3cd59527ab1ff9da995f71cf2c04d6eec5276d5dcbab8b62844e18c3cf83de9b288c0f184d26dcf2897539bba2a6ac58fd0efb02952cc7999f411c3efb5b33
EBUILD parallel-1.12.1.ebuild 1704 BLAKE2B aa611882ab0f456cb396e5fb9ed4f343dd305d0ac863931fff605a095ac4d906b9dce2e82abdad675809bfb2b3247e0b217dfbe7aa7491d0ce091805d19e6da5 SHA512 e83fdf5fcf0f5fdf80d3e8e8aace77935171e17ab0a315d8eab5c0e2c383cc0ed026d528450f93529862c38968aa19218239441f9a4e990336ed647c53d5c865
EBUILD parallel-1.13.0.ebuild 1701 BLAKE2B 543afcf803c82fc477a15a49e3c50d9c192ee437a24bb4df929914685aa4e46fcdc98ddd6e410e593d0b02b7990e8db84129f9aa31b3cd7d43a9bf6b031dc725 SHA512 059b81a8640369e1912595c0b6077698117c60a671d95a0a50d3b2dbba0906d9ad88ba44f098fc254f10b452642fc5dbc4c313836ff272c4e31ad051268fc999
EBUILD parallel-1.14.0.ebuild 1701 BLAKE2B 543afcf803c82fc477a15a49e3c50d9c192ee437a24bb4df929914685aa4e46fcdc98ddd6e410e593d0b02b7990e8db84129f9aa31b3cd7d43a9bf6b031dc725 SHA512 059b81a8640369e1912595c0b6077698117c60a671d95a0a50d3b2dbba0906d9ad88ba44f098fc254f10b452642fc5dbc4c313836ff272c4e31ad051268fc999
+EBUILD parallel-1.15.0.ebuild 1701 BLAKE2B 543afcf803c82fc477a15a49e3c50d9c192ee437a24bb4df929914685aa4e46fcdc98ddd6e410e593d0b02b7990e8db84129f9aa31b3cd7d43a9bf6b031dc725 SHA512 059b81a8640369e1912595c0b6077698117c60a671d95a0a50d3b2dbba0906d9ad88ba44f098fc254f10b452642fc5dbc4c313836ff272c4e31ad051268fc999
+EBUILD parallel-1.16.2.ebuild 1701 BLAKE2B 543afcf803c82fc477a15a49e3c50d9c192ee437a24bb4df929914685aa4e46fcdc98ddd6e410e593d0b02b7990e8db84129f9aa31b3cd7d43a9bf6b031dc725 SHA512 059b81a8640369e1912595c0b6077698117c60a671d95a0a50d3b2dbba0906d9ad88ba44f098fc254f10b452642fc5dbc4c313836ff272c4e31ad051268fc999
MISC metadata.xml 342 BLAKE2B 0860273d70423cb92207369335e1f684ea623e1217d7aaf4d016d9aff9c02b0b8dc9af3654b523f77cbd8d92f7043887a97ff87abb79d3c65b66b0e6b40082fb SHA512 805eaecfea071b1d632ade7da42ed63717d2f829c4c99e29a4600b26a81e87c4032d7ee441b865d86f37faa13f455c9f2888dc8099178cf6211ae13d3e3e1835
diff --git a/dev-ruby/parallel/parallel-1.15.0.ebuild b/dev-ruby/parallel/parallel-1.15.0.ebuild
new file mode 100644
index 000000000000..471513dfe1f1
--- /dev/null
+++ b/dev-ruby/parallel/parallel-1.15.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="Readme.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Run any code in parallel Processes or Threads"
+HOMEPAGE="https://github.com/grosser/parallel"
+LICENSE="MIT"
+SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
+SLOT="1"
+IUSE="test"
+
+DEPEND+="test? ( sys-process/lsof )"
+
+ruby_add_bdepend "
+ test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:5.2 dev-ruby/sqlite3 )"
+
+each_ruby_prepare() {
+ # Make sure the correct ruby is used for testing
+ sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die
+}
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' \
+ -e '1i require "tempfile"; gem "activerecord", "~>5.2.0"' spec/cases/helper.rb || die
+ sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die
+
+ # Avoid a failing spec regarding to pipes. The spec seems like it
+ # should always fail.
+ sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \
+ -i spec/parallel_spec.rb || die
+
+ # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then.
+ sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die
+
+ # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything
+ sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die
+}
+
+each_ruby_test() {
+ # Set RUBYLIB explicitly for the ruby's that get started from the specs.
+ TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die
+}
diff --git a/dev-ruby/parallel/parallel-1.16.2.ebuild b/dev-ruby/parallel/parallel-1.16.2.ebuild
new file mode 100644
index 000000000000..471513dfe1f1
--- /dev/null
+++ b/dev-ruby/parallel/parallel-1.16.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="Readme.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Run any code in parallel Processes or Threads"
+HOMEPAGE="https://github.com/grosser/parallel"
+LICENSE="MIT"
+SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
+SLOT="1"
+IUSE="test"
+
+DEPEND+="test? ( sys-process/lsof )"
+
+ruby_add_bdepend "
+ test? ( dev-ruby/ruby-progressbar dev-ruby/activerecord:5.2 dev-ruby/sqlite3 )"
+
+each_ruby_prepare() {
+ # Make sure the correct ruby is used for testing
+ sed -e 's:ruby :'${RUBY}' :' -i spec/parallel_spec.rb || die
+}
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' \
+ -e '1i require "tempfile"; gem "activerecord", "~>5.2.0"' spec/cases/helper.rb || die
+ sed -i -e '3irequire "timeout"' spec/spec_helper.rb || die
+
+ # Avoid a failing spec regarding to pipes. The spec seems like it
+ # should always fail.
+ sed -e '/does not open unnecessary pipes/,/end/ s:^:#:' \
+ -i spec/parallel_spec.rb || die
+
+ # Avoid fragile ar sqlite tests. They throw ReadOnly errors every now and then.
+ sed -i -e '/works with SQLite in/,/end/ s:^:#:' spec/parallel_spec.rb || die
+
+ # Avoid spec broken on Ruby 2.1 that clearly doesn't match code and doesn't really test anything
+ sed -i -e '/doesnt use Etc.nprocessors in Ruby 2.1 and below/,/end/ s:^:#:' spec/parallel_spec.rb || die
+}
+
+each_ruby_test() {
+ # Set RUBYLIB explicitly for the ruby's that get started from the specs.
+ TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die
+}