diff options
author | 2021-01-06 16:23:53 +0200 | |
---|---|---|
committer | 2021-01-06 16:25:04 +0200 | |
commit | e2654dd5d8095b35bfaec49d41e535e517ffce55 (patch) | |
tree | 0cbd7e42a09004f15843d099d938414e4e8a48a0 /dev-libs/efl | |
parent | media-gfx/xloadimage: drop x86-macos (diff) | |
download | gentoo-e2654dd5d8095b35bfaec49d41e535e517ffce55.tar.gz gentoo-e2654dd5d8095b35bfaec49d41e535e517ffce55.tar.bz2 gentoo-e2654dd5d8095b35bfaec49d41e535e517ffce55.zip |
dev-libs/efl: fix python-exec[-native-symlinks] compile
Closes: https://bugs.gentoo.org/764086
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/efl')
-rw-r--r-- | dev-libs/efl/efl-1.25.1-r10.ebuild | 19 |
1 files 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 d6f621178a8a..7a8161c35b20 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() { |