commit:     2833a7612e0d6252668997118778960912e3fc97
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Nov  5 07:15:26 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Nov  7 07:34:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2833a761

dev-java/junit-clptr: style update, update EAPI 7 -> 8

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: 
https://github.com/gentoo/gentoo/pull/39208/commits/2dfca851cdf96be404f206e2817b06cda6c327bc
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 ...tr-1.2.2.ebuild => junit-clptr-1.2.2-r1.ebuild} | 26 +++++++---------------
 1 file 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
similarity index 52%
rename from dev-java/junit-clptr/junit-clptr-1.2.2.ebuild
rename to 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"
-)

Reply via email to