Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnxml/
Date: Sun, 09 Feb 2020 18:50:26
Message-Id: 1581274188.c167246c3c5a7276b034688d9b97def591c737a3.soap@gentoo
1 commit: c167246c3c5a7276b034688d9b97def591c737a3
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 9 18:49:48 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 18:49:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c167246c
7
8 net-libs/libnxml: Port to EAPI 7
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 net-libs/libnxml/libnxml-0.18.3.ebuild | 31 +++++++++++++++----------------
14 1 file changed, 15 insertions(+), 16 deletions(-)
15
16 diff --git a/net-libs/libnxml/libnxml-0.18.3.ebuild b/net-libs/libnxml/libnxml-0.18.3.ebuild
17 index 259c8a928c0..8d4062c2bd0 100644
18 --- a/net-libs/libnxml/libnxml-0.18.3.ebuild
19 +++ b/net-libs/libnxml/libnxml-0.18.3.ebuild
20 @@ -1,7 +1,7 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="4"
26 +EAPI=7
27
28 DESCRIPTION="A C-library for parsing and writing XML 1.0/1.1 files or streams"
29 HOMEPAGE="http://www.autistici.org/bakunin/libnxml/doc/"
30 @@ -10,23 +10,25 @@ SRC_URI="http://www.autistici.org/bakunin/${PN}/${P}.tar.gz"
31 LICENSE="LGPL-2.1"
32 SLOT="0"
33 KEYWORDS="amd64 ~arm ~mips ppc ~sparc x86"
34 -IUSE="doc examples static-libs"
35 +IUSE="doc examples"
36
37 RDEPEND="net-misc/curl"
38 -DEPEND="${RDEPEND}
39 - doc? ( app-doc/doxygen )"
40 +DEPEND="${RDEPEND}"
41 +BDEPEND="doc? ( app-doc/doxygen )"
42
43 src_configure() {
44 - econf \
45 - $(use_enable static-libs static)
46 + econf --disable-static
47 }
48
49 src_compile() {
50 - emake
51 + default
52
53 if use doc; then
54 ebegin "Creating documentation"
55 - doxygen doxy.conf || die "creating docs failed"
56 + doxygen doxy.conf || die "generating docs failed"
57 + # clean out doxygen gunk
58 + rm doc/html/*.{md5,map} || die
59 + HTML_DOCS=( doc/html/. )
60 eend 0
61 fi
62 }
63 @@ -34,14 +36,11 @@ src_compile() {
64 src_install() {
65 default
66
67 - if use doc; then
68 - dohtml doc/html/*
69 - fi
70 -
71 if use examples; then
72 - insinto /usr/share/doc/${PF}/test
73 - doins test/*.c
74 + docinto test
75 + dodoc test/*.c
76 fi
77
78 - find "${D}" -name '*.la' -delete
79 + # no static archives
80 + find "${D}" -name '*.la' -delete || die
81 }