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 A41D71382C5 for ; Tue, 19 Jan 2021 10:37:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7199E0837; Tue, 19 Jan 2021 10:37:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 C6B11E0837 for ; Tue, 19 Jan 2021 10:37:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 92E5C340D35 for ; Tue, 19 Jan 2021 10:37:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 443DC46B for ; Tue, 19 Jan 2021 10:37:50 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1611052662.41a8354c8d6f7578eb84bae8d818d835a4122001.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/terminology/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/terminology/terminology-1.9.0.ebuild X-VCS-Directories: x11-terms/terminology/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 41a8354c8d6f7578eb84bae8d818d835a4122001 X-VCS-Branch: master Date: Tue, 19 Jan 2021 10:37:50 +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: a57621e4-0ac7-4277-86a5-4fc6f23cceb8 X-Archives-Hash: 651a59a48664e4bfb4e6f36fc98a47a3 commit: 41a8354c8d6f7578eb84bae8d818d835a4122001 Author: Joonas Niilola gentoo org> AuthorDate: Tue Jan 19 10:35:50 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Jan 19 10:37:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a8354c x11-terms/terminology: fix python-exec[-native-symlinks] Closes: https://bugs.gentoo.org/766081 Signed-off-by: Joonas Niilola gentoo.org> x11-terms/terminology/terminology-1.9.0.ebuild | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/x11-terms/terminology/terminology-1.9.0.ebuild b/x11-terms/terminology/terminology-1.9.0.ebuild index c855f868258..17d64492f40 100644 --- a/x11-terms/terminology/terminology-1.9.0.ebuild +++ b/x11-terms/terminology/terminology-1.9.0.ebuild @@ -3,7 +3,9 @@ EAPI=7 -inherit meson xdg-utils +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit meson python-any-r1 xdg-utils DESCRIPTION="Feature rich terminal emulator using the Enlightenment Foundation Libraries" HOMEPAGE="https://www.enlightenment.org/about-terminology" @@ -19,9 +21,22 @@ RDEPEND="|| ( dev-libs/efl[gles2-only] dev-libs/efl[opengl] ) app-arch/lz4 dev-libs/efl[eet,fontconfig]" DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig nls? ( sys-devel/gettext )" +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + default + + # Fix python shebangs for python-exec[-native-symlinks], #766081 + local shebangs=($(grep -rl "#!/usr/bin/env python3" || die)) + python_fix_shebang -q ${shebangs[*]} +} + src_configure() { local emesonargs=( $(meson_use nls)