commit: e2654dd5d8095b35bfaec49d41e535e517ffce55 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Wed Jan 6 14:23:53 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> 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 <juippis <AT> 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() {
