summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-05 13:47:01 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-05 19:43:46 -0400
commit40f06f1a04a6e033e53541f7af46ec4772908d88 (patch)
tree4fbda9d3f48ee250fc5016e0af472f49f6ec55a8
parentgames-arcade/commandergenius: enable py3.12 + tidy (diff)
downloadgentoo-40f06f1a04a6e033e53541f7af46ec4772908d88.tar.gz
gentoo-40f06f1a04a6e033e53541f7af46ec4772908d88.tar.bz2
gentoo-40f06f1a04a6e033e53541f7af46ec4772908d88.zip
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@gentoo.org>
-rw-r--r--games-action/teeworlds/teeworlds-0.7.5-r3.ebuild (renamed from games-action/teeworlds/teeworlds-0.7.5-r2.ebuild)13
1 files 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
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