Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/html-xml-utils/
Date: Mon, 01 Aug 2022 03:15:45
Message-Id: 1659323663.b54147860c8e9ee6eaca0e4ac6ee809c2c24a049.sam@gentoo
1 commit: b54147860c8e9ee6eaca0e4ac6ee809c2c24a049
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 02:58:18 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 03:14:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5414786
7
8 app-text/html-xml-utils: [QA] EAPI 8, drop multilib, fix tests, fix deps
9
10 - EAPI 8
11 - Drop multilib-minimal (installs only binaries)
12 - Clean up phase definitions (almost all not needed)
13 - Fix tests (missing shebang and fail w/ non-bash, so force bash for them)
14 - Fix dependencies (missing libidn2, although could use libidn, let's not
15 add deps on legacy stuff).
16
17 Signed-off-by: Sam James <sam <AT> gentoo.org>
18
19 .../html-xml-utils/html-xml-utils-7.8-r1.ebuild | 28 ++++++++++++++++++++++
20 1 file changed, 28 insertions(+)
21
22 diff --git a/app-text/html-xml-utils/html-xml-utils-7.8-r1.ebuild b/app-text/html-xml-utils/html-xml-utils-7.8-r1.ebuild
23 new file mode 100644
24 index 000000000000..28ec0c74a63f
25 --- /dev/null
26 +++ b/app-text/html-xml-utils/html-xml-utils-7.8-r1.ebuild
27 @@ -0,0 +1,28 @@
28 +# Copyright 1999-2022 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=8
32 +
33 +DESCRIPTION="A number of simple utilities for manipulating HTML and XML files"
34 +HOMEPAGE="https://www.w3.org/Tools/HTML-XML-utils/"
35 +SRC_URI="https://www.w3.org/Tools/HTML-XML-utils/${P}.tar.gz"
36 +
37 +LICENSE="W3C"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-linux ~ppc-macos"
40 +
41 +RDEPEND="
42 + net-dns/libidn2:=
43 + net-misc/curl
44 +"
45 +DEPEND="${RDEPEND}"
46 +
47 +src_prepare() {
48 + default
49 + sed -e "/doc_DATA = COPYING/d" -i Makefile.in || die
50 +}
51 +
52 +src_test() {
53 + # Lots of tests lack a shebang and use bashisms
54 + emake check SHELL="${BROOT}"/bin/bash
55 +}