summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-03-10 13:30:27 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-03-10 15:29:34 +0100
commitb857aede9fcd5652077e6a0f593ea1f86409f2ba (patch)
tree3532041ab9f037017067bfa4ba502f20a86ddedd
parentdev-java/openjdk-bin: drop 21.0.1_p12 and 8.382_p05 (diff)
downloadgentoo-b857aede9fcd5652077e6a0f593ea1f86409f2ba.tar.gz
gentoo-b857aede9fcd5652077e6a0f593ea1f86409f2ba.tar.bz2
gentoo-b857aede9fcd5652077e6a0f593ea1f86409f2ba.zip
dev-java/emma: drop 2.0.5312-r5
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35677 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--dev-java/emma/emma-2.0.5312-r5.ebuild84
1 files changed, 0 insertions, 84 deletions
diff --git a/dev-java/emma/emma-2.0.5312-r5.ebuild b/dev-java/emma/emma-2.0.5312-r5.ebuild
deleted file mode 100644
index ba18147cfcf8..000000000000
--- a/dev-java/emma/emma-2.0.5312-r5.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source"
-MAVEN_PROVIDES="
- emma:emma:${PV}
- emma:emma_ant:${PV}
-"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Free Java code coverage tool"
-HOMEPAGE="https://emma.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/emma/emma-release/${PV}/${P}-src.zip"
-S="${WORKDIR}/${P}"
-
-LICENSE="CPL-1.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-IUSE="+launcher"
-
-BDEPEND="app-arch/unzip"
-CP_DEPEND="dev-java/ant-core:0"
-DEPEND="${CP_DEPEND}
- >=virtual/jdk-1.8:*"
-RDEPEND="${CP_DEPEND}
- >=virtual/jre-1.8:*
- launcher? ( !sci-biology/emboss:0 )"
-
-PATCHES=( "${FILESDIR}/emma-2.0.5312-java15api.patch" )
-
-src_prepare() {
- default #780585
-}
-
-src_compile() {
- einfo "Compiling emma.jar"
- JAVA_JAR_FILENAME="emma.jar"
- JAVA_MAIN_CLASS="emmarun"
- JAVA_RESOURCE_DIRS=( core/res )
- JAVA_SRC_DIR=( core/data core/java1{2,3,4} )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":emma.jar"
- rm -r target || die
-
- einfo "Compiling emma_ant.jar"
- JAVA_JAR_FILENAME="emma_ant.jar"
- JAVA_MAIN_CLASS="com.vladium.emma.ANTMain"
- JAVA_RESOURCE_DIRS=()
- JAVA_SRC_DIR=( ant/ant1{4,5} )
- java-pkg-simple_src_compile
- JAVA_GENTOO_CLASSPATH_EXTRA+=":emma_ant.jar"
- rm -r target || die
-
- if use doc; then
- einfo "Compiling javadocs"
- JAVA_SRC_DIR=(
- core/data core/java1{2,3,4}
- ant/ant1{4,5}
- )
- JAVA_JAR_FILENAME="ignoreme.jar"
- java-pkg-simple_src_compile
- fi
-}
-
-src_install() {
- java-pkg_dojar "emma.jar" "emma_ant.jar"
- java-pkg_register-ant-task
-
- use launcher && java-pkg_dolauncher ${PN} --main emmarun
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
-
- if use source; then
- java-pkg_dosrc core/data/*
- java-pkg_dosrc core/java1{2,3,4}/*
- java-pkg_dosrc ant/ant1{4,5}*
- fi
-}