From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECA16138239 for ; Fri, 12 Mar 2021 23:59:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D3F1E08F2; Fri, 12 Mar 2021 23:59:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25F29E08F2 for ; Fri, 12 Mar 2021 23:59:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26FDF340AC7 for ; Fri, 12 Mar 2021 23:59:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B9B2A47 for ; Fri, 12 Mar 2021 23:59:43 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1615593566.ca104aea54a40ea4b8f6fdbe143af07af00ce7b7.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/opengfx/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-misc/opengfx/opengfx-0.6.0.ebuild X-VCS-Directories: games-misc/opengfx/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: ca104aea54a40ea4b8f6fdbe143af07af00ce7b7 X-VCS-Branch: master Date: Fri, 12 Mar 2021 23:59:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57211a69-b409-489b-8840-6e9ead0fd9f5 X-Archives-Hash: 363b6c7469afb286e8c17f5bc1d9909d commit: ca104aea54a40ea4b8f6fdbe143af07af00ce7b7 Author: Conrad Kostecki gentoo org> AuthorDate: Fri Mar 12 23:58:06 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Mar 12 23:59:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca104aea 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 gentoo.org> games-misc/opengfx/opengfx-0.6.0.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/games-misc/opengfx/opengfx-0.6.0.ebuild b/games-misc/opengfx/opengfx-0.6.0.ebuild index 7e39ffe5a49..6c5137c6549 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