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 7D22715800D for ; Mon, 3 Jul 2023 09:15:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D389E07FA; Mon, 3 Jul 2023 09:15:05 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4DD68E07FA for ; Mon, 3 Jul 2023 09:15:05 +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 1E020335D55 for ; Mon, 3 Jul 2023 09:15:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 679A8AC8 for ; Mon, 3 Jul 2023 09:15:02 +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: <1688375698.8954c9fc6a7b466552a05dfc158ffea91576bccd.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/binding_of_caller/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r2.ebuild X-VCS-Directories: dev-ruby/binding_of_caller/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 8954c9fc6a7b466552a05dfc158ffea91576bccd X-VCS-Branch: master Date: Mon, 3 Jul 2023 09:15:02 +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: a1b3a9f4-7921-402b-b206-5eb4113ac525 X-Archives-Hash: 37b1576535b89b7b5ed9c94ecbb4e19d commit: 8954c9fc6a7b466552a05dfc158ffea91576bccd Author: Hans de Graaff gentoo org> AuthorDate: Mon Jul 3 06:06:47 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Jul 3 09:14:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8954c9fc dev-ruby/binding_of_caller: update EAPI 7 -> 8 Signed-off-by: Hans de Graaff gentoo.org> .../binding_of_caller-1.0.0-r2.ebuild | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r2.ebuild b/dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r2.ebuild new file mode 100644 index 000000000000..8d0a4d13f8f5 --- /dev/null +++ b/dev-ruby/binding_of_caller/binding_of_caller-1.0.0-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="binding_of_caller.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Retrieve the binding of a method's caller" +HOMEPAGE="https://github.com/banister/binding_of_caller" +SRC_URI="https://github.com/banister/binding_of_caller/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/debug_inspector-0.0.1" + +all_ruby_prepare() { + sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die +}