diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /dev-ruby/parallel | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'dev-ruby/parallel')
-rw-r--r-- | dev-ruby/parallel/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/parallel/parallel-1.14.0.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-ruby/parallel/Manifest b/dev-ruby/parallel/Manifest index f9df670903bd..b7eff74a36b8 100644 --- a/dev-ruby/parallel/Manifest +++ b/dev-ruby/parallel/Manifest @@ -1,5 +1,7 @@ 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 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 MISC metadata.xml 342 BLAKE2B 0860273d70423cb92207369335e1f684ea623e1217d7aaf4d016d9aff9c02b0b8dc9af3654b523f77cbd8d92f7043887a97ff87abb79d3c65b66b0e6b40082fb SHA512 805eaecfea071b1d632ade7da42ed63717d2f829c4c99e29a4600b26a81e87c4032d7ee441b865d86f37faa13f455c9f2888dc8099178cf6211ae13d3e3e1835 diff --git a/dev-ruby/parallel/parallel-1.14.0.ebuild b/dev-ruby/parallel/parallel-1.14.0.ebuild new file mode 100644 index 000000000000..471513dfe1f1 --- /dev/null +++ b/dev-ruby/parallel/parallel-1.14.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 +} |