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 B05EE1382C5 for ; Wed, 6 Jan 2021 14:25:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4451E0928; Wed, 6 Jan 2021 14:25:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 BB776E0928 for ; Wed, 6 Jan 2021 14:25:14 +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 64F3D33BE0F for ; Wed, 6 Jan 2021 14:25:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAFE832B for ; Wed, 6 Jan 2021 14:25:11 +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: <1609943104.e2654dd5d8095b35bfaec49d41e535e517ffce55.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/efl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/efl/efl-1.25.1-r10.ebuild X-VCS-Directories: dev-libs/efl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: e2654dd5d8095b35bfaec49d41e535e517ffce55 X-VCS-Branch: master Date: Wed, 6 Jan 2021 14:25:11 +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: 57112aa4-6ecf-41d8-b132-f7803457f00c X-Archives-Hash: d731c51f5bd335a74d283fbb3fd1bb69 commit: e2654dd5d8095b35bfaec49d41e535e517ffce55 Author: Joonas Niilola gentoo org> AuthorDate: Wed Jan 6 14:23:53 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jan 6 14:25:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2654dd5 dev-libs/efl: fix python-exec[-native-symlinks] compile Closes: https://bugs.gentoo.org/764086 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/efl/efl-1.25.1-r10.ebuild | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/dev-libs/efl/efl-1.25.1-r10.ebuild b/dev-libs/efl/efl-1.25.1-r10.ebuild index d6f621178a8..7a8161c35b2 100644 --- a/dev-libs/efl/efl-1.25.1-r10.ebuild +++ b/dev-libs/efl/efl-1.25.1-r10.ebuild @@ -1,14 +1,16 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -LUA_COMPAT=( lua5-{1..3} luajit ) - DOCS_BUILDER="doxygen" DOCS_DIR="${S}/doc" -inherit docs lua-single meson xdg-utils +LUA_COMPAT=( lua5-{1..3} luajit ) + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit docs lua-single meson python-any-r1 xdg-utils DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" HOMEPAGE="https://www.enlightenment.org" @@ -127,13 +129,16 @@ RDEPEND="${LUA_DEPS} xpresent? ( x11-libs/libXpresent ) zeroconf? ( net-dns/avahi )" DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig nls? ( sys-devel/gettext )" pkg_setup() { # Deprecated, provided for backward-compatibility. Everything is moved to libefreet.so. QA_FLAGS_IGNORED="/usr/$(get_libdir)/libefreet_trash.so.1.25.1 /usr/$(get_libdir)/libefreet_mime.so.1.25.1" + + python-any-r1_pkg_setup } src_prepare() { @@ -155,6 +160,10 @@ src_prepare() { -e "s/@srcdir@/./g" \ Doxyfile || die popd || die + + # Fix python shebangs for python-exec[-native-symlinks], #764086 + local shebangs=($(grep -rl "#!/usr/bin/env python3" || die)) + python_fix_shebang -q ${shebangs[*]} } src_configure() {