mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user