diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-15 07:38:15 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-15 07:38:15 +0200 |
commit | 6b5d9b0eeac39ac1416201de583985c47204a174 (patch) | |
tree | 27fb876f39a71c2ef9842059a02b29aaf8ffa877 /dev-ruby | |
parent | media-radio/wsjtx: Fix missing variable declaration (diff) | |
download | gentoo-6b5d9b0eeac39ac1416201de583985c47204a174.tar.gz gentoo-6b5d9b0eeac39ac1416201de583985c47204a174.tar.bz2 gentoo-6b5d9b0eeac39ac1416201de583985c47204a174.zip |
dev-ruby/concurrent-ruby: add 1.3.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/concurrent-ruby/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/concurrent-ruby/concurrent-ruby-1.3.3.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest index 818fff66b8ca..5c7e718f172a 100644 --- a/dev-ruby/concurrent-ruby/Manifest +++ b/dev-ruby/concurrent-ruby/Manifest @@ -2,3 +2,4 @@ DIST concurrent-ruby-1.2.2.tar.gz 1161215 BLAKE2B 42f42022e469a1131d40e96a04dacb DIST concurrent-ruby-1.2.3.tar.gz 1152422 BLAKE2B 72057ef4db1cc7dd0eb30122671e1c6106d1330215ded04040cbb92c10688866a643b0614bda21accbf8782470b03ea53c2b5b5e4e69a01cb73a2dac2b41d182 SHA512 6da7b3e13f7043f9fbb95b566e312584c479d7de5e34e29bfa90887ade143fca756dd40d7135dc923c41c468bc402e6fd06f33a075465ca6bde763affe50c751 DIST concurrent-ruby-1.3.1.tar.gz 1153932 BLAKE2B e516528e20f23c1f65f6528b97f5ee61f8cb61cb34703022e2763736a85d4e55ce637df45e9477cc39c93d89b92e63adc23a8966d5c025ba328bf9d148ebe629 SHA512 837705cd37f7c6c16f3ac1f7b0ed5f4f460c8f3dbe87fa1cfc4efd8e70e4c70f62efe7dfd009a4bfc5626fbdda9fabc87a6e1efb82ab03926b6d098a5ead4423 DIST concurrent-ruby-1.3.2.tar.gz 1154379 BLAKE2B 23a3b344fdabf403e8176db941cb953e5d59d41d417021ba2412005f486f4cec88d2bd29aaef6481fc7727759493bc5c9fca8cdb6af832ddd38e1a9f34365f5b SHA512 a74fd5c1df97289b4287d3a20fddd3d4277019288e45227649d3597199c1a47325b626d8c323fc722e6638b8f8433729b541acaa060a7b570a921a78ebb49eec +DIST concurrent-ruby-1.3.3.tar.gz 1154451 BLAKE2B d18d02e94d42f8937b0e662216b3b87ea8fd52fee8c1a110c3d291062055c58e1fa6938dc0e7b9bef0dbbd250e08d648751ed65f460a79494fa2dbb14759184a SHA512 bf6f7883637dd4026d0ae14cca053eaf0c080976a28c5438290787bfafa43fa93c217e58976ada5d764b81a5884f0229d0b29044ac84d770679559803927b12d diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.3.3.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.3.3.ebuild new file mode 100644 index 000000000000..cc6cafba3b2e --- /dev/null +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.3.3.ebuild @@ -0,0 +1,38 @@ +# 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_RECIPE_DOC="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Modern concurrency tools including agents, futures, promises, thread pools, more" +HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby" +SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.9 )" + +all_ruby_prepare() { + # Remove edge files as defined in support/file_map.rb + rm -rf spec/concurrent/{actor,cancellation,channel,edge,lazy_register,processing,promises,throttle}* || die + rm -r spec/concurrent/executor/wrapping_executor_spec.rb || die + sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die + sed -i -e 's:lib-edge:lib/concurrent-ruby:' .rspec || die + sed -i -e 's:../../../::' spec/concurrent/executor/executor_quits.rb || die + + # Remove specs for the ext gem + rm -rf spec/concurrent/atomic || die + + sed -i 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +} |