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-console/
Date: Tue, 18 Mar 2025 13:02:26 +0000 (UTC) [thread overview]
Message-ID: <1742302937.e3db09e4c49bc8b7234d7189f19e7ce346336f4a.graaff@gentoo> (raw)
commit: e3db09e4c49bc8b7234d7189f19e7ce346336f4a
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 18 13:01:59 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Mar 18 13:02:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3db09e4
dev-ruby/sus-fixtures-console: new package, add 0.3.1
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/sus-fixtures-console/Manifest | 1 +
dev-ruby/sus-fixtures-console/metadata.xml | 12 ++++++++
.../sus-fixtures-console-0.3.1.ebuild | 33 ++++++++++++++++++++++
3 files changed, 46 insertions(+)
diff --git a/dev-ruby/sus-fixtures-console/Manifest b/dev-ruby/sus-fixtures-console/Manifest
new file mode 100644
index 000000000000..5a8d435f40f6
--- /dev/null
+++ b/dev-ruby/sus-fixtures-console/Manifest
@@ -0,0 +1 @@
+DIST sus-fixtures-console-0.3.1.tar.gz 6668 BLAKE2B 71bb58c752ab06f05d8b1c9f47de874c8be9b23e16f4db554719b6adbd82e2a6b28b9977f8a6a25519f3a5e08f454b07f0cc57aeb94f648136710149da43b647 SHA512 5230de445b7e69b5e2a391d65d4f96fac8a0bf9f4f43207348a2d9d81d5dbef9fc3d30b3d057b28697053dce1360ab177a10045860e4bdb8cca172bd572a51f4
diff --git a/dev-ruby/sus-fixtures-console/metadata.xml b/dev-ruby/sus-fixtures-console/metadata.xml
new file mode 100644
index 000000000000..b16aee4950c4
--- /dev/null
+++ b/dev-ruby/sus-fixtures-console/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">socketry/sus-fixtures-console</remote-id>
+ <remote-id type="rubygems">sus-fixtures-console</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/sus-fixtures-console/sus-fixtures-console-0.3.1.ebuild b/dev-ruby/sus-fixtures-console/sus-fixtures-console-0.3.1.ebuild
new file mode 100644
index 000000000000..5ca8260a8512
--- /dev/null
+++ b/dev-ruby/sus-fixtures-console/sus-fixtures-console-0.3.1.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"
+
+RUBY_FAKEGEM_EXTRADOC="readme.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="sus"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Test fixtures for capturing Console output"
+HOMEPAGE="https://github.com/socketry/sus-fixtures-console"
+SRC_URI="https://github.com/socketry/sus-fixtures-console/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+ruby_add_rdepend "
+ >=dev-ruby/console-1.25:1
+ >=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
+}
next reply other threads:[~2025-03-18 13:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-18 13:02 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-18 4:43 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sus-fixtures-console/ Hans de Graaff
2025-05-20 16:17 Sam James
2025-10-12 7:23 Hans de Graaff
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=1742302937.e3db09e4c49bc8b7234d7189f19e7ce346336f4a.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