public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sus-fixtures-async/
Date: Mon, 21 Apr 2025 16:58:27 +0000 (UTC)	[thread overview]
Message-ID: <1745254692.acc33f1fdfd2bc3374f4a8972b67261ebc4570bb.graaff@gentoo> (raw)

commit:     acc33f1fdfd2bc3374f4a8972b67261ebc4570bb
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 21 16:55:52 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Apr 21 16:58:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc33f1f

dev-ruby/sus-fixtures-async: add ruby34

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

 .../sus-fixtures-async-0.2.0-r1.ebuild             | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.2.0-r1.ebuild b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..3b6181fc7a88
--- /dev/null
+++ b/dev-ruby/sus-fixtures-async/sus-fixtures-async-0.2.0-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="sus"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Convenient fixture for testing async components in a reactor"
+HOMEPAGE="https://github.com/socketry/sus-fixtures-async"
+SRC_URI="https://github.com/socketry/sus-fixtures-async/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~riscv ~sparc ~x86"
+
+ruby_add_rdepend "
+	dev-ruby/async
+	>=dev-ruby/sus-0.10:0
+"
+
+all_ruby_prepare() {
+	sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+	# Remove the sus configuration which enabled coverage checks.
+	# Its dependency is not packaged.
+	rm -f config/sus.rb || die
+}


             reply	other threads:[~2025-04-21 16:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-21 16:58 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-24  8:05 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sus-fixtures-async/ Arthur Zamarin
2024-10-23 19:23 Arthur Zamarin
2024-09-18  8:56 Hans de Graaff
2024-09-13  4:13 Sam James
2024-08-19  5:46 Hans de Graaff
2024-07-24  6:01 Hans de Graaff
2024-06-28 12:59 Sam James
2024-01-03  7:14 Hans de Graaff
2023-12-04  7:19 Hans de Graaff
2023-10-24  9:30 Arthur Zamarin
2023-08-27  6:11 Hans de Graaff
2023-07-04 20:19 Sam James
2023-04-11 17:52 Jakov Smolić
2023-04-09  2:34 Sam James
2023-04-07  8:39 Sam James
2023-04-07  8:39 Sam James
2023-04-07  8:36 Sam James
2023-04-03  3:17 Sam James
2023-04-03  3:17 Sam James
2023-04-03  3:17 Sam James

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=1745254692.acc33f1fdfd2bc3374f4a8972b67261ebc4570bb.graaff@gentoo \
    --to=graaff@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