commit:     bb8bc09c8cf50b081448374d010d50c7c1b75891
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 06:19:18 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 06:19:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8bc09c

dev-ruby/timeout: add 0.4.3

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/timeout/Manifest             |  1 +
 dev-ruby/timeout/timeout-0.4.3.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-ruby/timeout/Manifest b/dev-ruby/timeout/Manifest
index a75b8b304d4d..c4164fd92369 100644
--- a/dev-ruby/timeout/Manifest
+++ b/dev-ruby/timeout/Manifest
@@ -1,2 +1,3 @@
 DIST timeout-0.4.1.tar.gz 7197 BLAKE2B 
182b8904345228f90406b2b567a9342b0724ad0abb103392ec2682c8040168e1bb98c90256d3715d5938f09bf92e9650fc3423903dacd620b753d5119f143910
 SHA512 
1ca23bfcaf2c67a59805f814b20a9fe6e492b8f68e492c86290d6c638b07ea9b6f14c4cc84c14b891b5aaf611f46968af8947565ea83d783c90144df4e3e612f
 DIST timeout-0.4.2.tar.gz 8612 BLAKE2B 
38a94998c3b2311fb42b5580b99dcfbca52779acaa555a4876583d77932fe0f56d041a79648b92f058878ca29f297accd7ad065ec2279d034d38f0f1e1914719
 SHA512 
6f02cfdc8510f5cec5ec725eb890bbbcc29144f925a89300e49f7802fb07cb88b9acbfcd55423e4a012d85b8fb2abb64e52c4e022ba6b4d76ac0f862c4ac5174
+DIST timeout-0.4.3.tar.gz 8695 BLAKE2B 
bc94fe6ee95f562d3ee10f3d26eafe4c644d1dd62e51fdc5ba7f83c8ddf051ffd04144d764d6546c05d62ed1b36567f5607346cb31332de096ab91a7a6681863
 SHA512 
e9f9fa4fe7465bd6b27997e0fd045c5e5abdb57dc102669d54329630291daffb13c57895177ef7d93a02ade2a34f6be1a418ffc864c85a9775bb616adc56f3c4

diff --git a/dev-ruby/timeout/timeout-0.4.3.ebuild 
b/dev-ruby/timeout/timeout-0.4.3.ebuild
new file mode 100644
index 000000000000..80c1ad26dfd2
--- /dev/null
+++ b/dev-ruby/timeout/timeout-0.4.3.ebuild
@@ -0,0 +1,29 @@
+# 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_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="timeout.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a framework for message digest libraries"
+HOMEPAGE="https://github.com/ruby/timeout";
+SRC_URI="https://github.com/ruby/timeout/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos 
~x64-solaris"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
+all_ruby_prepare() {
+       sed -e 's/__dir__/"."/' \
+               -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \
+               -e 's/git ls-files -z/find * -print0/' \
+               -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}

Reply via email to