commit:     62b6b2d5d353c0b30be463bcf4c9115a12c5b86e
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Nov  5 08:04:24 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Nov  7 07:42:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b6b2d5

dev-java/jansi-native: style update, update EAPI 7 -> 8

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

 ...ative-1.8.ebuild => jansi-native-1.8-r1.ebuild} | 35 ++++++++--------------
 1 file changed, 13 insertions(+), 22 deletions(-)

diff --git a/dev-java/jansi-native/jansi-native-1.8.ebuild 
b/dev-java/jansi-native/jansi-native-1.8-r1.ebuild
similarity index 52%
rename from dev-java/jansi-native/jansi-native-1.8.ebuild
rename to dev-java/jansi-native/jansi-native-1.8-r1.ebuild
index 8de28dab8b6d..be23a1a14613 100644
--- a/dev-java/jansi-native/jansi-native-1.8.ebuild
+++ b/dev-java/jansi-native/jansi-native-1.8-r1.ebuild
@@ -1,42 +1,33 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 JAVA_PKG_IUSE="doc source"
 
 inherit vcs-snapshot java-pkg-2 java-pkg-simple
 
 DESCRIPTION="Native JNI component for dev-java/jansi"
-HOMEPAGE="http://fusesource.github.io/jansi/";
+HOMEPAGE="https://fusesource.github.io/jansi/";
 SRC_URI="https://github.com/fusesource/${PN}/archive/${P}.tar.gz";
+S="${WORKDIR}/${P}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 arm64 ppc64"
 
-CDEPEND="dev-java/hawtjni-runtime:0"
+CP_DEPEND="dev-java/hawtjni-runtime:0"
 
-DEPEND="${CDEPEND}
-       >=virtual/jdk-1.8"
+DEPEND="
+       ${CP_DEPEND}
+       >=virtual/jdk-1.8
+"
 
-RDEPEND="${CDEPEND}
-       >=virtual/jre-1.8"
+RDEPEND="
+       ${CP_DEPEND}
+       >=virtual/jre-1.8
+"
 
-S="${WORKDIR}/${P}"
+DOCS=( {changelog,readme}.md )
 
 JAVA_SRC_DIR="src/main/java"
-JAVA_GENTOO_CLASSPATH="hawtjni-runtime"
-
-src_prepare() {
-       # Easier to use java-pkg-simple.
-       rm -v pom.xml || die
-
-       default
-}
-
-src_install() {
-       java-pkg-simple_src_install
-
-       dodoc {changelog,readme}.md
-}

Reply via email to