From f34b56e7ac8a76fad917b4ea2b52178e94a6ef64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 14 Jul 2026 19:04:36 +0200 Subject: [PATCH] dev-python/extras: Enable py3.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/extras/extras-1.0.0-r2.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/extras/extras-1.0.0-r2.ebuild b/dev-python/extras/extras-1.0.0-r2.ebuild index 35c16de8b8874..95766c515c355 100644 --- a/dev-python/extras/extras-1.0.0-r2.ebuild +++ b/dev-python/extras/extras-1.0.0-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi @@ -27,3 +27,9 @@ BDEPEND=" " distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e 's:assertEquals:assertEqual:' extras/tests/test_*.py || die +}