summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-11-07 08:22:01 +0100
committerHans de Graaff <graaff@gentoo.org>2024-11-07 08:22:16 +0100
commit493d837a519b60e7c08c1b0760a3430e5a6dfa16 (patch)
treec7932aad5c73dcebef35b6a12f81ec0ea9de4101 /dev-ruby/timeout
parentdev-ruby/stringio: add 3.1.2 (diff)
downloadgentoo-493d837a519b60e7c08c1b0760a3430e5a6dfa16.tar.gz
gentoo-493d837a519b60e7c08c1b0760a3430e5a6dfa16.tar.bz2
gentoo-493d837a519b60e7c08c1b0760a3430e5a6dfa16.zip
dev-ruby/timeout: add 0.4.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/timeout')
-rw-r--r--dev-ruby/timeout/Manifest1
-rw-r--r--dev-ruby/timeout/timeout-0.4.2.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/timeout/Manifest b/dev-ruby/timeout/Manifest
index 3ed29ada33db..a75b8b304d4d 100644
--- a/dev-ruby/timeout/Manifest
+++ b/dev-ruby/timeout/Manifest
@@ -1 +1,2 @@
DIST timeout-0.4.1.tar.gz 7197 BLAKE2B 182b8904345228f90406b2b567a9342b0724ad0abb103392ec2682c8040168e1bb98c90256d3715d5938f09bf92e9650fc3423903dacd620b753d5119f143910 SHA512 1ca23bfcaf2c67a59805f814b20a9fe6e492b8f68e492c86290d6c638b07ea9b6f14c4cc84c14b891b5aaf611f46968af8947565ea83d783c90144df4e3e612f
+DIST timeout-0.4.2.tar.gz 8612 BLAKE2B 38a94998c3b2311fb42b5580b99dcfbca52779acaa555a4876583d77932fe0f56d041a79648b92f058878ca29f297accd7ad065ec2279d034d38f0f1e1914719 SHA512 6f02cfdc8510f5cec5ec725eb890bbbcc29144f925a89300e49f7802fb07cb88b9acbfcd55423e4a012d85b8fb2abb64e52c4e022ba6b4d76ac0f862c4ac5174
diff --git a/dev-ruby/timeout/timeout-0.4.2.ebuild b/dev-ruby/timeout/timeout-0.4.2.ebuild
new file mode 100644
index 000000000000..80c1ad26dfd2
--- /dev/null
+++ b/dev-ruby/timeout/timeout-0.4.2.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
+}