From 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 20 Mar 2021 14:27:17 +0000 Subject: gentoo resync : 20.03.2021 --- games-misc/opengfx/Manifest | 2 +- games-misc/opengfx/opengfx-0.6.0.ebuild | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'games-misc/opengfx') diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest index 9428d3ef7c06..ce6aa75e33bb 100644 --- a/games-misc/opengfx/Manifest +++ b/games-misc/opengfx/Manifest @@ -1,3 +1,3 @@ DIST opengfx-0.6.0-source.tar.xz 9693320 BLAKE2B cb1d25fb038b3b481c0abe206426b5843c2f7b81b7cf81a525ebf8b217359c5ea50c0e1ee1ed37d5093a0186231a1e1b9134624a8b69362f6733c6c13d5e1500 SHA512 275b9040e6938bdd5bee2d39361e0b78f447a8e497cc8ff018c7874dc16a357870f8b560999ebb2f2f0b275644c7c9ce85c964875f5a798e2ec45e62a8bc768f -EBUILD opengfx-0.6.0.ebuild 907 BLAKE2B d8735c660e9966316a17fefcbbea22cf664756554dabd2fb62e6c8518a32e3e9ead95dc9c093a7265ffa90b17f87e510e32c787d135902b97a13cde21cb612a0 SHA512 db264a6e5ddf87064c0629fd798a6f0d02440a1278d653387b83cb60ea71118de2d800721ae5ee7f9626b9b2e3395acc2f00bed385d0313530e4699792119383 +EBUILD opengfx-0.6.0.ebuild 1071 BLAKE2B fe484ff55815c0a3637832d27d592678fa5caaf6806958f88563f07d48d85a0b10a4ced7aade17572d2a03c70d2fb754e916b683afcd57388aa95d5d094710ed SHA512 23473534dce3d7c5db504ca0a57f52de1258599c45989056d5342444617f2bcd791fdbb3f1d27589de2b3d72082a7406617ad5826a7d487aeb27799a8e6aede4 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-misc/opengfx/opengfx-0.6.0.ebuild b/games-misc/opengfx/opengfx-0.6.0.ebuild index 7e39ffe5a490..e2ab2499de5a 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/" @@ -17,17 +20,21 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86" DEPEND=" games-util/grfcodec games-util/nml + ${PYTHON_DEPS} " DOCS=( "README.md" "changelog.txt" ) src_prepare() { default + + python-any-r1_pkg_setup } src_compile() { myemakeargs=( GIMP="" + PYHTON="${EPYTHON}" ) emake "${myemakeargs[@]}" all @@ -36,6 +43,7 @@ src_compile() { src_test() { myemakeargs=( GIMP="" + PYHTON="${EPYTHON}" ) emake "${myemakeargs[@]}" check @@ -48,6 +56,7 @@ src_install() { DO_NOT_INSTALL_CHANGELOG="true" GIMP="" INSTALL_DIR="${ED}/usr/share/games/openttd/data/" + PYHTON="${EPYTHON}" ) emake "${myemakeargs[@]}" install -- cgit v1.2.3