summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-11-05 08:15:26 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-07 08:34:27 +0100
commit2833a7612e0d6252668997118778960912e3fc97 (patch)
tree36af9af2c331416d9d9e675ec3ca8de1d639ffee /dev-java/junit-clptr
parentdev-java/junit-clptr: add github upstream metadata (diff)
downloadgentoo-2833a7612e0d6252668997118778960912e3fc97.tar.gz
gentoo-2833a7612e0d6252668997118778960912e3fc97.tar.bz2
gentoo-2833a7612e0d6252668997118778960912e3fc97.zip
dev-java/junit-clptr: style update, update EAPI 7 -> 8
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/39208/commits/2dfca851cdf96be404f206e2817b06cda6c327bc Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/junit-clptr')
-rw-r--r--dev-java/junit-clptr/junit-clptr-1.2.2-r1.ebuild (renamed from dev-java/junit-clptr/junit-clptr-1.2.2.ebuild)26
1 files changed, 8 insertions, 18 deletions
diff --git a/dev-java/junit-clptr/junit-clptr-1.2.2.ebuild b/dev-java/junit-clptr/junit-clptr-1.2.2-r1.ebuild
index 8f5b3a458408..d1e2eaaa043a 100644
--- a/dev-java/junit-clptr/junit-clptr-1.2.2.ebuild
+++ b/dev-java/junit-clptr/junit-clptr-1.2.2-r1.ebuild
@@ -1,10 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/bitstrings/junit-clptr/archive/refs/tags/1.2.2.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild junit-clptr-1.2.2.ebuild
-
-EAPI=7
+EAPI=8
JAVA_PKG_IUSE="doc source"
MAVEN_ID="org.bitstrings.test:junit-clptr:1.2.2"
@@ -12,34 +9,27 @@ MAVEN_ID="org.bitstrings.test:junit-clptr:1.2.2"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="ClassLoader per Test runner for JUnit 4.12+"
-HOMEPAGE="http://nexus.sonatype.org/oss-repository-hosting.html/junit-clptr"
+HOMEPAGE="https://github.com/bitstrings/junit-clptr"
SRC_URI="https://github.com/bitstrings/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}-sources.tar.gz"
+S="${WORKDIR}/${P}"
+
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64"
-# Common dependencies
-# POM: pom.xml
-# junit:junit:4.12 -> >=dev-java/junit-4.13.2:4
-
-CDEPEND="
+CP_DEPEND="
dev-java/junit:4
"
DEPEND="
+ ${CP_DEPEND}
>=virtual/jdk-1.8:*
- ${CDEPEND}
"
RDEPEND="
+ ${CP_DEPEND}
>=virtual/jre-1.8:*
- ${CDEPEND}
"
-S="${WORKDIR}/${P}"
-
-JAVA_GENTOO_CLASSPATH="junit-4"
+JAVA_RESOURCE_DIRS="src/main/resources"
JAVA_SRC_DIR="src/main/java"
-JAVA_RESOURCE_DIRS=(
- "src/main/resources"
-)