public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sus-fixtures-console/
@ 2025-03-18 13:02 Hans de Graaff
  0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2025-03-18 13:02 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-18 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18 13:02 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sus-fixtures-console/ Hans de Graaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox