diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-05-26 10:22:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-26 12:33:58 +0000 |
commit | 67ab9299ea5ad0a6dfb2e2a8ae8068385cebf36e (patch) | |
tree | 1f729aa3f52c6ab5ba21eff90a89ced693221653 /dev-java/jstun/jstun-0.7.3.ebuild | |
parent | dev-java/jreleaseinfo: Remove last-rited pkg (diff) | |
download | gentoo-67ab9299ea5ad0a6dfb2e2a8ae8068385cebf36e.tar.gz gentoo-67ab9299ea5ad0a6dfb2e2a8ae8068385cebf36e.tar.bz2 gentoo-67ab9299ea5ad0a6dfb2e2a8ae8068385cebf36e.zip |
dev-java/jstun: Remove last-rited pkg
Closes: https://bugs.gentoo.org/786486
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/jstun/jstun-0.7.3.ebuild')
-rw-r--r-- | dev-java/jstun/jstun-0.7.3.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/dev-java/jstun/jstun-0.7.3.ebuild b/dev-java/jstun/jstun-0.7.3.ebuild deleted file mode 100644 index c50d44fcd0f7..000000000000 --- a/dev-java/jstun/jstun-0.7.3.ebuild +++ /dev/null @@ -1,62 +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-ant-2 - -DESCRIPTION="Java-based STUN implementation" -HOMEPAGE="https://jstun.javawi.de/" -SRC_URI="https://${PN}.javawi.de/${P}.src.tar.gz" - -LICENSE="Apache-2.0 GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -CDEPEND="dev-java/slf4j-api:0" - -RDEPEND=" - >=virtual/jre-1.5 - ${CDEPEND}" - -DEPEND=" - >=virtual/jdk-1.5 - test? ( dev-java/junit:0 ) - ${CDEPEND}" - -S="${WORKDIR}/STUN" - -# Tests contain no main function; demos contain main function, but contact -# external domains as well as aren't really tests. TODO: A main function needs -# to be written in order to be able to test de.javawi.jstun.AllTests. -RESTRICT="test" - -EANT_BUILD_XML="build/build.xml" - -java_prepare() { - rm -v *.jar build/*.jar || die - - java-pkg_jar-from slf4j-api -} - -EANT_TEST_GENTOO_CLASSPATH="junit" -EANT_TEST_TARGET="jar-test" -JAVA_ANT_REWRITE_CLASSPATH="true" - -src_test() { - local cp="$(java-pkg_getjars --build-only junit)" - - java-pkg-2_src_test - - java -cp target/${PN}-test-${PV}.jar:${cp} de.javawi.jstun.AllTests \ - || die "Tests failed." -} - -src_install() { - java-pkg_newjar target/${P}.jar ${PN}.jar - - use doc && java-pkg_dojavadoc target/javadoc - use source && java-pkg_dosrc src -} |