diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-08 03:03:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-08 03:03:28 +0000 |
commit | 2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b (patch) | |
tree | 6e975e18646dac9f4b55fab980271a027428cc4d /dev-java/jline | |
parent | abe17cf152eeb7571da8db4b25a30465644a41ba (diff) |
gentoo auto-resync : 08:11:2024 - 03:03:27
Diffstat (limited to 'dev-java/jline')
-rw-r--r-- | dev-java/jline/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jline/jline-2.14.6-r1.ebuild (renamed from dev-java/jline/jline-2.14.6.ebuild) | 33 |
2 files changed, 16 insertions, 19 deletions
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.ebuild b/dev-java/jline/jline-2.14.6-r1.ebuild index aaa438bb7511..50628992ff30 100644 --- a/dev-java/jline/jline-2.14.6.ebuild +++ b/dev-java/jline/jline-2.14.6-r1.ebuild @@ -1,11 +1,10 @@ # 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" -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" @@ -17,30 +16,34 @@ LICENSE="BSD" SLOT="2" KEYWORDS="amd64 arm64 ppc64" IUSE="test" + # Needs yet-unpackaged powermock for tests RESTRICT="!test? ( test ) test" -CDEPEND=" +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 ) - ${CDEPEND} - >=virtual/jdk-1.8:*" +" RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:*" + ${CP_DEPEND} + >=virtual/jre-1.8:* +" -src_prepare() { - default +DOCS=( {CHANGELOG,README}.md ) + +JAVA_SRC_DIR="src/main/java" - # Easier to use java-pkg-simple. - rm -v pom.xml || die +src_prepare() { + java-pkg-2_src_prepare # Don't forget the resources! mkdir -p target/classes || die @@ -58,9 +61,3 @@ src_test() { ejavac -cp "${CP}" -d . $(find * -name "*.java" || die) ejunit4 -classpath "${CP}" ${TESTS} } - -src_install() { - java-pkg-simple_src_install - - dodoc {CHANGELOG,README}.md -} |