Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/efl/
Date: Wed, 06 Jan 2021 14:25:15
Message-Id: 1609943104.e2654dd5d8095b35bfaec49d41e535e517ffce55.juippis@gentoo
1 commit: e2654dd5d8095b35bfaec49d41e535e517ffce55
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 6 14:23:53 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 6 14:25:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2654dd5
7
8 dev-libs/efl: fix python-exec[-native-symlinks] compile
9
10 Closes: https://bugs.gentoo.org/764086
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 dev-libs/efl/efl-1.25.1-r10.ebuild | 19 ++++++++++++++-----
14 1 file changed, 14 insertions(+), 5 deletions(-)
15
16 diff --git a/dev-libs/efl/efl-1.25.1-r10.ebuild b/dev-libs/efl/efl-1.25.1-r10.ebuild
17 index d6f621178a8..7a8161c35b2 100644
18 --- a/dev-libs/efl/efl-1.25.1-r10.ebuild
19 +++ b/dev-libs/efl/efl-1.25.1-r10.ebuild
20 @@ -1,14 +1,16 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 -LUA_COMPAT=( lua5-{1..3} luajit )
28 -
29 DOCS_BUILDER="doxygen"
30 DOCS_DIR="${S}/doc"
31
32 -inherit docs lua-single meson xdg-utils
33 +LUA_COMPAT=( lua5-{1..3} luajit )
34 +
35 +PYTHON_COMPAT=( python3_{7,8,9} )
36 +
37 +inherit docs lua-single meson python-any-r1 xdg-utils
38
39 DESCRIPTION="Enlightenment Foundation Libraries all-in-one package"
40 HOMEPAGE="https://www.enlightenment.org"
41 @@ -127,13 +129,16 @@ RDEPEND="${LUA_DEPS}
42 xpresent? ( x11-libs/libXpresent )
43 zeroconf? ( net-dns/avahi )"
44 DEPEND="${RDEPEND}"
45 -BDEPEND="virtual/pkgconfig
46 +BDEPEND="${PYTHON_DEPS}
47 + virtual/pkgconfig
48 nls? ( sys-devel/gettext )"
49
50 pkg_setup() {
51 # Deprecated, provided for backward-compatibility. Everything is moved to libefreet.so.
52 QA_FLAGS_IGNORED="/usr/$(get_libdir)/libefreet_trash.so.1.25.1
53 /usr/$(get_libdir)/libefreet_mime.so.1.25.1"
54 +
55 + python-any-r1_pkg_setup
56 }
57
58 src_prepare() {
59 @@ -155,6 +160,10 @@ src_prepare() {
60 -e "s/@srcdir@/./g" \
61 Doxyfile || die
62 popd || die
63 +
64 + # Fix python shebangs for python-exec[-native-symlinks], #764086
65 + local shebangs=($(grep -rl "#!/usr/bin/env python3" || die))
66 + python_fix_shebang -q ${shebangs[*]}
67 }
68
69 src_configure() {