summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-12-10 09:06:37 +0100
committerHans de Graaff <graaff@gentoo.org>2022-12-11 07:27:46 +0100
commitdb5780875fac493ebb795163714703b9e478de85 (patch)
tree04ec49f88631bce2010c3c0ef0aadc37a2523cf4 /dev-ruby/io-event
parentdev-ruby/hiera: add 3.11.0 (diff)
downloadgentoo-db5780875fac493ebb795163714703b9e478de85.tar.gz
gentoo-db5780875fac493ebb795163714703b9e478de85.tar.bz2
gentoo-db5780875fac493ebb795163714703b9e478de85.zip
dev-ruby/io-event: add 1.1.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/io-event')
-rw-r--r--dev-ruby/io-event/Manifest1
-rw-r--r--dev-ruby/io-event/io-event-1.1.4.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/io-event/Manifest b/dev-ruby/io-event/Manifest
index aef993a8bdac..d66a37177fce 100644
--- a/dev-ruby/io-event/Manifest
+++ b/dev-ruby/io-event/Manifest
@@ -1,2 +1,3 @@
DIST io-event-1.1.2.tar.gz 34305 BLAKE2B 8e7814ada38c4a766f413373e0ef5b0c94a1b94342667a25c59bf8925fed791c3dc527bf63f02a9e40297abcdde730047a3a80104ac9d9f12ea648e5842ea851 SHA512 68a9c01f8075117767cdcacb095f9587118f86cc536d94a990b55e63e7f5213c350556486c45e2687db2ac810d48dc1d9aa28e994ef6ae0229f7b258d0b92aa2
DIST io-event-1.1.3.tar.gz 34336 BLAKE2B bf0143c73e8d3f2929d3d86a740bb4c846558e3e605414087a5bb16b6e8d1c0b35494b9c761de8d57004b4b540b72d16916ec602a04f204f32fa5ba074a465a3 SHA512 9da7405e6d0d0b7aed30718bd52c15bd05061f73c4a1ed481bbfa037a11d75a034876e7470ad29523e8e16c5a3b69eaf8716d81b8e840fb01c6248ecab633495
+DIST io-event-1.1.4.tar.gz 34425 BLAKE2B 80af7c6234e44197c79c2b893aae02a05399c28a02daca900526e25bf3d0703d085b94dc231cf485028e8ce529b54a5a85b5adb6a720be87222be8d84302354a SHA512 8c8ae307879511099cbd5ceec775d408a5de28887e466a1fc62f4c1551c8e757875fcc7f12646c8d73f0fd9018a28cb8d6d0da1e4e6f0a0238812fe2674d1520
diff --git a/dev-ruby/io-event/io-event-1.1.4.ebuild b/dev-ruby/io-event/io-event-1.1.4.ebuild
new file mode 100644
index 000000000000..107271412ff8
--- /dev/null
+++ b/dev-ruby/io-event/io-event-1.1.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="An event loop"
+HOMEPAGE="https://github.com/socketry/io-event"
+SRC_URI="https://github.com/socketry/io-event/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~sparc"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/sus-0.6:0 )"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # Avoid dependency on unpackaged covered package
+ rm -f config/sus.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S sus-parallel || die
+}