From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/io-event/
Date: Sun, 1 Dec 2024 12:37:51 +0000 (UTC) [thread overview]
Message-ID: <1733056622.be34a2ecb62c1757d5f31d3534f8c897e6719a98.sam@gentoo> (raw)
commit: be34a2ecb62c1757d5f31d3534f8c897e6719a98
Author: Gabi Falk <gabifalk <AT> gmx <DOT> com>
AuthorDate: Sat Oct 12 16:40:00 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 1 12:37:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be34a2ec
dev-ruby/io-event: 1.5.1: apply upstream commit to fix the testsuite
Link: https://github.com/socketry/io-event/commit/c2ffc28e97a08534e003eaf25abfa35279274263
Closes: https://bugs.gentoo.org/941411
Signed-off-by: Gabi Falk <gabifalk <AT> gmx.com>
Closes: https://github.com/gentoo/gentoo/pull/38956
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-ruby/io-event/io-event-1.5.1-r1.ebuild | 40 ++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/dev-ruby/io-event/io-event-1.5.1-r1.ebuild b/dev-ruby/io-event/io-event-1.5.1-r1.ebuild
new file mode 100644
index 000000000000..49f3e0ca5c6d
--- /dev/null
+++ b/dev-ruby/io-event/io-event-1.5.1-r1.ebuild
@@ -0,0 +1,40 @@
+# 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_EXTENSIONS=(ext/extconf.rb)
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="sus"
+
+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)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+io-uring"
+
+RDEPEND="io-uring? ( sys-libs/liburing:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.6.5-update-test-hooks.patch
+)
+
+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
+
+ if ! use io-uring ; then
+ sed -i -e "s:have_library('uring'):have_library('idonotexist_uring'):" ext/extconf.rb || die
+ fi
+}
next reply other threads:[~2024-12-01 12:37 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-01 12:37 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-06 7:42 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/io-event/ Hans de Graaff
2025-09-06 7:42 Hans de Graaff
2025-08-23 7:44 Hans de Graaff
2025-07-15 6:06 Hans de Graaff
2025-07-06 4:59 Hans de Graaff
2025-06-16 6:06 Hans de Graaff
2025-06-16 6:06 Hans de Graaff
2025-06-03 13:27 Hans de Graaff
2025-05-23 5:32 Hans de Graaff
2025-05-23 5:32 Hans de Graaff
2025-05-18 12:13 Arthur Zamarin
2025-03-16 11:09 Hans de Graaff
2025-03-16 11:09 Hans de Graaff
2025-02-08 1:08 Jakov Smolić
2025-01-03 10:26 Hans de Graaff
2024-12-16 6:19 Hans de Graaff
2024-12-08 18:55 Arthur Zamarin
2024-11-24 10:24 Hans de Graaff
2024-11-15 12:53 Hans de Graaff
2024-11-08 7:48 Hans de Graaff
2024-11-07 7:22 Hans de Graaff
2024-10-13 7:02 Hans de Graaff
2024-10-06 12:01 Sam James
2024-10-06 11:21 Sam James
2024-09-13 4:13 Sam James
2024-06-28 12:59 Sam James
2024-06-28 4:31 Hans de Graaff
2024-06-05 5:49 Hans de Graaff
2024-06-02 6:41 Hans de Graaff
2024-03-10 15:19 Hans de Graaff
2024-02-27 6:40 Hans de Graaff
2023-12-29 6:58 Arthur Zamarin
2023-12-29 0:24 Sam James
2023-12-28 6:56 Hans de Graaff
2023-10-24 9:30 Arthur Zamarin
2023-10-24 4:42 Hans de Graaff
2023-09-16 5:30 Hans de Graaff
2023-08-27 6:11 Hans de Graaff
2023-07-04 20:19 Sam James
2023-05-20 9:21 Sam James
2023-04-09 2:34 Sam James
2023-04-02 23:07 Sam James
2023-04-02 23:07 Sam James
2023-04-02 23:07 Sam James
2023-04-02 23:05 Sam James
2023-04-02 22:49 Sam James
2023-03-19 7:14 Hans de Graaff
2023-03-19 7:14 Hans de Graaff
2023-01-13 8:28 Hans de Graaff
2022-12-11 6:27 Hans de Graaff
2022-12-04 6:54 Hans de Graaff
2022-10-23 10:13 Hans de Graaff
2022-10-23 8:26 Hans de Graaff
2022-10-22 21:33 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1733056622.be34a2ecb62c1757d5f31d3534f8c897e6719a98.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox