From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 13A501584F2 for ; Tue, 18 Mar 2025 13:02:32 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id F0C59342FF2 for ; Tue, 18 Mar 2025 13:02:31 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 746E51103C7; Tue, 18 Mar 2025 13:02:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 6AAF51103C7 for ; Tue, 18 Mar 2025 13:02:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F2EE34319E for ; Tue, 18 Mar 2025 13:02:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24E3D236F for ; Tue, 18 Mar 2025 13:02:26 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1742302937.e3db09e4c49bc8b7234d7189f19e7ce346336f4a.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sus-fixtures-console/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sus-fixtures-console/Manifest dev-ruby/sus-fixtures-console/metadata.xml dev-ruby/sus-fixtures-console/sus-fixtures-console-0.3.1.ebuild X-VCS-Directories: dev-ruby/sus-fixtures-console/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e3db09e4c49bc8b7234d7189f19e7ce346336f4a X-VCS-Branch: master Date: Tue, 18 Mar 2025 13:02:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fb67eed3-1202-44e1-86c1-f15d90a722b5 X-Archives-Hash: 5f3777869c4f36f1ddc8d9ef1ced0d32 commit: e3db09e4c49bc8b7234d7189f19e7ce346336f4a Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 18 13:01:59 2025 +0000 Commit: Hans de Graaff gentoo 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 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 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + socketry/sus-fixtures-console + sus-fixtures-console + + 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 +}