diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-09-01 21:48:15 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-09-02 06:22:29 +0200 |
commit | 5dc08bd84e75cdb8983b35a2d1952312af38fb17 (patch) | |
tree | 00585263b16ccbbe2ac1fb14a563c036c140d6c2 /dev-java | |
parent | app-text/poppler: unkeyword 22.09.0 for a moment (diff) | |
download | gentoo-5dc08bd84e75cdb8983b35a2d1952312af38fb17.tar.gz gentoo-5dc08bd84e75cdb8983b35a2d1952312af38fb17.tar.bz2 gentoo-5dc08bd84e75cdb8983b35a2d1952312af38fb17.zip |
dev-java/htmlcleaner: drop 2.25
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27108
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/htmlcleaner/Manifest | 1 | ||||
-rw-r--r-- | dev-java/htmlcleaner/htmlcleaner-2.25.ebuild | 73 |
2 files changed, 0 insertions, 74 deletions
diff --git a/dev-java/htmlcleaner/Manifest b/dev-java/htmlcleaner/Manifest index 4352620f3de1..c055de4d6604 100644 --- a/dev-java/htmlcleaner/Manifest +++ b/dev-java/htmlcleaner/Manifest @@ -1,2 +1 @@ -DIST htmlcleaner-2.25-src.zip 414193 BLAKE2B e840b65665b23a6c55eda49a522994208b7178ddf924e60bdca9304c58df9bde343b31bbd4b7491db7bfd4fe0930283f9019d9213450618e0d50036563cced86 SHA512 fb49f0298b05008a727e7ba97a3444c6f8c31f65a9962e42bae63e1dab76fc7302f282daa45177daffcadbb73565685735f44b57107c62819bafa0db030c5ea3 DIST htmlcleaner-2.26-src.zip 414195 BLAKE2B c73533054bf7a8a66a767e53cbafecca1f174cb3be16e116ddd0e025e627603e225323e9095ea40b38a06c661ebe9f2a9e1f53736bf74fd8a2e41d909381c4fb SHA512 df1f9ccc696d538289a0addd19f8d955a3bcb0da88640208c513b2f4f0c4a3ee516b459aa3aae25d36d6ec09c4082b96484df287fb422add2eb160072668af5a diff --git a/dev-java/htmlcleaner/htmlcleaner-2.25.ebuild b/dev-java/htmlcleaner/htmlcleaner-2.25.ebuild deleted file mode 100644 index bb8c0221c59b..000000000000 --- a/dev-java/htmlcleaner/htmlcleaner-2.25.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="HTML parser written in Java that can be used as a tool, library or Ant task" -HOMEPAGE="http://htmlcleaner.sourceforge.net/" -SRC_URI="mirror://sourceforge/htmlcleaner/files/${P}-src.zip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-java/jdom:2" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:*" - -DEPEND=" - ${CDEPEND} - dev-java/ant-core:0 - test? ( dev-java/junit:4 ) - >=virtual/jdk-1.8:*" - -BDEPEND=" - app-arch/unzip" - -JAVA_SRC_DIR="src/main/java" -JAVA_GENTOO_CLASSPATH="jdom-2" - -PATCHES=( - "${FILESDIR}/${PN}-2.24-fix-tests.patch" -) - -src_prepare() { - default - # Don't require default.xml to be in the current directory. - sed -i "s:\"default\.xml\":\"${JAVA_PKG_SHAREPATH}/default.xml\":g" \ - src/main/java/org/htmlcleaner/ConfigFileTagProvider.java || die -} - -src_configure() { - JAVA_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only ant-core) -} - -src_install() { - java-pkg-simple_src_install - java-pkg_register-ant-task - java-pkg_dolauncher ${PN} --main org.${PN}.CommandLine - - insinto "${JAVA_PKG_SHAREPATH}" - newins example.xml default.xml -} - -src_test() { - local DIR="src/test/java" - local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})" - - local TESTS=$(find "${DIR}" -name "*Test.java" ! -name "Abstract*") - TESTS="${TESTS//src\/test\/java\/}" - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -classpath "${CP}" -d "${DIR}" $(find "${DIR}" -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} |