summaryrefslogtreecommitdiff
path: root/app-text/html-xml-utils/html-xml-utils-8.7.ebuild
diff options
context:
space:
mode:
authorFilip Kobierski <fkobi@pm.me>2025-03-04 13:04:03 +0100
committerArthur Zamarin <arthurzam@gentoo.org>2025-03-08 09:09:03 +0200
commitd2d3e19356fd67715ca5ac3202b290d3a4de1cc8 (patch)
treed10f45185b9b8922299476795b7d5390435882d9 /app-text/html-xml-utils/html-xml-utils-8.7.ebuild
parent3b02d52fc1860ccbd86824afc64c46c4f02bef7b (diff)
downloadgentoo-d2d3e19356fd67715ca5ac3202b290d3a4de1cc8.tar.gz
gentoo-d2d3e19356fd67715ca5ac3202b290d3a4de1cc8.tar.bz2
gentoo-d2d3e19356fd67715ca5ac3202b290d3a4de1cc8.zip
app-text/html-xml-utils: add 8.7
Signed-off-by: Filip Kobierski <fkobi@pm.me> Closes: https://github.com/gentoo/gentoo/pull/40885 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-text/html-xml-utils/html-xml-utils-8.7.ebuild')
-rw-r--r--app-text/html-xml-utils/html-xml-utils-8.7.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-text/html-xml-utils/html-xml-utils-8.7.ebuild b/app-text/html-xml-utils/html-xml-utils-8.7.ebuild
new file mode 100644
index 000000000000..24e4663711cc
--- /dev/null
+++ b/app-text/html-xml-utils/html-xml-utils-8.7.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A number of simple utilities for manipulating HTML and XML files"
+HOMEPAGE="https://www.w3.org/Tools/HTML-XML-utils/"
+SRC_URI="https://www.w3.org/Tools/HTML-XML-utils/${P}.tar.gz"
+
+LICENSE="W3C"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-linux ~ppc-macos"
+
+RDEPEND="
+ net-dns/libidn2:=
+ net-misc/curl
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ sed -e "/doc_DATA = COPYING/d" -i Makefile.in || die
+}
+
+src_test() {
+ # Lots of tests lack a shebang and use bashisms
+ # (seems to be better wrt bashisms as of 8.6, but still no shebang. recheck?)
+ # (as of 8.7 4 tests fail with app-shells/dash)
+ emake check SHELL="${BROOT}"/bin/bash
+}