From 2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Nov 2024 03:03:28 +0000 Subject: gentoo auto-resync : 08:11:2024 - 03:03:27 --- dev-java/jline/Manifest | 2 +- dev-java/jline/jline-2.14.6-r1.ebuild | 63 +++++++++++++++++++++++++++++++++ dev-java/jline/jline-2.14.6.ebuild | 66 ----------------------------------- 3 files changed, 64 insertions(+), 67 deletions(-) create mode 100644 dev-java/jline/jline-2.14.6-r1.ebuild delete mode 100644 dev-java/jline/jline-2.14.6.ebuild (limited to 'dev-java/jline') diff --git a/dev-java/jline/Manifest b/dev-java/jline/Manifest index b4c887b033ed..cf49192c8f6f 100644 --- a/dev-java/jline/Manifest +++ b/dev-java/jline/Manifest @@ -1,3 +1,3 @@ DIST jline-2.14.6.tar.gz 116599 BLAKE2B a3576314d8bb4886e0297822e0f37b4cc4c49cad1c5ea71a61a2813b0afae7ba8a5d5ad914fe900c4dca6c2f3891551157ca4a3d24231e8731cda4b5dbe80b32 SHA512 9e141c9a112dcb4850db95a7c2cec9b84f11be1f6740a3a33c99ec2ed5f900f4dae7474058e14319ef79476121997afbdb248ca22559a82a905c31690afa1d51 -EBUILD jline-2.14.6.ebuild 1395 BLAKE2B d6362d552ca9a0c78ad48da17939a9f66e48df6272ab447658363ff0f7bedb323753ad7ab7cff8f4be9e07d6738ce50a259865299643a72fa8bbb1af1cc48a80 SHA512 31fb8f820da9e220a7fdcaf493be7ca7e26399b6bb7504572321394c0dca19c3041c99add7de48be04680f4dd699f0b8d6960d90052bc90eee08f5641def9805 +EBUILD jline-2.14.6-r1.ebuild 1275 BLAKE2B ba3d1e92837ab11ac24073900b370f2ba0c8b29f334f4f72004ea6b34f4afc637ebd62f855ee2029b97ef24a6bdc2e30d3e888c6828f3a1654d6df71931170b3 SHA512 cb73bcc14804062ede192d125aff1f6207837b05e0bcb84cedd40f88dd0b10bcda7c7f785a14a2c379e4a7a1008bd54d8300f9be405dd58bc0510fe5ddc96c4b MISC metadata.xml 376 BLAKE2B 5879728bea0aa1b1d38110a053b6144407077d14968a0f45a76079388a302071ecb543c67366d3b3bbb30768eba852f07100e89253a7cdd9342614828d171a3c SHA512 363bc722f4e7908aba60f0c655265b289614ba80338ad381b92f2cd6e2214331b76fda29855a5a0fda992de7f03acb3a48e4bca10cb0147b5b302f499a5b25bb diff --git a/dev-java/jline/jline-2.14.6-r1.ebuild b/dev-java/jline/jline-2.14.6-r1.ebuild new file mode 100644 index 000000000000..50628992ff30 --- /dev/null +++ b/dev-java/jline/jline-2.14.6-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A Java library for handling console input" +HOMEPAGE="https://github.com/jline/jline2" +SRC_URI="https://github.com/jline/${PN}2/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}2-${P}" + +LICENSE="BSD" +SLOT="2" +KEYWORDS="amd64 arm64 ppc64" +IUSE="test" + +# Needs yet-unpackaged powermock for tests +RESTRICT="!test? ( test ) test" + +CP_DEPEND=" + dev-java/jansi:0 + dev-java/jansi-native:0" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( + dev-java/easymock:3.2 + dev-java/junit:4 + ) +" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" + +DOCS=( {CHANGELOG,README}.md ) + +JAVA_SRC_DIR="src/main/java" + +src_prepare() { + java-pkg-2_src_prepare + + # Don't forget the resources! + mkdir -p target/classes || die + cp -r src/main/resources/* target/classes || die +} + +src_test() { + cd src/test/java || die + + local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars junit-4,easymock-3.2,${JAVA_GENTOO_CLASSPATH})" + local TESTS=$(find * -name "*Test.java" || die) + TESTS="${TESTS//.java}" + TESTS="${TESTS//\//.}" + + ejavac -cp "${CP}" -d . $(find * -name "*.java" || die) + ejunit4 -classpath "${CP}" ${TESTS} +} diff --git a/dev-java/jline/jline-2.14.6.ebuild b/dev-java/jline/jline-2.14.6.ebuild deleted file mode 100644 index aaa438bb7511..000000000000 --- a/dev-java/jline/jline-2.14.6.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" -JAVA_SRC_DIR="src/main/java" -JAVA_GENTOO_CLASSPATH="jansi,jansi-native" -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A Java library for handling console input" -HOMEPAGE="https://github.com/jline/jline2" -SRC_URI="https://github.com/jline/${PN}2/archive/${P}.tar.gz" -S="${WORKDIR}/${PN}2-${P}" - -LICENSE="BSD" -SLOT="2" -KEYWORDS="amd64 arm64 ppc64" -IUSE="test" -# Needs yet-unpackaged powermock for tests -RESTRICT="!test? ( test ) test" - -CDEPEND=" - dev-java/jansi:0 - dev-java/jansi-native:0" - -DEPEND=" - test? ( - dev-java/easymock:3.2 - dev-java/junit:4 - ) - ${CDEPEND} - >=virtual/jdk-1.8:*" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:*" - -src_prepare() { - default - - # Easier to use java-pkg-simple. - rm -v pom.xml || die - - # Don't forget the resources! - mkdir -p target/classes || die - cp -r src/main/resources/* target/classes || die -} - -src_test() { - cd src/test/java || die - - local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars junit-4,easymock-3.2,${JAVA_GENTOO_CLASSPATH})" - local TESTS=$(find * -name "*Test.java" || die) - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -cp "${CP}" -d . $(find * -name "*.java" || die) - ejunit4 -classpath "${CP}" ${TESTS} -} - -src_install() { - java-pkg-simple_src_install - - dodoc {CHANGELOG,README}.md -} -- cgit v1.2.3