diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-19 12:29:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-19 12:29:09 +0100 |
commit | c59df12b8749ab7bbd5a0692072652d4fbb0d2cf (patch) | |
tree | b0c755a8dc7206de06d287c623e493927679f700 /dev-ruby/parallel | |
parent | f85858c81a721c7fc89c1ab8df19e3a213dc27cd (diff) |
gentoo auto-resync : 19:07:2024 - 12:29:09
Diffstat (limited to 'dev-ruby/parallel')
-rw-r--r-- | dev-ruby/parallel/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/parallel/parallel-1.24.0.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/parallel/parallel-1.25.1.ebuild | 57 |
3 files changed, 61 insertions, 2 deletions
diff --git a/dev-ruby/parallel/Manifest b/dev-ruby/parallel/Manifest index e00d5c195634..16d44e2a7fed 100644 --- a/dev-ruby/parallel/Manifest +++ b/dev-ruby/parallel/Manifest @@ -1,5 +1,7 @@ DIST parallel-1.23.0.tar.gz 23359 BLAKE2B f7c505484a8ebade97efb61eb18474625ee994e3a4a16e85b264988212e3de093ae7b8cb03de2a6f97f8205b41264b72c13f32d81ed9ddcd2241d3aab15c7564 SHA512 fd80b928ad4c34c71abb62a2e27da6bdcabb425ed68cfef190c0e9f56c853147b1c96d7e9b5ec0ef2e7909dd2303892cb293c40a170241158286f9422b6bc780 DIST parallel-1.24.0.tar.gz 23944 BLAKE2B 9e14b8551416c74a16f34db0616c487841368b6834c6848c929e480b3bbeaa3d378c96ccb26496bdef35448e583ab8d029d84f54408a29385e6809d0f013cf71 SHA512 9b1bd00fa16cae4938642e2834c57ce71c5f51bbbec695c40107a02f1af4a1528ef27ce002f3a3290e21a6c045c739ac3844c586e4f1976ac5616d8fae03a5af +DIST parallel-1.25.1.tar.gz 24386 BLAKE2B fc2efd610d8730caf645783d5d360520ca9b3ac6661404b2df55cd62693f48f868f055aab266c78d31e497c0fafebd21185f836cce7e03c7d10c13d7f78c9e74 SHA512 9897fbec6717c832408e0fa1365582d8a4ebbdf69a5b6ce75182ef16c40f7df1f8ded52d33b2df31224bfb7e2dd613286e940b507d04add7a9d3a956869d4710 EBUILD parallel-1.23.0.ebuild 1592 BLAKE2B e92dc07efbd24b0b1a6bd1d4ff2eef625c26eb44730ec294774812dfa82c180064b6bd4f8d16def39501d90eea9383041d618076a348d4cc9609b1d0a92ca356 SHA512 dc8c61dbe13aa6fdfb9f9b9824179718ca5af1d92c57bc97d30aadf3db2d432f84dca432add1924aebc043284c9c922110c2e42d2e47beedda87307b5358f7f9 -EBUILD parallel-1.24.0.ebuild 1593 BLAKE2B 6aa3d9978f269f1ea0b6358b67be101fb453a5f3b76b4808fd626d0ca2b972bef75f660277f44866c2612e32c62e53650fa4de2a3b638e3811d3777a0b2029b2 SHA512 28210fc64f57da5fcf8537e2f522c03fe18c6eb468c99a1cf167f85430322764012eeff75ffc771afd5e5a865ad2b8d2c8c352bc3bf5cf862d0385a41ac668fb +EBUILD parallel-1.24.0.ebuild 1592 BLAKE2B 72c4eedc216d6fcf4a43817eaf13e811a845a1246a1e038c83cf132f8c6ef1bfd12e0bda77ab4f9964cc4bc49dcb1e8e2ebe936c59dea2d4e4b7cb0aabec3c0d SHA512 bee9e1685a2e8462a57ddec5ffe9a7f69efb529b6b21acda4de2475c27de5324ebd4d495adb027f0a5b52d84b1d5f7dc1ada12bd1da965d11f0239dd6d469302 +EBUILD parallel-1.25.1.ebuild 1600 BLAKE2B a965e3d6e3e9ab3115b8944d7922d5a49e33443c354c414edf69851ad905ffb69935ecdff7d2467cc2794842dcabb122e28f435380bf7f527d1b1c6473abad5d SHA512 387567288268f992e0cec1698ea58c649a7e0513135a78f5b16aeca53e319df1dd1e3c864e2bfc8f30aa056d340c807f02071a664c09c32fc7f6c3062d982cf5 MISC metadata.xml 343 BLAKE2B 319ce92e2b405a76468f653192288669596fdf31ecea733f88de907cb5fc184bdbc197bae14c3cec97a5f25c47cd6fe3e201ae60ab19e5dc06a2f8b612e2b719 SHA512 7fbc85907d9d51e90d0bbf2cd1431557afb9dae6b15b6d9b9d283e1957606381fad7fa7a0aa05d01ce0921c3ecc33d304b61c567069ee439e7ad2f25d3c86924 diff --git a/dev-ruby/parallel/parallel-1.24.0.ebuild b/dev-ruby/parallel/parallel-1.24.0.ebuild index 28bfb2ad8c7d..1823cff68599 100644 --- a/dev-ruby/parallel/parallel-1.24.0.ebuild +++ b/dev-ruby/parallel/parallel-1.24.0.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="1" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" DEPEND+="test? ( sys-process/lsof sys-process/procps )" diff --git a/dev-ruby/parallel/parallel-1.25.1.ebuild b/dev-ruby/parallel/parallel-1.25.1.ebuild new file mode 100644 index 000000000000..8c3fceea66e6 --- /dev/null +++ b/dev-ruby/parallel/parallel-1.25.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +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" +SRC_URI="https://github.com/grosser/parallel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~riscv" + +DEPEND+="test? ( sys-process/lsof sys-process/procps )" + +ruby_add_bdepend " + test? ( dev-ruby/ruby-progressbar ) +" + +# Rails isn't yet ruby32-ready in Gentoo +USE_RUBY="ruby31 ruby32 ruby33" ruby_add_bdepend " + test? ( dev-ruby/activerecord[sqlite] ) +" + +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"' spec/cases/helper.rb || die + sed -i -e '3irequire "timeout"' spec/spec_helper.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 +} + +each_ruby_test() { + if ! has_version -b "dev-ruby/activerecord[sqlite]" ; then + rm spec/cases/map_with_ar.rb spec/cases/each_with_ar_sqlite.rb || die + fi + + # Set RUBYLIB explicitly for the ruby's that get started from the specs. + TRAVIS=true RUBYLIB="lib" ${RUBY} -S rspec-3 spec || die +} |