From 88c3ff8535a7d714ca96a85c685dad9915e73dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 29 Nov 2023 19:03:53 +0100 Subject: dev-python/protobuf-python: Enable py3.12 in 4.21.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/protobuf-python/protobuf-python-4.21.9.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev-python/protobuf-python') diff --git a/dev-python/protobuf-python/protobuf-python-4.21.9.ebuild b/dev-python/protobuf-python/protobuf-python-4.21.9.ebuild index 978ced742567..76cb2702273c 100644 --- a/dev-python/protobuf-python/protobuf-python-4.21.9.ebuild +++ b/dev-python/protobuf-python/protobuf-python-4.21.9.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -67,6 +67,10 @@ python_prepare_all() { eapply_user popd > /dev/null || die + # py3.12 + sed -i -e 's:assertRaisesRegexp:assertRaisesRegex:' \ + google/protobuf/internal/json_format_test.py || die + distutils-r1_python_prepare_all } -- cgit v1.2.3