diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-13 17:34:27 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-13 17:34:27 +0100 |
commit | 3eaca4ad70ca78083f82df38d8f41983a715c1d8 (patch) | |
tree | d33419a3155b7d7afb2bea2ef41577ed6c914413 /dev-java/jsoup/jsoup-1.8.3.ebuild | |
parent | dev-libs/go-fuse: treeclean (diff) | |
download | gentoo-3eaca4ad70ca78083f82df38d8f41983a715c1d8.tar.gz gentoo-3eaca4ad70ca78083f82df38d8f41983a715c1d8.tar.bz2 gentoo-3eaca4ad70ca78083f82df38d8f41983a715c1d8.zip |
dev-java/jsoup: treeclean
Bug: https://bugs.gentoo.org/808948
Closes: https://bugs.gentoo.org/641776
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-java/jsoup/jsoup-1.8.3.ebuild')
-rw-r--r-- | dev-java/jsoup/jsoup-1.8.3.ebuild | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/dev-java/jsoup/jsoup-1.8.3.ebuild b/dev-java/jsoup/jsoup-1.8.3.ebuild deleted file mode 100644 index 103a8ed904c7..000000000000 --- a/dev-java/jsoup/jsoup-1.8.3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source test" - -inherit java-pkg-2 java-pkg-simple - -MY_PV="${PV}a" -MY_P="${PN}-${PN}-${MY_PV}" - -DESCRIPTION="Java HTML parser that makes sense of real-world HTML soup" -HOMEPAGE="https://jsoup.org/" -SRC_URI="https://github.com/jhy/${PN}/archive/${PN}-${MY_PV}.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux" - -IUSE="" - -RDEPEND=">=virtual/jre-1.6" -DEPEND=">=virtual/jdk-1.6 - test? ( dev-java/junit:4 )" - -S="${WORKDIR}/${MY_P}" - -JAVA_SRC_DIR="src/main/java" - -java_prepare() { - rm pom.xml || die - mkdir -p target/classes/org/jsoup/nodes/ || die - cp src/main/java/org/jsoup/nodes/*.properties target/classes/org/jsoup/nodes/ || die -} - -src_test() { - testcp="${S}/${PN}.jar:$(java-pkg_getjars junit-4):target/tests" - - mkdir target/tests || die - ejavac -cp "${testcp}" -d target/tests $(find src/test/java -name "*.java") - cp -r src/test/resources/* target/tests || die - - tests=$(find target/tests -name "*Test.class" \ - | sed -e 's/target\/tests\///g' -e "s/\.class//" -e "s/\//./g" \ - | grep -vP '\$'); - ejunit4 -cp "${testcp}" ${tests} -} |