commit:     a615a3e47898a2bb94d3f20c3c18a410ce800614
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun May  5 16:44:51 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun May  5 23:37:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a615a3e4

games-puzzle/pathological: enable py3.12 + tidy

Closes: https://bugs.gentoo.org/929591
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../pathological/pathological-1.1.3_p16-r3.ebuild         | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 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 a96b81bfc608..c1bc614588a3 100644
--- a/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
+++ b/games-puzzle/pathological/pathological-1.1.3_p16-r3.ebuild
@@ -3,17 +3,18 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit desktop optfeature python-single-r1
 
-MY_P="${PN}-$(ver_cut 1-3)"
+MY_P=${PN}-$(ver_cut 1-3)
 
 DESCRIPTION="Enriched clone of the game 'Logical' by Rainbow Arts"
 HOMEPAGE="https://pathological.sourceforge.net/";
 SRC_URI="
        https://downloads.sourceforge.net/pathological/${MY_P}.tar.gz
-       
mirror://debian/pool/main/p/pathological/${MY_P/-/_}-${PV/*_p}.debian.tar.xz"
-S="${WORKDIR}/${MY_P}"
+       
mirror://debian/pool/main/p/pathological/${MY_P/-/_}-${PV/*_p}.debian.tar.xz
+"
+S=${WORKDIR}/${MY_P}
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -24,10 +25,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RDEPEND="
        ${PYTHON_DEPS}
        media-libs/sdl2-image[jpeg,png]
-       $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]')"
+       $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]')
+"
 BDEPEND="
        ${PYTHON_DEPS}
-       doc? ( media-libs/netpbm[png] )"
+       doc? ( media-libs/netpbm[png] )
+"
 
 PATCHES=(
        "${FILESDIR}"/${P}-pygame2-compat.patch

Reply via email to