app-misc/jpipe: enable py3.12

Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Zac Medico 2024-03-06 11:09:56 -08:00
parent 1c46dc85b8
commit b76d223267
No known key found for this signature in database
GPG Key ID: D075FB8C104A3D20
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@
EAPI=8
GO_OPTIONAL=1
DISTUTILS_OPTIONAL=1
PYTHON_COMPAT=( python3_{10,11} )
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit go-module distutils-r1 pypi
@ -65,6 +65,8 @@ python_prepare_all() {
if ! use jp-symlink; then
sed -e '/"jp = jpipe/d' -i setup.py || die
fi
sed -e 's:entry_points()\["console_scripts"\]:entry_points().select(group="console_scripts"):' \
-i lib/python/jpipe/cmd/main.py || die
distutils-r1_python_prepare_all
}