diff options
Diffstat (limited to 'dev-python/protobuf-python')
| -rw-r--r-- | dev-python/protobuf-python/protobuf-python-4.21.9.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
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 } |
