1 |
commit: 2d782708992f33dfeb0aeb9c44a65cb4bc60019e |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 21 21:50:51 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 21 21:50:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d782708 |
7 |
|
8 |
app-text/libxmlpatch: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild | 27 +++++++++++++++------------ |
14 |
1 file changed, 15 insertions(+), 12 deletions(-) |
15 |
|
16 |
diff --git a/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild b/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild |
17 |
index 51ae4624c90..d38ce9c286d 100644 |
18 |
--- a/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild |
19 |
+++ b/app-text/libxmlpatch/libxmlpatch-0.3.3.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
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 |
-inherit eutils autotools |
29 |
+inherit autotools |
30 |
|
31 |
DESCRIPTION="A set of tools to create and apply patch to XML files using XPath" |
32 |
HOMEPAGE="http://xmlpatch.sourceforge.net/" |
33 |
@@ -12,30 +12,33 @@ SRC_URI="mirror://sourceforge/${PN/lib}/${P}.tar.gz" |
34 |
LICENSE="LGPL-2.1" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64" |
37 |
-IUSE="test static-libs" |
38 |
+IUSE="test" |
39 |
RESTRICT="!test? ( test )" |
40 |
|
41 |
-RDEPEND="dev-libs/glib:2 |
42 |
+RDEPEND=" |
43 |
+ dev-libs/glib:2 |
44 |
dev-libs/libxml2" |
45 |
DEPEND="${RDEPEND} |
46 |
- test? ( dev-libs/check ) |
47 |
- virtual/pkgconfig" |
48 |
+ test? ( dev-libs/check )" |
49 |
+BDEPEND="virtual/pkgconfig" |
50 |
+ |
51 |
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) |
52 |
|
53 |
src_prepare() { |
54 |
- epatch "${FILESDIR}"/${P}-gentoo.patch |
55 |
+ default |
56 |
+ mv configure.{in,ac} || die |
57 |
eautoreconf |
58 |
} |
59 |
|
60 |
src_configure() { |
61 |
econf \ |
62 |
- $(use_enable static-libs static) \ |
63 |
+ --disable-static \ |
64 |
$(use_with test check) |
65 |
} |
66 |
|
67 |
-DOCS=( LEGAL_NOTICE README TODO ChangeLog ) |
68 |
- |
69 |
src_install() { |
70 |
default |
71 |
|
72 |
- find "${D}" -name '*.la' -delete |
73 |
+ # no static archives |
74 |
+ find "${D}" -name '*.la' -delete || die |
75 |
} |