summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-03-07 07:34:37 +0100
committerHans de Graaff <graaff@gentoo.org>2023-03-07 07:34:51 +0100
commit90b8856dd288fb648da770cc85c541b7e81ad0fe (patch)
tree65ac787f6fe52d9e4f0e913bdcc2688bb7331d32 /dev-ruby/timeout
parentdev-ruby/kpeg: add 1.3.3 (diff)
downloadgentoo-90b8856dd288fb648da770cc85c541b7e81ad0fe.tar.gz
gentoo-90b8856dd288fb648da770cc85c541b7e81ad0fe.tar.bz2
gentoo-90b8856dd288fb648da770cc85c541b7e81ad0fe.zip
dev-ruby/timeout: add 0.3.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.3.2.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/timeout/Manifest b/dev-ruby/timeout/Manifest
index 1422caad7267..81efa549093d 100644
--- a/dev-ruby/timeout/Manifest
+++ b/dev-ruby/timeout/Manifest
@@ -1,3 +1,4 @@
DIST timeout-0.2.0.tar.gz 15672 BLAKE2B 2a42efb4475047c947ec1a30637e4ddb8d745651d9d277af9149f952ee88cda335818156d777db283660ac16f338ac53776f6267f040b115078fed9572b4ddc7 SHA512 fe665127e90782602dc4e0f61b8ea39b3c2092a50a0d5f708fcb14bec08443868dd8539417c29166dd925389ef2beed49a67f16bb195cf998104b7121f4c1c4d
DIST timeout-0.3.0.tar.gz 16332 BLAKE2B 9f76ec3ae80c727c745cb4ebfeed67d0d9072fe5b58b4424b5c8670b75c030990219a3243bb80b3082c58ad640f16655881cf6b577a9ab1eecc51e72ff662b26 SHA512 d9f3c25a82be1572ce4286b1066db6a57ea4ee61062ae433c75752ad9e473b952968cfbfe1c9804c8f666a6409dfc9d2b68e8f6960c32a0e48a56d29aaf1bf26
DIST timeout-0.3.1.tar.gz 16781 BLAKE2B dece63fff06da13516e1ebae591b5cca63e1cefd2ac10c9e254a1d37125fe05f962bb65befeea58de0c9c88f4c475ce62decf349b5268d67bf41a7a31503a54a SHA512 2bcf81df02eedd3eceb370abb1eec94cc77cd93f8c7d034fdd7a9b78c56490f9f49ea64a805e2d9ea5290bc9d8d0a5178ee5c77f6b3d9ea147a4be499c8b918a
+DIST timeout-0.3.2.tar.gz 16920 BLAKE2B ec3bb38a8c60b9156a8fb8b5bb99b74a606ee8d18aa81b4b5ed5067c38cea1856ccfc00a841cc58c33cf5159fc1065f68728c48acec6df2eed28f364a36fc7a5 SHA512 70220781ecaec61a4243dfd95c6be13050513e78dd3239b58b0c8f6904b29c2bfbf895f769a1e122a30fbdad761577c2ddae94b328c4ee390867d1ab6391b8ec
diff --git a/dev-ruby/timeout/timeout-0.3.2.ebuild b/dev-ruby/timeout/timeout-0.3.2.ebuild
new file mode 100644
index 000000000000..ea1f03d24422
--- /dev/null
+++ b/dev-ruby/timeout/timeout-0.3.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+
+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 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+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
+}