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 9C51A1581FB for ; Sun, 25 Aug 2024 08:10:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 766D9E29EC; Sun, 25 Aug 2024 08:10:14 +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 5699AE29EC for ; Sun, 25 Aug 2024 08:10:14 +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 5D671340B57 for ; Sun, 25 Aug 2024 08:10:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B76051E6F for ; Sun, 25 Aug 2024 08:10:11 +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: <1724573400.d818ef2f1ae5da51d652261a300e6435d175b07c.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/actionview/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/actionview/actionview-7.2.1.ebuild X-VCS-Directories: dev-ruby/actionview/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d818ef2f1ae5da51d652261a300e6435d175b07c X-VCS-Branch: master Date: Sun, 25 Aug 2024 08:10:11 +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: 0cf27d0e-f973-4e67-ad51-6c873f93a6af X-Archives-Hash: dcfaac66ad126acc98b717663faea808 commit: d818ef2f1ae5da51d652261a300e6435d175b07c Author: Hans de Graaff gentoo org> AuthorDate: Sun Aug 25 08:07:06 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Aug 25 08:10:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d818ef2f dev-ruby/actionview: fix tests with ruby31, ruby32 Avoid tests that require the unpackaged prism parser. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/actionview/actionview-7.2.1.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-ruby/actionview/actionview-7.2.1.ebuild b/dev-ruby/actionview/actionview-7.2.1.ebuild index 11e0b65d9f0e..8ff948034e09 100644 --- a/dev-ruby/actionview/actionview-7.2.1.ebuild +++ b/dev-ruby/actionview/actionview-7.2.1.ebuild @@ -74,3 +74,14 @@ all_ruby_prepare() { sed -e '/test_sanitized_allowed_\(tags_class_method\|attributes_class_method\)/askip "Removed upstream"' \ -i test/template/sanitize_helper_test.rb || die } + +each_ruby_prepare() { + # The new prism parser is currently unpackaged and only included with ruby33. + case ${RUBY} in + *ruby31|*ruby32) + sed -e '/prism/ s:^:#:' \ + -e '/PrismRubyTrackerTest/,/^end/ s:^:#:' \ + -i test/template/dependency_tracker_test.rb || die + ;; + esac +}