From 40f06f1a04a6e033e53541f7af46ec4772908d88 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sun, 5 May 2024 13:47:01 -0400 Subject: [PATCH] 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 --- ...ds-0.7.5-r2.ebuild => teeworlds-0.7.5-r3.ebuild} | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) rename games-action/teeworlds/{teeworlds-0.7.5-r2.ebuild => teeworlds-0.7.5-r3.ebuild} (83%) 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 484834e8512cc..7d39366980d7d 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