commit:     6767ce1df22ca7d22972510cb665a6e80be75f30
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 17 05:18:21 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jan 17 05:54:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6767ce1d

games-puzzle/pathological: enable py3.11

Also quote EPREFIX while here, and EPYTHON fwiw (not a real
worry but it's often quoted in ebuilds anyway).

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild 
b/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
index f26cee1eff8d..4b6bfac95bb9 100644
--- a/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
+++ b/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit desktop optfeature python-single-r1
 
 MY_P="${PN}-$(ver_cut 1-3)"
@@ -43,8 +43,8 @@ src_prepare() {
 
        default
 
-       sed -e "s|^cd .*/|cd ${EPREFIX}/usr/share/|" \
-               -e "s|^exec|exec ${EPYTHON}|" \
+       sed -e "s|^cd .*/|cd ${EPREFIX@Q}/usr/share/|" \
+               -e "s|^exec|exec ${EPYTHON@Q}|" \
                -i ${PN} || die
 
        gzip -d ${PN}.6.gz || die

Reply via email to