summaryrefslogtreecommitdiff
path: root/dev-ruby/sync
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-17 12:49:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-17 12:49:11 +0000
commitd1ad4013179c639433bdbfa5025ca403aac0767b (patch)
tree0bbbed0629b48d472cade3335597c635e3722355 /dev-ruby/sync
parent2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (diff)
gentoo auto-resync : 17:03:2024 - 12:49:11
Diffstat (limited to 'dev-ruby/sync')
-rw-r--r--dev-ruby/sync/Manifest2
-rw-r--r--dev-ruby/sync/sync-0.5.0-r1.ebuild28
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/sync/Manifest b/dev-ruby/sync/Manifest
index 79a096cb4ba0..7699aa3a0a8d 100644
--- a/dev-ruby/sync/Manifest
+++ b/dev-ruby/sync/Manifest
@@ -1,3 +1,5 @@
+DIST sync-0.5.0-mjit.patch 705 BLAKE2B 3235e6fb9689a046a04802d0e46087970ce80283aea989b598f756953175026ad63a686339ce5767b316bc67a2f1e9d4bb280cbee32408243ba0b6dd7c424c6b SHA512 9b639bafaf262d5ccd4f851ad5969e83b5e8d296a98daa4d12373e714aa0f80b7e242d508149be3da1cbad7d51ac6daf4f326a5f5043c7fcf828c8fc352e5bfc
DIST sync-0.5.0.tar.gz 4957 BLAKE2B 9b4b1710d2468068387d782109199dd45c783b6d7bb0357851f800df2ac4961a72143cfc2b42f522524cf7148694545ae8eab47ee6629062d8ea1505d9095ba0 SHA512 5f887d9169e0be834c7fa17ae42b71078f25ce3d83e695490cd136adc1799d6b92e4aed41ce3f3d57b3ad193a1ac4de940b37212c2864bbf6331ba3582128166
+EBUILD sync-0.5.0-r1.ebuild 797 BLAKE2B 32aa0d577106a0ecee61092af9422b0874f498b7cc1c309953d447994ecffe5d4d75a1e6d2fb6ebd1b275d2ff8f5086e331eb4aacd11b6d6a8c5c25492191381 SHA512 389820a487cd2e3f43effe30a09cb606de7f39d1e6a8fce2ac8b05e3dc4e36b86df0f70fdf21d981add8418e1820a8150f2598b8b07114a575eed2cb5503f23d
EBUILD sync-0.5.0.ebuild 666 BLAKE2B 6a13fcc291cb1ede159b4747d131dd12097e35d55e422400508e43e4f31f18c05e4df2b98ed442910230775c241218b377156c2e66f513afd6c727015b2fd16a SHA512 794c9c03c8056a69545d2fe11258cabb0344109f54c7efa6251b3a59b9e7b8f44f20d8c99bd287011a5f9d411b7ef05fdcf5019f70bbafe2b2a035ba5d8812e6
MISC metadata.xml 336 BLAKE2B c6c56576f607edf4075d6bb9eca47ca898d5037dd830464c57df25c8cfa50e236afc6a318570145b9f48fea13c55255943674b1a418a016762a94ea3e348deca SHA512 98a7781b1e6f5372a564f69eed27881076a5b73609a4b87fccefc251990f3a60ca6526c99e7e9fa3acc01f285dca2beba4e268f0571201081ae55f8e85971124
diff --git a/dev-ruby/sync/sync-0.5.0-r1.ebuild b/dev-ruby/sync/sync-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..471eb2d7da3f
--- /dev/null
+++ b/dev-ruby/sync/sync-0.5.0-r1.ebuild
@@ -0,0 +1,28 @@
+# 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_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="A module that provides a two-phase lock with a counter"
+HOMEPAGE="https://github.com/ruby/sync"
+SRC_URI="https://github.com/ruby/sync/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/ruby/sync/commit/8f2821d0819ee7c08506f204c7676f12c5ab1397.patch -> ${P}-mjit.patch"
+
+LICENSE="BSD-2"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+all_ruby_prepare() {
+ eapply "${DISTDIR}/${P}-mjit.patch"
+
+ sed -i -e 's:require_relative ":require "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}