commit: 01bcd39f6720b7be92f1739220b44fc303812f82 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Jul 5 05:47:17 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri Jul 5 05:50:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01bcd39f
dev-ruby/fiber-storage: add 0.1.2 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/fiber-storage/Manifest | 1 + dev-ruby/fiber-storage/fiber-storage-0.1.2.ebuild | 26 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-ruby/fiber-storage/Manifest b/dev-ruby/fiber-storage/Manifest index 8344ee834f63..10659e46e5c9 100644 --- a/dev-ruby/fiber-storage/Manifest +++ b/dev-ruby/fiber-storage/Manifest @@ -1 +1,2 @@ DIST fiber-storage-0.1.1.tar.gz 6115 BLAKE2B 4b9312701ee1959bc680bdd7113974f474bc140768dae8e3043a7641ee4357e3ff3c60a3da99f7af68d26bbfb42c8f3e57a16535e6e59256f76760f4e686342f SHA512 67f51eb0a5014bd3b4ffc3c88262297462365c547b82b1296e5feb34564ac799265036c3aa0bb449dda75d2e2c42165a1f1e6cd68f1eed9b9d9ebc0595a4af5c +DIST fiber-storage-0.1.2.tar.gz 6064 BLAKE2B d052a660b37947b27c924c278330820dd14b041fd1e9a02df74f076467613000b48cb8f4f053702430ad29465577017b027246ef3112e4ef1e4c048f4d84368a SHA512 761be842905c4ac6766dc333c82cbcd7f95e442c06b7426f8139910794ea5f779128c64d7fadb306de232f1f527800318deb41a8d0af877fc763ff30fc00b666 diff --git a/dev-ruby/fiber-storage/fiber-storage-0.1.2.ebuild b/dev-ruby/fiber-storage/fiber-storage-0.1.2.ebuild new file mode 100644 index 000000000000..bba7d7fff53a --- /dev/null +++ b/dev-ruby/fiber-storage/fiber-storage-0.1.2.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="sus" +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="fiber-storage.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides a compatibility shim for fiber storage" +HOMEPAGE="https://github.com/ioquatix/fiber-storage" +SRC_URI="https://github.com/ioquatix/fiber-storage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + rm -f config/sus.rb || die +}