Skip to content

Commit

Permalink
games-arcade/commandergenius: enable py3.12 + tidy
Browse files Browse the repository at this point in the history
Still needs the bump that would remove python altogether,
but I don't have the game data to run it and would rather
not handle it. Adding 3.12 is also pretty tentative.

Closes: https://bugs.gentoo.org/929568
Signed-off-by: Ionen Wolkens <[email protected]>
  • Loading branch information
ionenwks committed May 5, 2024
1 parent 2eb3247 commit baa52b0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions games-arcade/commandergenius/commandergenius-2.4.0-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,18 +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

# note: version >=2.5.0 switches from python to lua
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake flag-o-matic python-single-r1 xdg

MY_P="Commander-Genius-v${PV}"
MY_P=Commander-Genius-v${PV}

DESCRIPTION="Open Source Commander Keen clone (needs original game files)"
HOMEPAGE="https://clonekeenplus.sourceforge.io/"
SRC_URI="https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v${PV}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
S=${WORKDIR}/${MY_P}

LICENSE="GPL-2"
SLOT="0"
Expand All @@ -29,10 +29,12 @@ RDEPEND="
sys-libs/zlib[minizip]
downloader? ( net-misc/curl )
opengl? ( virtual/opengl )
python? ( ${PYTHON_DEPS} )"
python? ( ${PYTHON_DEPS} )
"
DEPEND="
${RDEPEND}
dev-libs/boost"
dev-libs/boost
"
BDEPEND="python? ( ${PYTHON_DEPS} )"

PATCHES=(
Expand Down

0 comments on commit baa52b0

Please sign in to comment.