diff options
author | 2021-03-13 00:58:06 +0100 | |
---|---|---|
committer | 2021-03-13 00:59:26 +0100 | |
commit | ca104aea54a40ea4b8f6fdbe143af07af00ce7b7 (patch) | |
tree | ab96869a714095f203ac5925d26efb03d46e7126 /games-misc | |
parent | sci-electronics/klayout: Version bump 0.26.11 (diff) | |
download | gentoo-ca104aea54a40ea4b8f6fdbe143af07af00ce7b7.tar.gz gentoo-ca104aea54a40ea4b8f6fdbe143af07af00ce7b7.tar.bz2 gentoo-ca104aea54a40ea4b8f6fdbe143af07af00ce7b7.zip |
games-misc/opengfx: fix compilation with -native-symlinks
Closes: https://bugs.gentoo.org/775572
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/opengfx/opengfx-0.6.0.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/games-misc/opengfx/opengfx-0.6.0.ebuild b/games-misc/opengfx/opengfx-0.6.0.ebuild index 7e39ffe5a490..6c5137c6549c 100644 --- a/games-misc/opengfx/opengfx-0.6.0.ebuild +++ b/games-misc/opengfx/opengfx-0.6.0.ebuild @@ -1,9 +1,12 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 MY_PN="OpenGFX" +PYTHON_COMPAT=( python3_{7..9} ) + +inherit python-any-r1 DESCRIPTION="OpenGFX data files for OpenTTD" HOMEPAGE="http://bundles.openttdcoop.org/opengfx/" @@ -23,11 +26,14 @@ DOCS=( "README.md" "changelog.txt" ) src_prepare() { default + + python-any-r1_pkg_setup } src_compile() { myemakeargs=( GIMP="" + PYHTON="${EPYTHON}" ) emake "${myemakeargs[@]}" all @@ -36,6 +42,7 @@ src_compile() { src_test() { myemakeargs=( GIMP="" + PYHTON="${EPYTHON}" ) emake "${myemakeargs[@]}" check @@ -48,6 +55,7 @@ src_install() { DO_NOT_INSTALL_CHANGELOG="true" GIMP="" INSTALL_DIR="${ED}/usr/share/games/openttd/data/" + PYHTON="${EPYTHON}" ) emake "${myemakeargs[@]}" install |