diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-08-01 18:46:50 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-08-02 13:52:51 +0200 |
commit | 5ccc77bd20a8836b6ccd33124f192e202ac7e8ad (patch) | |
tree | 4340f9a1b0289b43656c148676d7e43a56b9510b /dev-java | |
parent | www-apps/radicale: bump to 3.1.8 (diff) | |
download | gentoo-5ccc77bd20a8836b6ccd33124f192e202ac7e8ad.tar.gz gentoo-5ccc77bd20a8836b6ccd33124f192e202ac7e8ad.tar.bz2 gentoo-5ccc77bd20a8836b6ccd33124f192e202ac7e8ad.zip |
dev-java/htmlcleaner: add 2.26
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26697
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/htmlcleaner/Manifest | 1 | ||||
-rw-r--r-- | dev-java/htmlcleaner/htmlcleaner-2.26.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/htmlcleaner/Manifest b/dev-java/htmlcleaner/Manifest index bf12edd4b46d..4352620f3de1 100644 --- a/dev-java/htmlcleaner/Manifest +++ b/dev-java/htmlcleaner/Manifest @@ -1 +1,2 @@ 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.26.ebuild b/dev-java/htmlcleaner/htmlcleaner-2.26.ebuild new file mode 100644 index 000000000000..2bb65af8d069 --- /dev/null +++ b/dev-java/htmlcleaner/htmlcleaner-2.26.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="net.sourceforge.htmlcleaner:htmlcleaner:2.26" +JAVA_TESTING_FRAMEWORKS="junit-4" + +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/project/htmlcleaner/htmlcleaner/htmlcleaner%20v${PV}/htmlcleaner-${PV}-src.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND="dev-java/jdom:2" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DEPEND=" + ${CP_DEPEND} + dev-java/ant-core:0 + >=virtual/jdk-1.8:* + test? ( dev-java/junit:4 ) +" + +BDEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}/${PN}-2.24-fix-tests.patch" +) + +JAVA_CLASSPATH_EXTRA="ant-core" +JAVA_SRC_DIR="src/main/java" +JAVA_MAIN_CLASS="org.htmlcleaner.CommandLine" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" + +src_prepare() { + default # https://bugs.gentoo.org/780585 +} + +src_install() { + java-pkg-simple_src_install + java-pkg_register-ant-task + + insinto "${JAVA_PKG_SHAREPATH}" + newins example.xml default.xml +} |