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 48BD6158020 for ; Sun, 4 Dec 2022 09:19:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FA70E0843; Sun, 4 Dec 2022 09:19:12 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 21FE0E0843 for ; Sun, 4 Dec 2022 09:19:12 +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 31EA03412C7 for ; Sun, 4 Dec 2022 09:19:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A1038766 for ; Sun, 4 Dec 2022 09:19:09 +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: <1670145492.62568f4d1a57aea7b4e06e69f1e123207b7004ea.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubytter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild X-VCS-Directories: dev-ruby/rubytter/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 62568f4d1a57aea7b4e06e69f1e123207b7004ea X-VCS-Branch: master Date: Sun, 4 Dec 2022 09:19:09 +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: 483e18d0-7099-42ab-a835-e2403c6bf36e X-Archives-Hash: e88ed522966a66451db685f6190de748 commit: 62568f4d1a57aea7b4e06e69f1e123207b7004ea Author: Hans de Graaff gentoo org> AuthorDate: Sun Dec 4 07:36:49 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 4 09:18:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62568f4d dev-ruby/rubytter: enable ruby30 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild b/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild index fe3e99a12891..ceca69b7b4e4 100644 --- a/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild +++ b/dev-ruby/rubytter/rubytter-1.5.1-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -USE_RUBY="ruby27" +USE_RUBY="ruby27 ruby30" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -23,5 +23,9 @@ ruby_add_rdepend ">=dev-ruby/json-1.1.3:* >=dev-ruby/oauth-0.3.6" all_ruby_prepare() { sed -i -e '/bundler/d' -e '/check_dependencies/ s:^:#:' Rakefile || die + # Make specs work with rspec 3 sed -i -e 's/stub!/stub/ ; 250 s/pending/skip/' spec/rubytter_spec.rb || die + + # Make specs work with ruby30 + sed -i -e '27i{' -e '30i}' spec/rubytter/oauth_spec.rb || die }