diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
commit | e9d044d4b9b71200a96adfa280848858c0f468c9 (patch) | |
tree | 1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /dev-java/jnr-posix | |
parent | fc2f1018fc323ef2c6572734a9b130427cba76a6 (diff) |
gentoo resync : 13.11.2021
Diffstat (limited to 'dev-java/jnr-posix')
-rw-r--r-- | dev-java/jnr-posix/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/jnr-posix/Manifest b/dev-java/jnr-posix/Manifest index d75538b4383b..d5a0c7ef5ead 100644 --- a/dev-java/jnr-posix/Manifest +++ b/dev-java/jnr-posix/Manifest @@ -1,4 +1,5 @@ AUX jnr-posix_maven-build.xml 11760 BLAKE2B ec75beb884ccb81dc28c38db22e64953a6f536726105e2fec5cd38f7be2286091054026d6cf77471d03f5095c44087d8f7fe9d3065d31df26b018988a843fe39 SHA512 ab3f6b00e08cd7fff5f44df1c2a0eb9e73d3ad7400e6e708dcd1432b6ad122bfb0b8dac6417eb67a02d0fc2d19477d81287d2b202275676826081610d3e27d8e DIST jnr-posix-3.0.10.tar.gz 85912 BLAKE2B b87ff78ccf10718bd1faf9e308421ba3ab5e90dee5e244fb1b7f53592da8ad98973cc50e6469bcea59e1202ee82b3f77522eb95e23584ff70cc66099ef1c4266 SHA512 a282c164b0b9ace8aba508a48d08d53beb0ddcd4baf5389412941a1e1430d75df9bdd35935a6982d4bb1910c0fdad55910ba028b1b5388c55e19a6c4ed2ba6a1 +EBUILD jnr-posix-3.0.10-r1.ebuild 1287 BLAKE2B 73098e3f6119cc1f0ffa586ba124e4abf2ccacf1b9fd4a0c0bf722a0886948230216d613357e4fb30ae051c84dd34857a5faf4686740ebc68d9c4b6a25813cd3 SHA512 a77250f3318c7341b177870ed973f0f1c1b53e89e709f504d8aaf6d8fe38957a8186c0af86259f86a6e9b5f5da1a46d173a30a2d108bccbda1a3df0bd0fff9fc EBUILD jnr-posix-3.0.10.ebuild 1241 BLAKE2B 00b01e8f5a6426c41dd2b9c31528d7bed51ff75d1a27f9faf333d0adb7d1e0af0e4439a82bea687cb073881360a94545725c7f34fc161c8b43999b38b19dae35 SHA512 a89817b0b1217cf3abc7ab01a58167f7fdb860e0e90794fa025cdcbc236e82763c1f7134cfe3830b51ba67bed21d3d00e63052c959d7551a8f4370bf3eef8892 MISC metadata.xml 325 BLAKE2B f40ca825a92205c1ef0e0be2e72c859b680593c0f852aec73c3d84356a9927f5f536ffcec7b7a365353ac56489677d7881f9f27431abc56cdf9cc24550493097 SHA512 ff2bae0526d5ae082ad290411e7d3cd95a197918e4d834a531cab016ff9a718197a27fb2c7a4f7426bb44a5b295e164a72dd36f5fac800bc20388fde0f52e0a4 diff --git a/dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild b/dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild new file mode 100644 index 000000000000..56aef1d07026 --- /dev/null +++ b/dev-java/jnr-posix/jnr-posix-3.0.10-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +JAVA_ANT_REWRITE_CLASSPATH="yes" +JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc" +JAVA_ANT_ENCODING="UTF-8" + +EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}" +EANT_GENTOO_CLASSPATH="jnr-constants,jnr-ffi-2" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Lightweight cross-platform POSIX emulation layer for Java" +HOMEPAGE="https://github.com/jnr/jnr-posix" +SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )" +SLOT="3.0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris" + +CDEPEND="dev-java/jnr-constants:0 + dev-java/jnr-ffi:2" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:* + test? ( + dev-java/ant-junit4:0 + dev-java/junit:4 + )" + +src_prepare() { + default + + cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die +} + +src_test() { + ANT_TASKS="ant-junit4" eant test -DJunit.present=true +} + +src_install() { + java-pkg_dojar target/${PN}.jar + dodoc README.txt + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/* +} |