dev-python/protobuf-python: Enable py3.12 in 4.21.9

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-11-29 19:03:53 +01:00
parent e053d90a67
commit 88c3ff8535

View File

@@ -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
}