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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 79492158042 for ; Sun, 3 Nov 2024 09:12:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1C1EE0837; Sun, 3 Nov 2024 09:12:30 +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 83C6EE0837 for ; Sun, 3 Nov 2024 09:12:30 +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 862B93430E3 for ; Sun, 3 Nov 2024 09:12:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8A3D1D0A for ; Sun, 3 Nov 2024 09:12:27 +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: <1730625120.9990fcfe98daa6ae75b6afeac3108756d266a788.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rbst/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rbst/rbst-0.6.5-r1.ebuild X-VCS-Directories: dev-ruby/rbst/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 9990fcfe98daa6ae75b6afeac3108756d266a788 X-VCS-Branch: master Date: Sun, 3 Nov 2024 09:12:27 +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: e92f8eee-00a8-4cca-bb5f-54eec3e44382 X-Archives-Hash: f93589b85bb239b23bd6dfe35a8e6a94 commit: 9990fcfe98daa6ae75b6afeac3108756d266a788 Author: Hans de Graaff gentoo org> AuthorDate: Sun Nov 3 08:23:09 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Nov 3 09:12:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9990fcfe dev-ruby/rbst: add python3_12, ruby33, fix tests Closes: https://bugs.gentoo.org/835404 Closes: https://bugs.gentoo.org/929523 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rbst/rbst-0.6.5-r1.ebuild | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/dev-ruby/rbst/rbst-0.6.5-r1.ebuild b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild index 8b44aba69e0c..4033cecb817c 100644 --- a/dev-ruby/rbst/rbst-0.6.5-r1.ebuild +++ b/dev-ruby/rbst/rbst-0.6.5-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) -USE_RUBY="ruby30 ruby31 ruby32" +PYTHON_COMPAT=( python3_{10..12} ) +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_NAME="RbST" RUBY_FAKEGEM_GEMSPEC="RbST.gemspec" @@ -34,7 +34,7 @@ DEPEND=" ruby_add_bdepend " test? ( >=dev-ruby/minitest-5.14.0:5 - >=dev-ruby/mocha-1.1.0:1.0 + dev-ruby/mocha:2 ) " @@ -57,4 +57,12 @@ all_ruby_prepare() { # force our python version sed -i -e "s:\(python_path=\"\)python:\1${EPYTHON}:" lib/rbst.rb || die python_fix_shebang lib/rst2parts + + # Update test file for latest docutils output + sed -e '/footnote/ s/id1/footnote-1/' \ + -e '/backref/ s/id3/footnote-reference-1/' \ + -e '/backref/ s/id4/citation-reference-1/' \ + -e '/footnote-reference/ s/id3/footnote-reference-1/' \ + -e '/citation-reference/ s/id4/citation-reference-1/' \ + -i test/files/test.html || die }