summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-03-06 11:09:56 -0800
committerZac Medico <zmedico@gentoo.org>2024-03-06 11:11:29 -0800
commitb76d223267731f6bb962739ddab67c6db821bdf8 (patch)
treeb9bc69058c374cbc2506d2b07cb4bcb87d0ed239 /app-misc/jpipe
parentsys-kernel/gentoo-sources: add 6.7.9 (diff)
downloadgentoo-b76d223267731f6bb962739ddab67c6db821bdf8.tar.gz
gentoo-b76d223267731f6bb962739ddab67c6db821bdf8.tar.bz2
gentoo-b76d223267731f6bb962739ddab67c6db821bdf8.zip
app-misc/jpipe: enable py3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-misc/jpipe')
-rw-r--r--app-misc/jpipe/jpipe-0.2.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-misc/jpipe/jpipe-0.2.0-r1.ebuild b/app-misc/jpipe/jpipe-0.2.0-r1.ebuild
index ac4e8aa09cd1..df98fabb80f0 100644
--- a/app-misc/jpipe/jpipe-0.2.0-r1.ebuild
+++ b/app-misc/jpipe/jpipe-0.2.0-r1.ebuild
@@ -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
}