diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:19:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-14 23:22:23 +0100 |
commit | 4b19be30aa626b327c885dae62c559ec0e9fb935 (patch) | |
tree | 76e74807bc479502e13866b581b6bf86734ec634 /dev-ruby/parallel | |
parent | 30d6f67c98d149508509d5e86f176d558793acc0 (diff) |
gentoo resync : 13.10.2019
Diffstat (limited to 'dev-ruby/parallel')
-rw-r--r-- | dev-ruby/parallel/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/parallel/parallel-1.18.0.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-ruby/parallel/Manifest b/dev-ruby/parallel/Manifest index 497a9ae8971a..83a7c798766b 100644 --- a/dev-ruby/parallel/Manifest +++ b/dev-ruby/parallel/Manifest @@ -1,5 +1,7 @@ DIST parallel-1.16.2.tar.gz 20853 BLAKE2B 4d30dd43f854ca9c3a6b739a36f250374a527d00c12e1221e5cb5a9da06fda66b0fadaaf7b9b5f5ac69549e9b1c75eb8f1c17a4bcd160ba15086013884176c07 SHA512 0d3cd59527ab1ff9da995f71cf2c04d6eec5276d5dcbab8b62844e18c3cf83de9b288c0f184d26dcf2897539bba2a6ac58fd0efb02952cc7999f411c3efb5b33 DIST parallel-1.17.0.tar.gz 20882 BLAKE2B a8afb329de1d8d0d577c1b53d990c4f1cd8ec9f23b8cc1005310903954f180c52535e3d8a5901862f1504da0981f3e16cf73a848403ed49872aa3dc45781b888 SHA512 92c7f4475a791da4feb0afda3686a4f9e9cc397ac278560c177552abf586054594d29a67b583845b69433e7824c0ce36bcffe98e13051242db0e5ee4a3c7a17c +DIST parallel-1.18.0.tar.gz 21095 BLAKE2B d47286c719810699cd5098b9d28e4e00cec2a7a27141a2dd932023f9fdeaac389f2be9aa8196820ad3d28d26c141f41565ad363fdca9bbca75e18a8d9d7fa4b5 SHA512 2869a8b82da2b1f2595be04616afa5bce62eac3833d743304dc4371db63be7645437c009c202d4690fe5dc221766e2a0f25790335d7a25b355c3f3b8034f8319 EBUILD parallel-1.16.2.ebuild 1701 BLAKE2B 543afcf803c82fc477a15a49e3c50d9c192ee437a24bb4df929914685aa4e46fcdc98ddd6e410e593d0b02b7990e8db84129f9aa31b3cd7d43a9bf6b031dc725 SHA512 059b81a8640369e1912595c0b6077698117c60a671d95a0a50d3b2dbba0906d9ad88ba44f098fc254f10b452642fc5dbc4c313836ff272c4e31ad051268fc999 EBUILD parallel-1.17.0.ebuild 1701 BLAKE2B aa9d7204bd2f58764e641e57bffb69d10e3ef2724e661c8f2cb035549b58e7dc2da005e0eede993f45ada43d833fd13a14cd904cbf72b064e0e04269e83abbd4 SHA512 9589768121b5d1a0539ba0f9df76398985ed8a943869a1830a07788c675eb8b7d2998588681e17eafa67de8deb0ee9e9d4fc6288713c4c5b511df884c8f52599 +EBUILD parallel-1.18.0.ebuild 1775 BLAKE2B 1d5fdb02e6a5a8f2c3931a9cfa3b9a6a35b781a4c2c668e0f5ff7c171cfdf3121c2b326530960cbeaa4a1056d6d6c26d3045684b9c55695c12abd6335d2cd072 SHA512 1d103214caab20d077132c5ba57d2e8164f5e74a59897514f70c1c1c6cee6309abdb2e26c50cfde91db1659819ef1e7ba36fcd3ca7f0c638301854ae6397cb0a MISC metadata.xml 342 BLAKE2B 0860273d70423cb92207369335e1f684ea623e1217d7aaf4d016d9aff9c02b0b8dc9af3654b523f77cbd8d92f7043887a97ff87abb79d3c65b66b0e6b40082fb SHA512 805eaecfea071b1d632ade7da42ed63717d2f829c4c99e29a4600b26a81e87c4032d7ee441b865d86f37faa13f455c9f2888dc8099178cf6211ae13d3e3e1835 diff --git a/dev-ruby/parallel/parallel-1.18.0.ebuild b/dev-ruby/parallel/parallel-1.18.0.ebuild new file mode 100644 index 000000000000..c7ad1888fe50 --- /dev/null +++ b/dev-ruby/parallel/parallel-1.18.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRAINSTALL="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="parallel.gemspec" + +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 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + 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 +} |