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 7E476158043 for ; Sun, 14 Apr 2024 12:54:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DFCAE29F8; Sun, 14 Apr 2024 12:54:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 165B5E29F6 for ; Sun, 14 Apr 2024 12:54:40 +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 1DF3F3433AB for ; Sun, 14 Apr 2024 12:54:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70D0616D2 for ; Sun, 14 Apr 2024 12:54:37 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1713099271.ffb4893c977876ec4be9252dbf255f97d263ceb3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/antlr4-python3-runtime/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild X-VCS-Directories: dev-python/antlr4-python3-runtime/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ffb4893c977876ec4be9252dbf255f97d263ceb3 X-VCS-Branch: master Date: Sun, 14 Apr 2024 12:54:37 +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: ee72d944-abd4-4f0d-b8f1-28cf261cc811 X-Archives-Hash: d2d47bcccefae1ea5bc916c87ef50018 commit: ffb4893c977876ec4be9252dbf255f97d263ceb3 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 14 12:48:57 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Apr 14 12:54:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb4893c dev-python/antlr4-python3-runtime: Enable py3.12 Closes: https://bugs.gentoo.org/929434 Signed-off-by: Michał Górny gentoo.org> .../antlr4-python3-runtime-4.13.1.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild b/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild index 31dcc7c87016..495831c62f21 100644 --- a/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild +++ b/dev-python/antlr4-python3-runtime/antlr4-python3-runtime-4.13.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -25,6 +25,13 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" +src_prepare() { + # https://github.com/antlr/antlr4/pull/4593 + sed -i -e 's:assertEquals:assertEqual:' tests/TestIntervalSet.py || die + + distutils-r1_src_prepare +} + python_test() { "${EPYTHON}" tests/run.py -v || die "Tests failed with ${EPYTHON}" }