diff options
Diffstat (limited to 'games-misc/opengfx/opengfx-0.6.0.ebuild')
-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 |