From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03D87158020 for ; Sat, 22 Oct 2022 21:34:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D85E7E0916; Sat, 22 Oct 2022 21:34:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id BB33EE091C for ; Sat, 22 Oct 2022 21:34:00 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF1FB3411E3 for ; Sat, 22 Oct 2022 21:33:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36824692 for ; Sat, 22 Oct 2022 21:33:57 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1666474390.057a7d0e4f535761e9deb32fc0cecffa7a1835ec.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rspec-files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rspec-files/Manifest dev-ruby/rspec-files/metadata.xml dev-ruby/rspec-files/rspec-files-1.1.1.ebuild X-VCS-Directories: dev-ruby/rspec-files/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 057a7d0e4f535761e9deb32fc0cecffa7a1835ec X-VCS-Branch: master Date: Sat, 22 Oct 2022 21:33:57 +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: e429489c-e6b4-480c-93b9-8734deca5a70 X-Archives-Hash: 7e6bde51d196724f503251c319818c7d commit: 057a7d0e4f535761e9deb32fc0cecffa7a1835ec Author: matoro users noreply github com> AuthorDate: Wed Jun 15 04:36:13 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Oct 22 21:33:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=057a7d0e dev-ruby/rspec-files: new package, add 1.1.1 Signed-off-by: matoro users.noreply.github.com> Signed-off-by: Matt Turner gentoo.org> dev-ruby/rspec-files/Manifest | 1 + dev-ruby/rspec-files/metadata.xml | 11 +++++++++++ dev-ruby/rspec-files/rspec-files-1.1.1.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/dev-ruby/rspec-files/Manifest b/dev-ruby/rspec-files/Manifest new file mode 100644 index 000000000000..5eb4b6e486c0 --- /dev/null +++ b/dev-ruby/rspec-files/Manifest @@ -0,0 +1 @@ +DIST rspec-files-1.1.1.tar.gz 4460 BLAKE2B ac2a17383173f3b562e93c42061b90ae9a5dab908bcc8bdd5d32f4ad20d3735beb602aab97e9d97acd78071a55ebe4c83adc611ffa9ebf5b0ea92878641e92f3 SHA512 e0c71361911d00f0df316f05bd69a187a219e963721a1f90b8ef8fb5a479c06c9f9ac41fa3c35417a0cb024f165b842506ff088a5d371ee6a4b022c97b9fc028 diff --git a/dev-ruby/rspec-files/metadata.xml b/dev-ruby/rspec-files/metadata.xml new file mode 100644 index 000000000000..dfae27f7746a --- /dev/null +++ b/dev-ruby/rspec-files/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + socketry/rspec-files + + diff --git a/dev-ruby/rspec-files/rspec-files-1.1.1.ebuild b/dev-ruby/rspec-files/rspec-files-1.1.1.ebuild new file mode 100644 index 000000000000..b1009e5db552 --- /dev/null +++ b/dev-ruby/rspec-files/rspec-files-1.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="RSpec helpers for buffering and detecting file descriptor leaks" +HOMEPAGE="https://github.com/socketry/rspec-files" +SRC_URI="https://github.com/socketry/rspec-files/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~sparc" +IUSE="" + +ruby_add_rdepend "dev-ruby/rspec:3" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + sed -i -E 's/require '"'"'covered\/rspec'"'"'//g' "spec/spec_helper.rb" || die +}