1 |
commit: 5dc08bd84e75cdb8983b35a2d1952312af38fb17 |
2 |
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> |
3 |
AuthorDate: Thu Sep 1 19:48:15 2022 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 04:22:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc08bd8 |
7 |
|
8 |
dev-java/htmlcleaner: drop 2.25 |
9 |
|
10 |
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/27108 |
12 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
13 |
|
14 |
dev-java/htmlcleaner/Manifest | 1 - |
15 |
dev-java/htmlcleaner/htmlcleaner-2.25.ebuild | 73 ---------------------------- |
16 |
2 files changed, 74 deletions(-) |
17 |
|
18 |
diff --git a/dev-java/htmlcleaner/Manifest b/dev-java/htmlcleaner/Manifest |
19 |
index 4352620f3de1..c055de4d6604 100644 |
20 |
--- a/dev-java/htmlcleaner/Manifest |
21 |
+++ b/dev-java/htmlcleaner/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST htmlcleaner-2.25-src.zip 414193 BLAKE2B e840b65665b23a6c55eda49a522994208b7178ddf924e60bdca9304c58df9bde343b31bbd4b7491db7bfd4fe0930283f9019d9213450618e0d50036563cced86 SHA512 fb49f0298b05008a727e7ba97a3444c6f8c31f65a9962e42bae63e1dab76fc7302f282daa45177daffcadbb73565685735f44b57107c62819bafa0db030c5ea3 |
24 |
DIST htmlcleaner-2.26-src.zip 414195 BLAKE2B c73533054bf7a8a66a767e53cbafecca1f174cb3be16e116ddd0e025e627603e225323e9095ea40b38a06c661ebe9f2a9e1f53736bf74fd8a2e41d909381c4fb SHA512 df1f9ccc696d538289a0addd19f8d955a3bcb0da88640208c513b2f4f0c4a3ee516b459aa3aae25d36d6ec09c4082b96484df287fb422add2eb160072668af5a |
25 |
|
26 |
diff --git a/dev-java/htmlcleaner/htmlcleaner-2.25.ebuild b/dev-java/htmlcleaner/htmlcleaner-2.25.ebuild |
27 |
deleted file mode 100644 |
28 |
index bb8c0221c59b..000000000000 |
29 |
--- a/dev-java/htmlcleaner/htmlcleaner-2.25.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,73 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-JAVA_PKG_IUSE="doc source" |
38 |
- |
39 |
-inherit java-pkg-2 java-pkg-simple |
40 |
- |
41 |
-DESCRIPTION="HTML parser written in Java that can be used as a tool, library or Ant task" |
42 |
-HOMEPAGE="http://htmlcleaner.sourceforge.net/" |
43 |
-SRC_URI="mirror://sourceforge/htmlcleaner/files/${P}-src.zip" |
44 |
- |
45 |
-LICENSE="BSD" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 x86" |
48 |
-IUSE="test" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-CDEPEND="dev-java/jdom:2" |
52 |
- |
53 |
-RDEPEND=" |
54 |
- ${CDEPEND} |
55 |
- >=virtual/jre-1.8:*" |
56 |
- |
57 |
-DEPEND=" |
58 |
- ${CDEPEND} |
59 |
- dev-java/ant-core:0 |
60 |
- test? ( dev-java/junit:4 ) |
61 |
- >=virtual/jdk-1.8:*" |
62 |
- |
63 |
-BDEPEND=" |
64 |
- app-arch/unzip" |
65 |
- |
66 |
-JAVA_SRC_DIR="src/main/java" |
67 |
-JAVA_GENTOO_CLASSPATH="jdom-2" |
68 |
- |
69 |
-PATCHES=( |
70 |
- "${FILESDIR}/${PN}-2.24-fix-tests.patch" |
71 |
-) |
72 |
- |
73 |
-src_prepare() { |
74 |
- default |
75 |
- # Don't require default.xml to be in the current directory. |
76 |
- sed -i "s:\"default\.xml\":\"${JAVA_PKG_SHAREPATH}/default.xml\":g" \ |
77 |
- src/main/java/org/htmlcleaner/ConfigFileTagProvider.java || die |
78 |
-} |
79 |
- |
80 |
-src_configure() { |
81 |
- JAVA_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only ant-core) |
82 |
-} |
83 |
- |
84 |
-src_install() { |
85 |
- java-pkg-simple_src_install |
86 |
- java-pkg_register-ant-task |
87 |
- java-pkg_dolauncher ${PN} --main org.${PN}.CommandLine |
88 |
- |
89 |
- insinto "${JAVA_PKG_SHAREPATH}" |
90 |
- newins example.xml default.xml |
91 |
-} |
92 |
- |
93 |
-src_test() { |
94 |
- local DIR="src/test/java" |
95 |
- local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})" |
96 |
- |
97 |
- local TESTS=$(find "${DIR}" -name "*Test.java" ! -name "Abstract*") |
98 |
- TESTS="${TESTS//src\/test\/java\/}" |
99 |
- TESTS="${TESTS//.java}" |
100 |
- TESTS="${TESTS//\//.}" |
101 |
- |
102 |
- ejavac -classpath "${CP}" -d "${DIR}" $(find "${DIR}" -name "*.java") |
103 |
- ejunit4 -classpath "${CP}" ${TESTS} |
104 |
-} |