summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-14 22:39:52 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-14 22:40:15 +0100
commit44e6b5e4382e3d470d6481279c253732c2de7096 (patch)
treee27f172af31f9f3059f3e3d808523848e3f1cd95 /games-strategy/colobot-data
parentsys-devel/clang: Require matching compiler-rt version for tests (diff)
downloadgentoo-44e6b5e4382e3d470d6481279c253732c2de7096.tar.gz
gentoo-44e6b5e4382e3d470d6481279c253732c2de7096.tar.bz2
gentoo-44e6b5e4382e3d470d6481279c253732c2de7096.zip
games-strategy/colobot-data: Add build-time dep on Python
Closes: https://bugs.gentoo.org/765469 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-strategy/colobot-data')
-rw-r--r--games-strategy/colobot-data/colobot-data-0.1.12.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/games-strategy/colobot-data/colobot-data-0.1.12.ebuild b/games-strategy/colobot-data/colobot-data-0.1.12.ebuild
index 79e1a2927dc4..d63d0f6787bd 100644
--- a/games-strategy/colobot-data/colobot-data-0.1.12.ebuild
+++ b/games-strategy/colobot-data/colobot-data-0.1.12.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake
+PYTHON_COMPAT=( python3_{7..9} )
+inherit cmake python-any-r1
MY_P=colobot-gold-${PV}-alpha
MUSIC_P=colobot-music_ogg_${PV}-alpha
@@ -14,13 +15,14 @@ SRC_URI="
https://github.com/colobot/colobot-data/archive/${MY_P}.tar.gz -> ${MY_P}.data.tar.gz
music? (
https://colobot.info/files/music/${MUSIC_P}.tar.gz )"
+S=${WORKDIR}/${PN}-${MY_P}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+music"
-S="${WORKDIR}/${PN}-${MY_P}"
+BDEPEND=${PYTHON_DEPS}
src_unpack() {
unpack "${MY_P}.data.tar.gz"