summaryrefslogtreecommitdiff
path: root/dev-ruby/fiber-local
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-06 08:06:16 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-06 08:06:16 +0100
commit4187bba080530c5ca1c7dae9c233e88f3fc8f535 (patch)
treeb6f535e053876097ced1b6bda14a4da890c730d4 /dev-ruby/fiber-local
parent2a8d2f71d1d9963368e0ef3d641d75979a689d12 (diff)
gentoo auto-resync : 06:07:2024 - 08:06:15
Diffstat (limited to 'dev-ruby/fiber-local')
-rw-r--r--dev-ruby/fiber-local/Manifest2
-rw-r--r--dev-ruby/fiber-local/fiber-local-1.1.0.ebuild26
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/fiber-local/Manifest b/dev-ruby/fiber-local/Manifest
index 2f6402510492..5e674e4dcc82 100644
--- a/dev-ruby/fiber-local/Manifest
+++ b/dev-ruby/fiber-local/Manifest
@@ -1,3 +1,5 @@
DIST fiber-local-1.0.0.tar.gz 3780 BLAKE2B 5360ebdc2f3958863742e5ca1e1cdefe76e4487bad2257a1bd34a8a6769b1191e1a8f0ba8c7dfe1481f73fdd8b9ee1a014b11e5527273dbb0ee6d8a94edae2ae SHA512 5f77213c3760bb7c23a6912f138e46aa54d8508c11d02dadde5ddbc4ab03976abccb37ad2b1b43b118eddfb7a5e8ca4ee647a7fea1bac5ee4d7b39e8dc8f8424
+DIST fiber-local-1.1.0.tar.gz 6236 BLAKE2B 9ee12bfb21448a34055c89cf25d1702dcd763420dc885b8f23af7acf8a7cdcfbf00af754069c2e21a72a3f63b66b9b3a860170e3260d3a32eec0bcf0739ff9aa SHA512 764b77783db4b60f8ae99d41f0ae07111af9aa1e3d11f0dae39c4bd2de49686b806afd2f7218ae3b79240769e98229e37b955d3c0adedf03277f3c43d423e4f5
EBUILD fiber-local-1.0.0.ebuild 804 BLAKE2B a08fa2363b2a0d874db40fb23ee51f18d3999e32bfc8097189d3a2fbeec21b5e8130b3f71f68989b1352668cc8ff649a42a0dda9f515c8e9747c9e81242dba0b SHA512 f8cb4c93dfab09c0459acd56e9806267cb2f342a5d0574297ac220a912810f74d04035444c9b41639fb8857ce79f6e748c6ef6b47813870f5434064767f187f9
+EBUILD fiber-local-1.1.0.ebuild 742 BLAKE2B 2b05339acd25ae5debdf6b4727b0eac27eb494e506d75c7524af7aea01121a43ba1555506310b235fafd2e7b88c8916fb39367792b9ce4b14d706c4f01861c85 SHA512 965b1d1e6d512a9302451024bedfc2e03d77f9c4e3f22348a6db61e865b679561ddd1795e6cb37e943d77df884933438beca3b091a55c160325bf9689643bedf
MISC metadata.xml 347 BLAKE2B 9f0304d50cdc6ea863767d44adf04062376a06e06e6d8c8e486ecd1fcce2e66133d883e991a9978c691a0942d43f2f009236f3ac949556274bf4bad101812ccc SHA512 ec53de01e6c327d2dd81117f12ccfd0f37bf9aba3b35e346c14bdf7c303e63ea935e9bc489398bd677a5ece070f19bfc5bf86f250acc9050abb64d0df1c6ce6b
diff --git a/dev-ruby/fiber-local/fiber-local-1.1.0.ebuild b/dev-ruby/fiber-local/fiber-local-1.1.0.ebuild
new file mode 100644
index 000000000000..8cbf3af55a7f
--- /dev/null
+++ b/dev-ruby/fiber-local/fiber-local-1.1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2022-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_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a class-level mixin to make fiber local state easy"
+HOMEPAGE="https://github.com/socketry/fiber-local"
+SRC_URI="https://github.com/socketry/fiber-local/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~sparc"
+
+ruby_add_rdepend "dev-ruby/fiber-storage"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+}