commit:     2c33968f950b08f34b861551a93f8dbd46c863b1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun May  5 16:50:52 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun May  5 23:37:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c33968f

games-arcade/whichwayisup: enable py3.12 + tidy

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

 games-arcade/whichwayisup/whichwayisup-0.7.9_p8.ebuild | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/games-arcade/whichwayisup/whichwayisup-0.7.9_p8.ebuild 
b/games-arcade/whichwayisup/whichwayisup-0.7.9_p8.ebuild
index c8c7fe0a4dd2..b20c0cfa5fc5 100644
--- a/games-arcade/whichwayisup/whichwayisup-0.7.9_p8.ebuild
+++ b/games-arcade/whichwayisup/whichwayisup-0.7.9_p8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit desktop python-single-r1
 
 DESCRIPTION="Traditional and challenging 2D platformer game with a slight 
rotational twist"
@@ -11,8 +11,9 @@ HOMEPAGE="https://www.oletus.fi/static/whichwayisup/";
 SRC_URI="
        https://www.oletus.fi/static/whichwayisup/${PN}_b079.zip
        
mirror://debian/pool/main/${P::1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz
-       https://dev.gentoo.org/~ionen/distfiles/${PN}.png";
-S="${WORKDIR}/${PN}"
+       https://dev.gentoo.org/~ionen/distfiles/${PN}.png
+"
+S=${WORKDIR}/${PN}
 
 LICENSE="BitstreamVera CC-BY-3.0 GPL-2"
 SLOT="0"
@@ -23,10 +24,12 @@ RDEPEND="
        ${PYTHON_DEPS}
        $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]')
        media-libs/sdl2-image[png]
-       media-libs/sdl2-mixer[vorbis]"
+       media-libs/sdl2-mixer[vorbis]
+"
 BDEPEND="
        ${PYTHON_DEPS}
-       app-arch/unzip"
+       app-arch/unzip
+"
 
 PATCHES=(
        "${WORKDIR}"/debian/patches
@@ -34,7 +37,7 @@ PATCHES=(
 
 src_prepare() {
        # drop Debian specific patch
-       rm "${WORKDIR}"/debian/patches/font_path.patch || die
+       rm -- "${WORKDIR}"/debian/patches/font_path.patch || die
 
        default
 

Reply via email to