Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libieee1284/
Date: Tue, 01 Sep 2020 10:43:50
Message-Id: 1598957015.48ce504c726b6796a20fefac6b1f6d3c1803adbd.whissi@gentoo
1 commit: 48ce504c726b6796a20fefac6b1f6d3c1803adbd
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 1 10:30:35 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 10:43:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ce504c
7
8 sys-libs/libieee1284: migrate to EAPI=7
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild | 22 +++++++++++++---------
14 1 file changed, 13 insertions(+), 9 deletions(-)
15
16 diff --git a/sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild b/sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild
17 index 9cb0704f1c1..6966e3e27a5 100644
18 --- a/sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild
19 +++ b/sys-libs/libieee1284/libieee1284-0.2.11-r7.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2020 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="6"
25 +EAPI="7"
26
27 PYTHON_COMPAT=( python2_7 )
28
29 @@ -17,25 +17,29 @@ KEYWORDS="amd64 ppc x86"
30 IUSE="doc python static-libs"
31 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
32
33 -RDEPEND="
34 - python? ( ${PYTHON_DEPS} )"
35 -DEPEND="${RDEPEND}
36 - doc? (
37 +BDEPEND="doc? (
38 app-text/docbook-sgml-utils
39 >=app-text/docbook-sgml-dtd-4.1
40 app-text/docbook-dsssl-stylesheets
41 dev-perl/XML-RegExp
42 )"
43
44 +DEPEND="python? ( ${PYTHON_DEPS} )"
45 +
46 +RDEPEND="${DEPEND}"
47 +
48 pkg_setup() {
49 use python && python-single-r1_pkg_setup
50 }
51
52 multilib_src_configure() {
53 - ECONF_SOURCE="${S}" econf \
54 - --enable-shared \
55 - $(use_enable static-libs static) \
56 + local myeconfargs=(
57 + --enable-shared
58 + $(use_enable static-libs static)
59 $(multilib_native_use_with python)
60 + )
61 +
62 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
63 }
64
65 multilib_src_install_all() {
66 @@ -43,6 +47,6 @@ multilib_src_install_all() {
67 dodoc doc/interface*
68
69 if ! use static-libs; then
70 - find "${D}" -name '*.la' -delete || die
71 + find "${ED}" -name '*.la' -delete || die
72 fi
73 }