summaryrefslogtreecommitdiff
path: root/dev-ruby/concurrent-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/concurrent-ruby')
-rw-r--r--dev-ruby/concurrent-ruby/Manifest2
-rw-r--r--dev-ruby/concurrent-ruby/concurrent-ruby-1.2.3.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest
index 6b2c6f2fd873..e84991e42464 100644
--- a/dev-ruby/concurrent-ruby/Manifest
+++ b/dev-ruby/concurrent-ruby/Manifest
@@ -1,5 +1,7 @@
DIST concurrent-ruby-1.1.10.tar.gz 6013684 BLAKE2B d271579a49ab52c9c41a7a0a31451775e1cba8ce19486b52a9eb3df7abbc66f7610d31284fc02747a8ee5f429983d8283b6fe92f22b911dcda5bc515da58b48f SHA512 cfb67ce806d1f2a5bae509806247bfefb05c56794741cedcaa7ab6ff708085e374d150e8f46ff8e04dcb0918fde8ab5a593c60550da9ff6dc00af116e123f064
DIST concurrent-ruby-1.2.2.tar.gz 1161215 BLAKE2B 42f42022e469a1131d40e96a04dacb0ac49d94e96b6a8c58348d34402319ea0abff53b8b1312a274a34c332301ca17a007b685d8d9fe8c229350177abac0a285 SHA512 e2b26de147468b09403cd1727750922526ba240ad0cfe7889b722b357a3c71e709b12958cc4dad1a0d2d2c10d4dd2c67be1fe23053b98c35c7a50722fecb24b0
+DIST concurrent-ruby-1.2.3.tar.gz 1152422 BLAKE2B 72057ef4db1cc7dd0eb30122671e1c6106d1330215ded04040cbb92c10688866a643b0614bda21accbf8782470b03ea53c2b5b5e4e69a01cb73a2dac2b41d182 SHA512 6da7b3e13f7043f9fbb95b566e312584c479d7de5e34e29bfa90887ade143fca756dd40d7135dc923c41c468bc402e6fd06f33a075465ca6bde763affe50c751
EBUILD concurrent-ruby-1.1.10.ebuild 1344 BLAKE2B c8831b618163484337a28ad27b60542669deba0a914efe0017928669685459d1585b8a0a7c4a4c7a2b5e90c9c2755fc40cd8c61b7fd33a5f141e3d028e5ad2e3 SHA512 a3767d62f9408605df1bee48b96133e2af42830c78238a8081332e35976a7945e4a7a17a479d3c87291db6ecc52a5ba8c34f7ce78730924cf238bb414ea7ca95
EBUILD concurrent-ruby-1.2.2.ebuild 1346 BLAKE2B 16f13760fc679418818d3c2cdc7311b03ff0a861005f3facce18472d314e2c24715005c7622088345be4b6f1b20a0baba3b40adf077b36e9d0723376f7efe426 SHA512 d39bc89294f8118c2d215d1568d2d81a8d673046e3d0cbdd1f185912f4eca880002c28cb3a612fd59abc65524c63eeac88efbd625e24be0b898d7862576287ad
+EBUILD concurrent-ruby-1.2.3.ebuild 1357 BLAKE2B 6670f1619bbcce72670f986759a5a5dc5dabdc0fe83c4c375fa828e92abdfcf24930074fb050416b991807f1df63e4950f9b25fee04f296cc6bd8786b259194b SHA512 257ede866e534afe402f7004d3d96a0fdca44ae38ace4c71e1e4ab823cc954ce0f6c99ce12a2a71f7f5611c012cc3aa9097ff9a08c84273c7d9893b7f5400f5c
MISC metadata.xml 359 BLAKE2B 2db8e9c1e575575ead6e6f86d5c883e356dbd84d3def08d6d2b9473e8cb10951268bd85208f56b14047b6bf57388e025f4ad626555d001d266bb0a87db954f45 SHA512 39f31f985f90fb6514f2c282c01a0d38e325371ec18671dda808372891caa83eb28a6eaf0a3090999a0427e5ca6cf3ba5f75b59e86b0e8713dc85ff3a6eacb68
diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.3.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.3.ebuild
new file mode 100644
index 000000000000..cc6cafba3b2e
--- /dev/null
+++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.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
+}