commit:     40f06f1a04a6e033e53541f7af46ec4772908d88
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun May  5 17:47:01 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun May  5 23:43:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f06f1a

games-action/teeworlds: enable py3.12 + tidy

-DPYTHON_EXECUTABLE is no longer necessary, handled by cmake.eclass
(uses the right python from a quick look)

fwiw revbump to update python-any-r1 BDEPEND given this rarely gets
bumps

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

 ...{teeworlds-0.7.5-r2.ebuild => teeworlds-0.7.5-r3.ebuild} | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/games-action/teeworlds/teeworlds-0.7.5-r2.ebuild 
b/games-action/teeworlds/teeworlds-0.7.5-r3.ebuild
similarity index 83%
rename from games-action/teeworlds/teeworlds-0.7.5-r2.ebuild
rename to games-action/teeworlds/teeworlds-0.7.5-r3.ebuild
index 484834e8512c..7d39366980d7 100644
--- a/games-action/teeworlds/teeworlds-0.7.5-r2.ebuild
+++ b/games-action/teeworlds/teeworlds-0.7.5-r3.ebuild
@@ -1,17 +1,18 @@
-# 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 cmake desktop flag-o-matic python-any-r1
 
 DESCRIPTION="Online multi-player platform 2D shooter"
 HOMEPAGE="https://www.teeworlds.com/";
 SRC_URI="
        
https://github.com/teeworlds/teeworlds/releases/download/${PV}/teeworlds-${PV}-src.tar.gz
-       https://dev.gentoo.org/~ionen/distfiles/${PN}.png";
-S="${WORKDIR}/${P}-src"
+       https://dev.gentoo.org/~ionen/distfiles/${PN}.png
+"
+S=${WORKDIR}/${P}-src
 
 LICENSE="ZLIB"
 SLOT="0"
@@ -27,7 +28,8 @@ RDEPEND="
                media-sound/wavpack
        )
        dev-libs/openssl:=
-       sys-libs/zlib:="
+       sys-libs/zlib:=
+"
 DEPEND="${RDEPEND}"
 BDEPEND="${PYTHON_DEPS}"
 
@@ -37,7 +39,6 @@ src_configure() {
        local mycmakeargs=(
                -DCLIENT=$(usex !dedicated)
                -DCMAKE_DISABLE_FIND_PACKAGE_X11=yes # unused
-               -DPYTHON_EXECUTABLE="${PYTHON}"
        )
 
        cmake_src_configure

Reply via email to