diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-18 10:02:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-18 10:02:49 +0100 |
commit | 8aed242683822c23f5ed6a295d3464161e2d0880 (patch) | |
tree | cb1e15198402ba7e5f401a02469a6e7219a2e9b3 /dev-java | |
parent | d0678ca0b0a7eefe3151a0b6c78f5ec2dd1c0ad8 (diff) |
gentoo auto-resync : 18:10:2023 - 10:02:48
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 58124 -> 58125 bytes | |||
-rw-r--r-- | dev-java/asm/Manifest | 2 | ||||
-rw-r--r-- | dev-java/asm/asm-9.6.ebuild | 94 | ||||
-rw-r--r-- | dev-java/felix-framework/Manifest | 2 | ||||
-rw-r--r-- | dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild | 31 | ||||
-rw-r--r-- | dev-java/jal/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jal/jal-20031117-r6.ebuild | 4 | ||||
-rw-r--r-- | dev-java/java-getopt/Manifest | 2 | ||||
-rw-r--r-- | dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-java/jcommander/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jcommander/jcommander-1.64.ebuild | 23 | ||||
-rw-r--r-- | dev-java/testng/Manifest | 6 | ||||
-rw-r--r-- | dev-java/testng/testng-6.11.ebuild | 101 |
13 files changed, 241 insertions, 30 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex ff23ce120e4e..0d42bc1a86b1 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/asm/Manifest b/dev-java/asm/Manifest index 56d24868f3cb..32f79a080cbe 100644 --- a/dev-java/asm/Manifest +++ b/dev-java/asm/Manifest @@ -1,3 +1,5 @@ DIST asm-ASM_9_5.tar.bz2 1372645 BLAKE2B 3eac319c9322dfd9fff1324b032a2248127592107c0256adec6f0c592cf55298b9f060603e1697e7560db9b337585f59bfebea684dcefaf0b4a149061ebb915c SHA512 6c1b4624789435b347b43db50e6605cf60008c73125245e1495e11eef03770e49308963ee152654fa45ac9b05150e8ff4d646d69b69aef27296069f4a7343301 +DIST asm-ASM_9_6.tar.bz2 1374579 BLAKE2B 621b19f1818ffdd451037af210ec7c3286e3dabdb1d6192157c2e6e8c101f599691cd4de57adf500f5413b4aaf4f808d6ac791e84626223a7be5672a17137670 SHA512 86b2db3e81c29c465d4128736f88ae3b73af8f312915921549d0acdb50a8d2c2c2beed5162af164b6e75278702af0c6f0a8d84b4133516eb4ac419520b7c764d EBUILD asm-9.5.ebuild 2489 BLAKE2B 8ba1a29735898ac4d40660154cf37f54d4ac02807a02675985e5c97716bc649edfe6853b5443e66f05f48be16497a124858f4180a67bc370590d3f2cbf19f0ba SHA512 2a7f00119625129681e73c51070647cdccb9926322f0b60d629abde270ff05effacd840a0df413f7c49abdc375359dc1921d5dd6b6d936b74840818c9bbfe9a9 +EBUILD asm-9.6.ebuild 2447 BLAKE2B 86256b75ac44f3e15a9be079d1e1a2defebbe4a3ead6c58c80ed62eb4b0538bcb5708c58262bfb0bf1e838eb1071c9585be62668655443ff92a2a68ad110d0c6 SHA512 894ff7a264cc13700a06f4efe418a7ac745f616eed7d032feed038fd3066c3847c31b66434575ab03b6de67179c1a7cb12a26abee4afa7ed4d1bdfb87f17ebbb MISC metadata.xml 1233 BLAKE2B 13faf251d3d40ed558c83262972ea106892cc3be0f7a1b95a0b484123d93473bd867b2f7b53c3e5ccc2f1fe249ebe66cb9e757e19ad36c8d3e3eac6a7a981d98 SHA512 59a292291ac757818e41d009e2cdbb73b6d914c1f552c34e9360635cb468f1ebfdf9c58d6642710d5218689d08797320102c8ccb6d5f4bc9478883feb9b9b397 diff --git a/dev-java/asm/asm-9.6.ebuild b/dev-java/asm/asm-9.6.ebuild new file mode 100644 index 000000000000..f121718f5735 --- /dev/null +++ b/dev-java/asm/asm-9.6.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# tests not enabled because of missing eclass support of junit-jupiter +JAVA_PKG_IUSE="doc source" +MAVEN_PROVIDES=" + org.ow2.asm:asm-bom:${PV} + org.ow2.asm:asm:${PV} + org.ow2.asm:asm-analysis:${PV} + org.ow2.asm:asm-commons:${PV} + org.ow2.asm:asm-tree:${PV} + org.ow2.asm:asm-util:${PV} +" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Bytecode manipulation framework for Java" +HOMEPAGE="https://asm.ow2.io" +MY_P="ASM_${PV//./_}" +SRC_URI="https://gitlab.ow2.org/asm/asm/-/archive/${MY_P}/asm-${MY_P}.tar.bz2" +S="${WORKDIR}/asm-${MY_P}" + +LICENSE="BSD" +SLOT="9" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos" + +DEPEND=">=virtual/jdk-11:*" +RDEPEND=">=virtual/jre-1.8:*" + +ASM_MODULES=( "asm" "asm-tree" "asm-analysis" "asm-commons" "asm-util" ) + +src_prepare() { + default + local module + touch "${T}/asm.module" || die + for module in "${ASM_MODULES[@]}"; do + module=${module/-/.} + cat > ${module/./-}/src/main/java/module-info.java <<-EOF || die + open module org.objectweb.${module/analysis/tree.analysis} { + $(cat ${T}/asm.module) + requires java.base; + exports org.objectweb.${module/analysis/tree.analysis}; + } + EOF + echo "requires transitive org.objectweb.${module/analysis/tree.analysis};" \ + >> "${T}/asm.module" || die + done + sed -e '/^$/d' \ + -e '/asm;/p;s:\(asm\)\(;\):\1.signature\2:' \ + -i asm/src/main/java/module-info.java || die + sed -e '/analysis/d' \ + -i asm-commons/src/main/java/module-info.java || die + sed -e '/commons/d' \ + -i asm-util/src/main/java/module-info.java || die +} + +src_compile() { + local module + for module in "${ASM_MODULES[@]}"; do + einfo "Compiling ${module}" + JAVA_JAR_FILENAME="${module}.jar" + JAVA_SRC_DIR="${module}/src/main/java" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":${module}.jar" + rm -r target || die + done + + if use doc; then + einfo "Compiling javadocs" + JAVA_JAR_FILENAME="ignoreme.jar" + JAVA_SRC_DIR=() + for module in "${ASM_MODULES[@]}"; do + rm "${module}/src/main/java/module-info.java" || die + JAVA_SRC_DIR+=("${module}/src/main/java") + done + java-pkg-simple_src_compile + fi +} + +src_install() { + local module + for module in "${ASM_MODULES[@]}"; do + java-pkg_dojar ${module}.jar + if use source; then + java-pkg_dosrc "${module}/src/main/java/*" + fi + done + if use doc; then + java-pkg_dojavadoc target/api + fi + default +} diff --git a/dev-java/felix-framework/Manifest b/dev-java/felix-framework/Manifest index 51fc41d960ef..f858269ea9f6 100644 --- a/dev-java/felix-framework/Manifest +++ b/dev-java/felix-framework/Manifest @@ -1,4 +1,4 @@ DIST org.apache.felix.framework-7.0.5-source-release.tar.gz 505118 BLAKE2B 3652d46dfb4c9c5b43b159450b81ad896483fb2df40165d7e7b8bbd718c8e3297163065474bd10f3858ff7fc2646134ed470e34ede8eeb5efc05cec75f1a7aec SHA512 58fa96500fed827c348a47ac8672aeb4e5b94bfd681c4cde610b3a453fd2abfe2d631742281a192c76718ee83fc4c30980a5179926ff3bc7b8ea649ef07f34a3 DIST org.apache.felix.framework-7.0.5-source-release.tar.gz.asc 195 BLAKE2B 94d0afbb7f20119a3f75927e75dc10420caab1c6ce2c3cc5b2b8600a2fd6af4c9217df565cd922bd0017ec6ac54113cc2a894b60249978c87c61c7961d258dda SHA512 2b22f242b5d3ff6c38457908e801dc95abeca6c6427fe8eab4badae171692f9b8de6edf091dca78cc43c3a467a56aa85895cabdfa7eaa92faf6cb090e9fae8fa -EBUILD felix-framework-7.0.5-r2.ebuild 3603 BLAKE2B b7695e50204af73d5f57ebf1e97b91fc5f48e7bf349cb5dbbfff76c9deee794abf305efd0aa4607fa3211ec631a5338633a6e67b9b44d18440a5264c49fbe6b0 SHA512 d9660af0ba00a9134c5303f54cb07e5f9fa765ef9f6b39447ea3bcd6d663d75ebc9af1f7cf3585243ac461de94e06137f3f35c3d3716b1b8a293db6e7c84fdd7 +EBUILD felix-framework-7.0.5-r2.ebuild 2998 BLAKE2B c9c2d5452e24544d9bdc6787add51699c9402b2f587602b0b930681406e88f1dc2b07990d37ee66d720b3744d61c124a1913aa5acd7064c507403e0d299d5883 SHA512 4bc60287babbabdc08e4261051418c96efc18cdb262bf9f305ac32dbfec9b430c0b807b9d3ae34d4302b005b77c8d1cee826ba32eef6e7c78d4ebb88113c3456 MISC metadata.xml 455 BLAKE2B 69e2d92cd05dd44530363b6920e0673ac8f6d87cebf7ca931d4699378062348b83391fdfeaa4dc95d470a718d363fa7e6578f949b6f8f3510317f6d63bc7c514 SHA512 585dc4c8a3fb5c6c01940c887207346065ca9c7499abdb79ab6f6554a05fe6b27734e48101cb0dab61b8e0e32417bf28e722947864bd0ea3d48296198a3f3264 diff --git a/dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild b/dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild index ddb1eee0510a..487fb4f1846f 100644 --- a/dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild +++ b/dev-java/felix-framework/felix-framework-7.0.5-r2.ebuild @@ -19,39 +19,22 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 ~arm arm64 ppc64 x86" -# Common dependencies -# POM: pom.xml -# org.codehaus.mojo:animal-sniffer-annotations:1.9 -> >=dev-java/animal-sniffer-annotations-1.15:0 - CP_DEPEND="dev-java/animal-sniffer-annotations:0" -# Compile dependencies -# POM: pom.xml -# org.apache.felix:org.apache.felix.resolver:2.0.4 -> >=dev-java/felix-resolver-2.0.4:0 -# org.osgi:org.osgi.annotation:6.0.0 -> !!!artifactId-not-found!!! -# POM: pom.xml -# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 -# test? org.easymock:easymock:2.5.2 -> >=dev-java/easymock-2.5.2:2.5 -# test? org.mockito:mockito-all:1.10.19 -> !!!artifactId-not-found!!! -# test? org.ow2.asm:asm-all:5.2 -> !!!artifactId-not-found!!! - -DEPEND=" - >=virtual/jdk-11:* - ${CP_DEPEND} - dev-java/osgi-annotation:0 +DEPEND="${CP_DEPEND} dev-java/felix-resolver:0 + dev-java/osgi-annotation:0 + >=virtual/jdk-11:* test? ( dev-java/asm:9 dev-java/easymock:2.5 dev-java/mockito:0 - ) -" + )" -RDEPEND=" - >=virtual/jre-1.8:* - ${CP_DEPEND}" +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" -DEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-felix )" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-felix )" VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/felix.apache.org.asc" JAVA_CLASSPATH_EXTRA="felix-resolver,osgi-annotation" diff --git a/dev-java/jal/Manifest b/dev-java/jal/Manifest index cb8d1b236b10..95850d3f5850 100644 --- a/dev-java/jal/Manifest +++ b/dev-java/jal/Manifest @@ -1,3 +1,3 @@ DIST jal-20031117.tar.gz 48793 BLAKE2B b7cb51f5adb2b0f2fc4e03c9adf826519accee43aee3d98be0139439408527618af9e30b63c1e439a5defe4c74a0185ea48e9fd24235a319e9571fb8764e080f SHA512 0cb6cbd5e80d38dfbf57417b756dbc3bdddb2a28c4cbec292799ee71ac86cff3121f1e09e86f976f6562dafac54835bdd58780e4f1ffe733897b6d6ef053f95e -EBUILD jal-20031117-r6.ebuild 1052 BLAKE2B c0a2ffe2e9b783de798d5bb014df174a1b5fe7cd5e5db33878075dac96b16e17c949e3489c8b73d43218d9c8104361d3b8b3bc990ba3ea07051e9e29ec06bd42 SHA512 60ca5eadc41bd29a4cc0543ef6ea8fa93901a71e39cbdb74e56c1dd5d070685a8343d72d8771bb52eb2c68be48ab972211eca614818aab745e593969169c07d0 +EBUILD jal-20031117-r6.ebuild 1063 BLAKE2B 3c340606dde9226c6687140e313dffef0e582e97e579bf7c0216c7b7fa8e91d5ccebbbb1e7d2756bce44b8dd536f9169c59e0e1f04034cd7a8c2b879a40e947a SHA512 15368e2fd94f43721d7223abb85f2d6fc14073ce2bcb57164457e6accfdf7d9710c1f3e0a0741664862cd937e0f85f1f1979130a7a26290d2722d5830d0df446 MISC metadata.xml 549 BLAKE2B a1f9b88d1930fa34d04a62d2f927f85f981edd46abe2a5a210701a223982abe059c27ee6ef61cf6efe06b0baec457982b5871df4ceabd51068e9bd92645cf9af SHA512 1e30ba295c2d7b008bedf56eaf212266359ca2ecb82206be5e542c44b5912b3ca0f4de8afbc45dab628a35bb3b6d5b2974a596878ecaca7b9054ef9ceaa35028 diff --git a/dev-java/jal/jal-20031117-r6.ebuild b/dev-java/jal/jal-20031117-r6.ebuild index f8f5bb559e77..d8d008aab7b0 100644 --- a/dev-java/jal/jal-20031117-r6.ebuild +++ b/dev-java/jal/jal-20031117-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-pkg-simple DESCRIPTION="Partial port of the C++ Standard Template Library" -HOMEPAGE="http://vigna.dsi.unimi.it/jal" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz" LICENSE="HPND" diff --git a/dev-java/java-getopt/Manifest b/dev-java/java-getopt/Manifest index 0ea45e0399ed..30710165498a 100644 --- a/dev-java/java-getopt/Manifest +++ b/dev-java/java-getopt/Manifest @@ -1,4 +1,4 @@ DIST java-getopt-1.0.14.tar.gz 45561 BLAKE2B d82234c2e49f6f556ddabd38cd283a63c2f6365ed23c227c42c48c75d834ce7de6a3fdc84c890762f05a63d4e09bab7e584f1cb9d17ef0a4784cd36c62f3128e SHA512 611a08b60ed787eaa1bf6bf6ce45075ed2bd75d7eead941879e019ef12cb4fcd7a196d0e64e9a75adaf35240c872f14590d7afa4e2dda03016fa970bd2e2dc25 EBUILD java-getopt-1.0.14-r1.ebuild 834 BLAKE2B c370b2158f06519adf35f5d626d996d63e807dcf9b9570445764220e8a2500fc925ca0f0572c6f9c64d71966128e8fbd39da6d9cc38c54e53b9e77afb3e07ea6 SHA512 ef61d990d4b366aebbe7939ca4193abe2d1bc62e873216244b0f5087d553942ea3b91aa081f6178d110663e3634d963eb951143bdd11670de5813f918b459171 -EBUILD java-getopt-1.0.14-r2.ebuild 871 BLAKE2B 190c62eda62858e57382106e3e9d87950144573d988541560f1a203337177544cffb1f5372b05497f66dd29496058dc713951a64a0d78765b177a329801c0ce9 SHA512 c8411827aecf4d26e47219f3a93e1822c90df699d82f6ba1d194b405d977228cfb70e0324fb56c867d7414b4044bfa7bd23b84ca43e30563f1c040886eaf8508 +EBUILD java-getopt-1.0.14-r2.ebuild 869 BLAKE2B 3d93f08fc279a583435eee6d255b1137badcc2bf3f2b41592d0bf343cb22aee7f14b97308483b0ae7d5d07cca4283b89885a049825d7caafdf7c1a9257d35446 SHA512 c4cfa7432a928f1be27378a2cea727e992102b674d7fce5af6906df8dc24e68ba3ddf75dab3921494b5ed00dc9fb1ae8197cdfe59cb24432863efbcc8ac8d930 MISC metadata.xml 319 BLAKE2B 8d40237d50e465875bdb05c3ebef67c94cc4f0b027b144be26d5ede9615d6b901f280c37a2cd23d409b6fc961793e1d83424ffb6469e2318ff427fd6f7f5dad4 SHA512 736af5ae0778189310f240fabe9ee24651fb1b552eb73f672ca559a7853d0b86ae1c6877f2176076e22d93ca807a80a44eb990156855afae3a2ff7d0d93cd48d diff --git a/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild b/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild index fa256a4e77ce..efcb94a4aeea 100644 --- a/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild +++ b/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://www.urbanophile.com/arenn/hacking/getopt/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="1" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" DEPEND=">=virtual/jdk-1.8:*" RDEPEND=">=virtual/jre-1.8:*" diff --git a/dev-java/jcommander/Manifest b/dev-java/jcommander/Manifest index 2e0b15eaaf3c..e4ed5126ddcf 100644 --- a/dev-java/jcommander/Manifest +++ b/dev-java/jcommander/Manifest @@ -1,3 +1,5 @@ +DIST jcommander-1.64.tar.gz 4404316 BLAKE2B 17ade214604de2ed8e85fd8b8043483f5b3c6d26b7a59afe2cc83dfa804fa298a2a1a4251ac65f66ad3a89002f532c29ee031b0a26293cbbd4f3df72e9a3a6ac SHA512 aaf7c323d9a829635847774b927d63cc35fbe479271029b8f3fdb94c6839dc26ac55f5c28fefbee6a0219e11c73f2c487c3660bf2f3a7f4033c0e2092d6f2fa4 DIST jcommander-1.82.tar.gz 4433079 BLAKE2B 08111ae7a85202dc3a082db58f42ef5183b05cae827bc304ba426a3d02bf7a4123f84500e6ec5694578a7aa29c631cca692fe71d67e12a1107c57e1858be4dcf SHA512 1abcb54cec21e95a3e5fc952320a7fca1d480f9900992e686f66df49749b6eee79e18dc670f10cc05b0d2a4f0a72fae302568a51ff193788897878aefc3ff67b +EBUILD jcommander-1.64.ebuild 573 BLAKE2B 578a360dc97bda518497b099f5e3d3c9be7d50e12bf298dcbc41c32c4f6b54037ea02fce14ac51cb4fe5e9434a6205629fce1e91b416d8994ac691333046c40a SHA512 b7317f7f5b3a402bc03c3d2a9577b661061c388ee1ac3b38855a63e5f9c0a7119ab0c81e2aa2fe5b6ec3f3b6cb9909baf60711cca32a3ff2a263c61f3568f362 EBUILD jcommander-1.82.ebuild 1664 BLAKE2B 2f8a41a1c5142ad2449bf2eccfbd5d0fb50afbfaba2f5e98f282a55dd96b608546a8226f05d0b463be8855d6e22c1e652263407855eb89649da898bb3797dba3 SHA512 e14edea1c5882e1c4fd17c1162238c9ab55ac3503b0a2224b0fcc535b05cae9381121cc55969113818b94ffa28725e1c8ab2339f267a2539b197f523581ea147 MISC metadata.xml 329 BLAKE2B 35efab95ec95b721d53463b4fe8d98358c632a76476f1648e2e1f33f7432b2fbf9d00199e4e53c047a91c90ac9e86e733089bf1c9dc69a9f2961d7cc8266b710 SHA512 c83a4611485d806ca1c1848db6605a8d4956956dd521e5b6171d98027324236e51a13c9032e76b462168d07bb74dc105fb9587ab91bd554845d733e668c9df32 diff --git a/dev-java/jcommander/jcommander-1.64.ebuild b/dev-java/jcommander/jcommander-1.64.ebuild new file mode 100644 index 000000000000..cb9a9a664486 --- /dev/null +++ b/dev-java/jcommander/jcommander-1.64.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.beust:jcommander:${PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Command line parsing framework for Java" +HOMEPAGE="https://jcommander.org/" +SRC_URI="https://github.com/cbeust/jcommander/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="Apache-2.0" +SLOT="1.64" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +JAVA_SRC_DIR="src/main/java" diff --git a/dev-java/testng/Manifest b/dev-java/testng/Manifest index 50eda94f887c..fc89ae0f90a9 100644 --- a/dev-java/testng/Manifest +++ b/dev-java/testng/Manifest @@ -1,3 +1,9 @@ +DIST apache-groovy-binary-2.4.21.zip 37467992 BLAKE2B e0f925bad53f0f8a7012f0bea420ec3e5986118cc23cd677a11f619284754eacc15c3012cf780063fef574053781bba924a86e5fa2ac284d86f349ad18173704 SHA512 e2f73405d7521b99e3ce5622cffcc505bbc039ccb1c35696fc895d648a9325937a136cf97a229f7ac1b90b63ad8603881350c4d41e514ad45233fb333d76d510 +DIST groovy-all-2.4.7.jar 7015434 BLAKE2B 23d22ddd78229c485ed9384169acee154258644249b856661e17d1d0efb5518e32473a26962b5d657a09b41d490813ed76254820ffdf39e83869209617b66c2d SHA512 4c26ff9f7137c0506c95f7ba1d4228ce57e16d87b77dd1d114390224207d71d3958460c7b5a239d5f41596ab87e7f4aa7aaea1dfce19a50badf8f9b818329c54 +DIST jquery-3.5.1.jar 313070 BLAKE2B 76abfbd21d83f72a3cfcb666f3a2fcfcf5975e723a462996bac9701caf6b59cb9998746af713ebb1f6bfe49cce91544216cc65dc6819e95e8a15930744685415 SHA512 9f560415b36875958ff1d3c6d37fa79d6d134c5f5fc7719dd21db36d1f24dec39787834b2a9ffb104ec6b56e725ccc524a8ff9b189ced3d68e24296b2daae720 +DIST spock-core-1.0-groovy-2.4.jar 588030 BLAKE2B 68d8fad8b6ffb45a18778797ea23d4f3b09256bf4e9f207ee666d07572399cd13522e6f1590219a80e23f6906a2e9eaf1f22c6a3c01717e8c1e99b5d37b89210 SHA512 078c0b16688eaa3134043e58ed4273981797ea92f08723b5508c7d7e4f635278dd5ca731fb294da2a1f35674623d969ee423d4344c2c822e1d4cb8d4f3383790 +DIST testng-6.11.tar.gz 677522 BLAKE2B 2e7bf30fcf805cce5a7ec42f22c39e9f4678642fcde9752c51d118e655189805661edeeff1a3db0e960c79e7542fe25ab8fa6995f142da12b3adc8753fd8a361 SHA512 996d7a18399e16626756b7a790182c7b6bf3453280209d0a09d4a509d698fcad1a80e58ec36702de95bd59c90c237463719ad44934c14390620fc9655d871252 DIST testng-6.9.10.tar.gz 6271781 BLAKE2B 5b77f4b1d9bfdca6749a1d33f465a30bcd9ab9dd9fc37abf8148301c24d6bf287224d9886c0f681deac54e12f9460139ce2a2058b3d160c05cf8fcb9f7808373 SHA512 ed9ad1ced20904ab261d2a233f3fa43ee1ea31778e992cdd27459811b256a6998d8385dd01ff72821133208a1fbd72aa3599a4b8bc0eb4d7b696d34593f9567e +EBUILD testng-6.11.ebuild 2900 BLAKE2B 38d9064c21e7507c702f6bb821e6a6ba7dc846786560ebf0d0d245c92531b2a429c2315faf23faae6662c81bafa6b4c3b29bdae2818a6036662e931c4414f46a SHA512 0f1a6eec4101f926b6b05ff6d236ec2cbd5674014223f899da26c6f43bc2926beec05a9067f5b23fbb2422c3f070beeb9235aa503e3e0946698699ea2148ad7b EBUILD testng-6.9.10-r1.ebuild 1780 BLAKE2B 62f09080eed66022b7405957bd165bd3577648c10c44cca649585875f10df8f0e3a85347d24a889566eefe18682b26077ec3031df1fc3edfb43da43fdf664a52 SHA512 4853dc5819df413ec32f16d89d4d89e00dbcc517e51d7d481606c9435f2342a17a308450b0f896bcd9a6331929dc2db57756b8fe4b7160dacc864966f3952953 MISC metadata.xml 320 BLAKE2B 5ca0fd5c9a1b96006e41e91449b99b94d176cb4bd23729a3dc320e22ed1a5cb25dda726e685be7f5df57cb2c73d8d54fab29e5f549568b6e2a80162980d92fa9 SHA512 0195fb62a47f3bb7617d6fa59a920621a2c58cf2821ab47db87337fc1976339c7d382af35c24b7454781d2f4fce1cd7e5900a293ee5e519af87354486a9480a5 diff --git a/dev-java/testng/testng-6.11.ebuild b/dev-java/testng/testng-6.11.ebuild new file mode 100644 index 000000000000..fa7a919959da --- /dev/null +++ b/dev-java/testng/testng-6.11.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.testng:testng:6.11" +JAVA_TESTING_FRAMEWORKS="testng" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" +HOMEPAGE="https://testng.org/" +# Presently we install the binary version of jquery since it is not packaged in ::gentoo. +JQV="3.5.1" +# Currently we bundle the binary versions of spock-core, groovy-all and apache-groovy-binary. +# These are used only for tests, we don't install them. +SCV="1.0-groovy-2.4" +GAV="2.4.7" +AGV="2.4.21" +SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://repo1.maven.org/maven2/org/webjars/jquery/${JQV}/jquery-${JQV}.jar + test? ( + https://repo1.maven.org/maven2/org/spockframework/spock-core/${SCV}/spock-core-${SCV}.jar + https://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/${GAV}/groovy-all-${GAV}.jar + https://downloads.apache.org/groovy/${AGV}/distribution/apache-groovy-binary-${AGV}.zip + )" +S="${WORKDIR}/${P}" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +SLOT="0" + +CP_DEPEND=" + dev-java/ant-core:0 + dev-java/bsh:0 + dev-java/guice:4 + dev-java/jcommander:1.64 + dev-java/junit:4 + dev-java/snakeyaml:0 +" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( + dev-java/assertj-core:3 + dev-java/guava:0 + )" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +DOCS=( README {ANNOUNCEMENT,CHANGES}.txt ) + +JAVA_RESOURCE_DIRS="src/main/resources" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="assertj-core-3" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" +JAVA_TEST_RUN_ONLY="src/test/resources/testng.xml" +JAVA_TEST_SRC_DIR="src/test/java" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean ! -path "./src/*" + + rm src/main/resources/META-INF/MANIFEST.MF || die +} + +src_test() { + # This contains the compiler groovyc + unzip "${DISTDIR}/apache-groovy-binary-${AGV}.zip" + + JAVA_GENTOO_CLASSPATH_EXTRA=":${DISTDIR}/spock-core-${SCV}.jar" + + ejavac -cp "${JAVA_TEST_SRC_DIR}:${PN}.jar:$(java-pkg_getjars guava)" \ + src/test/java/test/SimpleBaseTest.java || die + + # java-pkg-simple.eclass expects generated test classes in this + # directory and will copy them to target/test-classes + mkdir generated-test || die "cannot create generated-test directory" + "groovy-${AGV}/bin/groovyc" \ + -cp "${JAVA_TEST_SRC_DIR}:${DISTDIR}/spock-core-${SCV}.jar" \ + -d generated-test \ + src/test/groovy/test/groovy/* || die + + JAVA_GENTOO_CLASSPATH_EXTRA+=":${DISTDIR}/groovy-all-${GAV}.jar" + java-pkg-simple_src_test +} + +src_install() { + java-pkg-simple_src_install + java-pkg_dolauncher ${PN} --main org.testng.TestNG + + java-pkg_newjar "${DISTDIR}/jquery-${JQV}.jar" jquery.jar + java-pkg_regjar "${ED}/usr/share/${PN}/lib/jquery.jar" + + java-pkg_register-ant-task +} |