[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 72e7bb74065efd2f0480fde190c7621a4babde1e Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Thu Mar 14 08:30:25 2024 + Commit: Miroslav Šulc gentoo org> CommitDate: Thu Mar 14 10:52:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72e7bb74 dev-java/testng: drop 6.9.10-r1 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Miroslav Šulc gentoo.org> dev-java/testng/Manifest| 1 - dev-java/testng/testng-6.9.10-r1.ebuild | 70 - 2 files changed, 71 deletions(-) diff --git a/dev-java/testng/Manifest b/dev-java/testng/Manifest index aaf68f18ad4d..0c4ed92063e4 100644 --- a/dev-java/testng/Manifest +++ b/dev-java/testng/Manifest @@ -3,4 +3,3 @@ DIST groovy-all-2.4.7.jar 7015434 BLAKE2B 23d22ddd78229c485ed9384169acee15425864 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 diff --git a/dev-java/testng/testng-6.9.10-r1.ebuild b/dev-java/testng/testng-6.9.10-r1.ebuild deleted file mode 100644 index 46111b7f50e8.. --- a/dev-java/testng/testng-6.9.10-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 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="Testing framework inspired by JUnit and NUnit with new features" -HOMEPAGE="https://testng.org/; -SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" -SLOT="0" -IUSE="test" -RESTRICT="test" # Occasionally fail or run *REALLY* slowly. - -CDEPEND="dev-java/bsh:0 - dev-java/guice:4 - dev-java/junit:4 - dev-java/ant-core:0 - dev-java/snakeyaml:0 - dev-java/jcommander:0" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.8:* - test? ( dev-java/assertj-core:2 )" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.8:*" - -S="${WORKDIR}/${P}" -JAVA_SRC_DIR="src/main/java" -JAVA_GENTOO_CLASSPATH="ant-core,bsh,guice-4,jcommander,junit-4,snakeyaml" - -src_prepare() { - default - java-pkg_clean ! -path "./src/*" - - cp -v src/generated/java/org/testng/internal/VersionTemplateJava \ - src/main/java/org/testng/internal/Version.java || die -} - -src_compile() { - java-pkg-simple_src_compile - java-pkg_addres ${PN}.jar src/main/resources -} - -src_test() { - local DIR=src/test/java - local RES=src/test/resources - local CP=${PN}.jar:$(java-pkg_getjars --with-dependencies "${JAVA_GENTOO_CLASSPATH},assertj-core-2") - - ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") - java -cp "${RES}:${DIR}:${CP}" -Dtest.resources.dir=${RES} org.testng.TestNG -listener test.invokedmethodlistener.MyListener src/test/resources/testng.xml || die -} - -src_install() { - java-pkg-simple_src_install - java-pkg_dolauncher ${PN} --main org.testng.TestNG - java-pkg_register-ant-task - - dodoc {ANNOUNCEMENT,CHANGES,TODO}.txt - - if use doc; then - docinto html - dodoc -r doc - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 039a87b96fc2672dfc2687b479e70b87562bb088 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Thu Mar 14 08:41:35 2024 + Commit: Miroslav Šulc gentoo org> CommitDate: Thu Mar 14 10:52:40 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039a87b9 dev-java/testng: switch to dev-java/ant Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35744 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/testng/{testng-6.11.ebuild => testng-6.11-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-java/testng/testng-6.11.ebuild b/dev-java/testng/testng-6.11-r1.ebuild similarity index 97% rename from dev-java/testng/testng-6.11.ebuild rename to dev-java/testng/testng-6.11-r1.ebuild index 92baedcd8ee8..78aaa96fb37f 100644 --- a/dev-java/testng/testng-6.11.ebuild +++ b/dev-java/testng/testng-6.11-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -32,7 +32,7 @@ KEYWORDS="amd64 ~arm arm64 ppc64 x86" SLOT="0" CP_DEPEND=" - dev-java/ant-core:0 + >=dev-java/ant-1.10.14-r3:0 dev-java/bsh:0 dev-java/guice:4 dev-java/jcommander:1.64
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: c1d5110e6d1da2e51ee7b0880a2bc031f03afc43 Author: Sam James gentoo org> AuthorDate: Fri Nov 17 12:07:13 2023 + Commit: Sam James gentoo org> CommitDate: Fri Nov 17 12:07:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d5110e dev-java/testng: Stabilize 6.11 arm64, #917481 Signed-off-by: Sam James gentoo.org> dev-java/testng/testng-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.11.ebuild b/dev-java/testng/testng-6.11.ebuild index e57fa13e9197..92baedcd8ee8 100644 --- a/dev-java/testng/testng-6.11.ebuild +++ b/dev-java/testng/testng-6.11.ebuild @@ -28,7 +28,7 @@ SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.g S="${WORKDIR}/${P}" LICENSE="Apache-2.0" -KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" SLOT="0" CP_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: a3d7d806b92697f07647afa00986537f0ffb5637 Author: Sam James gentoo org> AuthorDate: Fri Nov 17 12:07:10 2023 + Commit: Sam James gentoo org> CommitDate: Fri Nov 17 12:07:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d7d806 dev-java/testng: Stabilize 6.11 x86, #917481 Signed-off-by: Sam James gentoo.org> dev-java/testng/testng-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.11.ebuild b/dev-java/testng/testng-6.11.ebuild index 00cdcab3a05c..0931b4dc45d9 100644 --- a/dev-java/testng/testng-6.11.ebuild +++ b/dev-java/testng/testng-6.11.ebuild @@ -28,7 +28,7 @@ SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.g S="${WORKDIR}/${P}" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ppc64 x86" SLOT="0" CP_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: a65f368717a1bc0c5b33b29738c52ac21bf7631f Author: Sam James gentoo org> AuthorDate: Fri Nov 17 12:07:11 2023 + Commit: Sam James gentoo org> CommitDate: Fri Nov 17 12:07:11 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a65f3687 dev-java/testng: Stabilize 6.11 amd64, #917481 Signed-off-by: Sam James gentoo.org> dev-java/testng/testng-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.11.ebuild b/dev-java/testng/testng-6.11.ebuild index 0931b4dc45d9..e57fa13e9197 100644 --- a/dev-java/testng/testng-6.11.ebuild +++ b/dev-java/testng/testng-6.11.ebuild @@ -28,7 +28,7 @@ SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.g S="${WORKDIR}/${P}" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~arm ~arm64 ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" SLOT="0" CP_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: ca3afaf47cb6804a7b888a920904e702f54e20b1 Author: Sam James gentoo org> AuthorDate: Fri Nov 17 11:08:42 2023 + Commit: Sam James gentoo org> CommitDate: Fri Nov 17 11:08:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca3afaf4 dev-java/testng: Stabilize 6.11 ppc64, #917481 Signed-off-by: Sam James gentoo.org> dev-java/testng/testng-6.11.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.11.ebuild b/dev-java/testng/testng-6.11.ebuild index fa7a919959da..00cdcab3a05c 100644 --- a/dev-java/testng/testng-6.11.ebuild +++ b/dev-java/testng/testng-6.11.ebuild @@ -28,7 +28,7 @@ SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.g S="${WORKDIR}/${P}" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86" SLOT="0" CP_DEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 3fae38f21bec0b1eae7bdc5259cc42e90ef7416d Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Feb 22 16:20:35 2023 + Commit: Miroslav Šulc gentoo org> CommitDate: Wed Oct 18 07:46:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fae38f2 dev-java/testng: add 6.11 - switches slot of dependency assertj-core 2 -> 3 - removes test restriction - moves "test" from IUSE to JAVA_PKG_IUSE - sets the "-verbose 3" option to get the PASSED/FAILED information - uses older version of jcommander 0 -> 1.64 - uses the DOCS array instead of dodoc - uses JAVA_RESOURCE_DIRS instead of java-pkg_addres which allows removing src_compile() - chops long lines - adds MAVEN_ID so that java-ebuilder can find it Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Miroslav Šulc gentoo.org> dev-java/testng/Manifest | 5 ++ dev-java/testng/testng-6.11.ebuild | 101 + 2 files changed, 106 insertions(+) diff --git a/dev-java/testng/Manifest b/dev-java/testng/Manifest index 310f28a1c68c..aaf68f18ad4d 100644 --- a/dev-java/testng/Manifest +++ b/dev-java/testng/Manifest @@ -1 +1,6 @@ +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 diff --git a/dev-java/testng/testng-6.11.ebuild b/dev-java/testng/testng-6.11.ebuild new file mode 100644 index ..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" +
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: eb95bd0a192316563b37d015d2d6c2ee127ad390 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Thu Jul 20 10:19:03 2023 + Commit: Miroslav Šulc gentoo org> CommitDate: Fri Jul 21 06:19:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb95bd0a dev-java/testng: update upstream metadata Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/31969 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/testng/metadata.xml| 2 +- dev-java/testng/testng-6.9.10-r1.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-java/testng/metadata.xml b/dev-java/testng/metadata.xml index 43f8b5d27805..f79c946be086 100644 --- a/dev-java/testng/metadata.xml +++ b/dev-java/testng/metadata.xml @@ -6,6 +6,6 @@ Java - cbeust/testng + testng-team/testng diff --git a/dev-java/testng/testng-6.9.10-r1.ebuild b/dev-java/testng/testng-6.9.10-r1.ebuild index 03d59cd025a7..46111b7f50e8 100644 --- a/dev-java/testng/testng-6.9.10-r1.ebuild +++ b/dev-java/testng/testng-6.9.10-r1.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 @@ -9,7 +9,7 @@ inherit java-pkg-2 java-pkg-simple DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; -SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/testng-team/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" KEYWORDS="amd64 ~arm arm64 ppc64 x86" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 851995b129a1437543040ad112a9c6d24f77c6da Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sun May 15 04:42:27 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Sun May 15 06:51:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851995b1 dev-java/testng: drop 6.9.10 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/25492 Bug: https://bugs.gentoo.org/844130 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/testng/testng-6.9.10.ebuild | 69 1 file changed, 69 deletions(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild deleted file mode 100644 index c644e8005e27.. --- a/dev-java/testng/testng-6.9.10.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" -HOMEPAGE="https://testng.org/; -SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" -SLOT="0" -IUSE="test" -RESTRICT="test" # Occasionally fail or run *REALLY* slowly. - -CDEPEND="dev-java/bsh:0 - dev-java/guice:4 - dev-java/junit:4 - dev-java/ant-core:0 - dev-java/snakeyaml:0 - dev-java/jcommander:0" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - test? ( dev-java/assertj-core:2 )" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.7" - -S="${WORKDIR}/${P}" -JAVA_SRC_DIR="src/main/java" -JAVA_GENTOO_CLASSPATH="ant-core,bsh,guice-4,jcommander,junit-4,snakeyaml" - -java_prepare() { - java-pkg_clean ! -path "./src/*" - - cp -v src/generated/java/org/testng/internal/VersionTemplateJava \ - src/main/java/org/testng/internal/Version.java || die -} - -src_compile() { - java-pkg-simple_src_compile - java-pkg_addres ${PN}.jar src/main/resources -} - -src_test() { - local DIR=src/test/java - local RES=src/test/resources - local CP=${PN}.jar:$(java-pkg_getjars --with-dependencies "${JAVA_GENTOO_CLASSPATH},assertj-core-2") - - ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") - java -cp "${RES}:${DIR}:${CP}" -Dtest.resources.dir=${RES} org.testng.TestNG -listener test.invokedmethodlistener.MyListener src/test/resources/testng.xml || die -} - -src_install() { - java-pkg-simple_src_install - java-pkg_dolauncher ${PN} --main org.testng.TestNG - java-pkg_register-ant-task - - dodoc {ANNOUNCEMENT,CHANGES,TODO}.txt - - if use doc; then - docinto html - dodoc -r doc - fi -}
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 7019b9938154ba2236b5f1fd9bad0de1b04dc0fc Author: Jakov Smolić gentoo org> AuthorDate: Sat May 14 21:49:36 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat May 14 21:49:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7019b993 dev-java/testng: Stabilize 6.9.10-r1 x86, #844130 Signed-off-by: Jakov Smolić gentoo.org> dev-java/testng/testng-6.9.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10-r1.ebuild b/dev-java/testng/testng-6.9.10-r1.ebuild index edfeae830595..03d59cd025a7 100644 --- a/dev-java/testng/testng-6.9.10-r1.ebuild +++ b/dev-java/testng/testng-6.9.10-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: f3c6ac29141e495bdf601176f5d05cf404e40661 Author: Jakov Smolić gentoo org> AuthorDate: Sat May 14 09:20:08 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat May 14 09:20:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c6ac29 dev-java/testng: Stabilize 6.9.10-r1 ppc64, #844130 Signed-off-by: Jakov Smolić gentoo.org> dev-java/testng/testng-6.9.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10-r1.ebuild b/dev-java/testng/testng-6.9.10-r1.ebuild index 54b4d39d81d0..edfeae830595 100644 --- a/dev-java/testng/testng-6.9.10-r1.ebuild +++ b/dev-java/testng/testng-6.9.10-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 ~x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 19e0ff827bb26d399c7638ef8d58d220e6d714a1 Author: Jakov Smolić gentoo org> AuthorDate: Sat May 14 09:19:44 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat May 14 09:19:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19e0ff82 dev-java/testng: Stabilize 6.9.10-r1 amd64, #844130 Signed-off-by: Jakov Smolić gentoo.org> dev-java/testng/testng-6.9.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10-r1.ebuild b/dev-java/testng/testng-6.9.10-r1.ebuild index af82a41b5fab..54b4d39d81d0 100644 --- a/dev-java/testng/testng-6.9.10-r1.ebuild +++ b/dev-java/testng/testng-6.9.10-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: b052837f17b592dd0793915ae266ff3a9bede1f6 Author: Arthur Zamarin gentoo org> AuthorDate: Sat May 14 09:18:01 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat May 14 09:18:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b052837f dev-java/testng: Stabilize 6.9.10-r1 arm64, #844130 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/testng/testng-6.9.10-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10-r1.ebuild b/dev-java/testng/testng-6.9.10-r1.ebuild index 93be01d33c9d..af82a41b5fab 100644 --- a/dev-java/testng/testng-6.9.10-r1.ebuild +++ b/dev-java/testng/testng-6.9.10-r1.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm arm64 ~ppc64 ~x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: d6ae32f567c68ad5179cd4d79175082bb53bd3e5 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Apr 13 05:57:35 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Thu Apr 14 05:13:59 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ae32f5 dev-java/testng: update EAPI 5 -> 8 Bug: https://bugs.gentoo.org/826494 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/25015 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/testng/testng-6.9.10-r1.ebuild | 70 + 1 file changed, 70 insertions(+) diff --git a/dev-java/testng/testng-6.9.10-r1.ebuild b/dev-java/testng/testng-6.9.10-r1.ebuild new file mode 100644 index ..93be01d33c9d --- /dev/null +++ b/dev-java/testng/testng-6.9.10-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 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="Testing framework inspired by JUnit and NUnit with new features" +HOMEPAGE="https://testng.org/; +SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +SLOT="0" +IUSE="test" +RESTRICT="test" # Occasionally fail or run *REALLY* slowly. + +CDEPEND="dev-java/bsh:0 + dev-java/guice:4 + dev-java/junit:4 + dev-java/ant-core:0 + dev-java/snakeyaml:0 + dev-java/jcommander:0" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:* + test? ( dev-java/assertj-core:2 )" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +S="${WORKDIR}/${P}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="ant-core,bsh,guice-4,jcommander,junit-4,snakeyaml" + +src_prepare() { + default + java-pkg_clean ! -path "./src/*" + + cp -v src/generated/java/org/testng/internal/VersionTemplateJava \ + src/main/java/org/testng/internal/Version.java || die +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar src/main/resources +} + +src_test() { + local DIR=src/test/java + local RES=src/test/resources + local CP=${PN}.jar:$(java-pkg_getjars --with-dependencies "${JAVA_GENTOO_CLASSPATH},assertj-core-2") + + ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") + java -cp "${RES}:${DIR}:${CP}" -Dtest.resources.dir=${RES} org.testng.TestNG -listener test.invokedmethodlistener.MyListener src/test/resources/testng.xml || die +} + +src_install() { + java-pkg-simple_src_install + java-pkg_dolauncher ${PN} --main org.testng.TestNG + java-pkg_register-ant-task + + dodoc {ANNOUNCEMENT,CHANGES,TODO}.txt + + if use doc; then + docinto html + dodoc -r doc + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 416be0d381e7360accf177119d1f6f7cc20c7f6d Author: Arthur Zamarin gentoo org> AuthorDate: Mon Jan 10 19:10:27 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Jan 10 19:10:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=416be0d3 dev-java/testng: Keyword 6.9.10 arm, #828049 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/testng/testng-6.9.10.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild index 2811d9a49c6b..c644e8005e27 100644 --- a/dev-java/testng/testng-6.9.10.ebuild +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="amd64 arm64 ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 92b27b9642aed6fb401b9753e5246436891be569 Author: Arthur Zamarin gentoo org> AuthorDate: Tue Nov 30 20:52:48 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Nov 30 20:52:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b27b96 dev-java/testng: Stabilize 6.9.10 arm64, #822921 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/testng/testng-6.9.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild index 6c6915b4672e..2811d9a49c6b 100644 --- a/dev-java/testng/testng-6.9.10.ebuild +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="amd64 ~arm64 ppc64 x86" +KEYWORDS="amd64 arm64 ppc64 x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 5cc0e18683e48155eca8f3e099601d76fb784e47 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 16 07:49:55 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 16 07:49:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc0e186 dev-java/testng: ppc64 stable wrt bug #822921 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-java/testng/testng-6.9.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild index 240420f9398f..6c6915b4672e 100644 --- a/dev-java/testng/testng-6.9.10.ebuild +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="amd64 ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ppc64 x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: acd85e588c65a140665b6fb03a0255f0a23c8f4f Author: Sam James gentoo org> AuthorDate: Tue Oct 19 00:14:30 2021 + Commit: Sam James gentoo org> CommitDate: Tue Oct 19 00:14:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acd85e58 dev-java/testng: Keyword 6.9.10 arm64, #802609 Signed-off-by: Sam James gentoo.org> dev-java/testng/testng-6.9.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild index 4166a670f72..240420f9398 100644 --- a/dev-java/testng/testng-6.9.10.ebuild +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="amd64 ~ppc64 x86" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: d76b50d5d0466c97e7e6a2497fe09effbd61d243 Author: Sam James gentoo org> AuthorDate: Sat Jul 24 15:21:44 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jul 24 15:21:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d76b50d5 dev-java/testng: Keyword 6.9.10 ppc64, #802609 Signed-off-by: Sam James gentoo.org> dev-java/testng/testng-6.9.10.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild index 6be65aaa0a3..4166a670f72 100644 --- a/dev-java/testng/testng-6.9.10.ebuild +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -11,7 +11,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~ppc64 x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 409754c9d2fc19256b56c499798649b6d2c97cb5 Author: Alexey Sokolov google com> AuthorDate: Fri May 8 14:49:42 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Sun May 17 16:55:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=409754c9 dev-java/testng: update homepage Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alexey Sokolov google.com> Signed-off-by: Aaron Bauman gentoo.org> dev-java/testng/testng-6.9.10.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild index 6a886240f14..6be65aaa0a3 100644 --- a/dev-java/testng/testng-6.9.10.ebuild +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -8,7 +8,7 @@ JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-pkg-simple DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" -HOMEPAGE="http://testng.org/; +HOMEPAGE="https://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" KEYWORDS="amd64 x86"
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 54f9139b796851a206f75d28afb3ac63f559f3db Author: James Le Cuirot gentoo org> AuthorDate: Mon Mar 14 20:58:33 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 14 21:04:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f9139b dev-java/testng: 6.9.10 stable on amd64 and x86 using ALLARCHES Package-Manager: portage-2.2.28 dev-java/testng/testng-6.9.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild index b0a7c09..0fd85e3 100644 --- a/dev-java/testng/testng-6.9.10.ebuild +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -12,7 +12,7 @@ DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" HOMEPAGE="http://testng.org/; SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" SLOT="0" IUSE="test" RESTRICT="test" # Occasionally fail or run *REALLY* slowly.
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/, dev-java/testng/files/
commit: a881fd22476f5aa7fee6edc868dc574467b99f5f Author: James Le Cuirot gentoo org> AuthorDate: Sat Jan 16 23:31:43 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Jan 17 00:01:19 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a881fd22 dev-java/testng: Remove old Package-Manager: portage-2.2.26 dev-java/testng/Manifest | 1 - dev-java/testng/files/testng-6.8-build-tests.xml | 188 - .../files/testng-6.8-remove-ivy-retrieve.patch | 22 --- .../files/testng-6.8-remove-jar-bundling.patch | 60 --- dev-java/testng/testng-6.8-r4.ebuild | 100 --- 5 files changed, 371 deletions(-) diff --git a/dev-java/testng/Manifest b/dev-java/testng/Manifest index 2e19fa9..7f442f0 100644 --- a/dev-java/testng/Manifest +++ b/dev-java/testng/Manifest @@ -1,2 +1 @@ -DIST testng-6.8.zip 11550802 SHA256 72c7241109b149caea01af5f5c37c86b61b08f15864a8a40e15d069593625e0c SHA512 2e8ad30a2c2f68d0aad584ef92246381c8adf8a893af2ca9ff8fb7d304c26956dfc6564f120de80d22e3e7a53a1402e3869f19ef0e6a69c674cbe35a58811920 WHIRLPOOL b7cf05963aaba3009d7326fee12694c32798787ee4295044daabdcf6b5a50dbb4b17f2a201dcdcd6d191bbc6665c12db789be80e71625eb8d08ca29b3cdfcff2 DIST testng-6.9.10.tar.gz 6271781 SHA256 2155f0461f6b80433781968b9465627f877ea579086cb4149ca68e5e711d8127 SHA512 ed9ad1ced20904ab261d2a233f3fa43ee1ea31778e992cdd27459811b256a6998d8385dd01ff72821133208a1fbd72aa3599a4b8bc0eb4d7b696d34593f9567e WHIRLPOOL 38ae9ac8732ee96f0c0c9f48e5e5ba1cef342ea2f866322d22064b8aca4d405318fcce8e4a1bd7ba6276645429fe3a9ec8be42a8e2065cbb0d99dc6b2a0059d7 diff --git a/dev-java/testng/files/testng-6.8-build-tests.xml b/dev-java/testng/files/testng-6.8-build-tests.xml deleted file mode 100644 index e94606b..000 --- a/dev-java/testng/files/testng-6.8-build-tests.xml +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -BASEDIR =${basedir} -TEST.DIR =${test.dir} -TEST.BUILD.DIR =${test.build.dir} -REPORT.DIR =${report.dir} -JUNIT.REPORT.DIR =${junit.report.dir} -TESTNG.REPORT.DIR=${testng.report.dir} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Report created inopen ${testng.report.dir}/index.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Reports can be found in:open ${testng.report.dir}/index.html - - - diff --git a/dev-java/testng/files/testng-6.8-remove-ivy-retrieve.patch b/dev-java/testng/files/testng-6.8-remove-ivy-retrieve.patch deleted file mode 100644 index 2d7e91e..000 --- a/dev-java/testng/files/testng-6.8-remove-ivy-retrieve.patch +++ /dev/null @@ -1,22 +0,0 @@ a/build.xml -+++ b/build.xml -@@ -12,7 +12,7 @@ - - - -- - - -@@ -419,10 +419,6 @@ - - - -- -- -- -- - - - diff --git a/dev-java/testng/files/testng-6.8-remove-jar-bundling.patch b/dev-java/testng/files/testng-6.8-remove-jar-bundling.patch deleted file mode 100644 index ca79397..000 --- a/dev-java/testng/files/testng-6.8-remove-jar-bundling.patch +++ /dev/null @@ -1,60 +0,0 @@ a/build.xml -+++ b/build.xml -@@ -73,9 +73,6 @@ - - - -- -- -- - - - -@@ -195,10 +192,6 @@ - - - -- -- -- -- - - - -@@ -207,9 +200,6 @@ - - - -- -- -- - - - -@@ -218,9 +208,6 @@ - - - -- -- -- - - - -@@ -229,8 +216,6 @@ - - - -- -- - - - -@@ -239,7 +224,6 @@ - - - -- - - - diff --git a/dev-java/testng/testng-6.8-r4.ebuild b/dev-java/testng/testng-6.8-r4.ebuild deleted file mode 100644 index ca20bf6..000 --- a/dev-java/testng/testng-6.8-r4.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="New generation testing framework in Java" -HOMEPAGE="http://testng.org/; -SRC_URI="http://${PN}.org/${P}.zip; - -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" -SLOT="0" - -CDEPEND=" - dev-java/bsh:0 - dev-java/guice:2 - dev-java/junit:4 - dev-java/ant-core:0 -
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 836dcead653e7310017523486e467a4ee0a71136 Author: James Le Cuirot gentoo org> AuthorDate: Sat Jan 16 23:30:27 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Jan 17 00:01:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836dcead dev-java/testng: Version bump to 6.9.10, fixes bug #572026 This is a rewrite using java-pkg-simple. Package-Manager: portage-2.2.26 dev-java/testng/Manifest | 1 + dev-java/testng/testng-6.9.10.ebuild | 70 2 files changed, 71 insertions(+) diff --git a/dev-java/testng/Manifest b/dev-java/testng/Manifest index 4cf5958..2e19fa9 100644 --- a/dev-java/testng/Manifest +++ b/dev-java/testng/Manifest @@ -1 +1,2 @@ DIST testng-6.8.zip 11550802 SHA256 72c7241109b149caea01af5f5c37c86b61b08f15864a8a40e15d069593625e0c SHA512 2e8ad30a2c2f68d0aad584ef92246381c8adf8a893af2ca9ff8fb7d304c26956dfc6564f120de80d22e3e7a53a1402e3869f19ef0e6a69c674cbe35a58811920 WHIRLPOOL b7cf05963aaba3009d7326fee12694c32798787ee4295044daabdcf6b5a50dbb4b17f2a201dcdcd6d191bbc6665c12db789be80e71625eb8d08ca29b3cdfcff2 +DIST testng-6.9.10.tar.gz 6271781 SHA256 2155f0461f6b80433781968b9465627f877ea579086cb4149ca68e5e711d8127 SHA512 ed9ad1ced20904ab261d2a233f3fa43ee1ea31778e992cdd27459811b256a6998d8385dd01ff72821133208a1fbd72aa3599a4b8bc0eb4d7b696d34593f9567e WHIRLPOOL 38ae9ac8732ee96f0c0c9f48e5e5ba1cef342ea2f866322d22064b8aca4d405318fcce8e4a1bd7ba6276645429fe3a9ec8be42a8e2065cbb0d99dc6b2a0059d7 diff --git a/dev-java/testng/testng-6.9.10.ebuild b/dev-java/testng/testng-6.9.10.ebuild new file mode 100644 index 000..b0a7c09 --- /dev/null +++ b/dev-java/testng/testng-6.9.10.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Testing framework inspired by JUnit and NUnit with new features" +HOMEPAGE="http://testng.org/; +SRC_URI="https://github.com/cbeust/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test" +RESTRICT="test" # Occasionally fail or run *REALLY* slowly. + +CDEPEND="dev-java/bsh:0 + dev-java/guice:4 + dev-java/junit:4 + dev-java/ant-core:0 + dev-java/snakeyaml:0 + dev-java/jcommander:0" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.7 + test? ( dev-java/assertj-core:2 )" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.7" + +S="${WORKDIR}/${P}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="ant-core,bsh,guice-4,jcommander,junit-4,snakeyaml" + +java_prepare() { + java-pkg_clean ! -path "./src/*" + + cp -v src/generated/java/org/testng/internal/VersionTemplateJava \ + src/main/java/org/testng/internal/Version.java || die +} + +src_compile() { + java-pkg-simple_src_compile + java-pkg_addres ${PN}.jar src/main/resources +} + +src_test() { + local DIR=src/test/java + local RES=src/test/resources + local CP=${PN}.jar:$(java-pkg_getjars --with-dependencies "${JAVA_GENTOO_CLASSPATH},assertj-core-2") + + ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") + java -cp "${RES}:${DIR}:${CP}" -Dtest.resources.dir=${RES} org.testng.TestNG -listener test.invokedmethodlistener.MyListener src/test/resources/testng.xml || die +} + +src_install() { + java-pkg-simple_src_install + java-pkg_dolauncher ${PN} --main org.testng.TestNG + java-pkg_register-ant-task + + dodoc {ANNOUNCEMENT,CHANGES,TODO}.txt + + if use doc; then + docinto html + dodoc -r doc + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: c7d9d8ec44a2b4d890437c0aa4caf7bafc85a5b7 Author: Patrice Clement gentoo org> AuthorDate: Fri Jan 8 13:25:50 2016 + Commit: Patrice Clement gentoo org> CommitDate: Fri Jan 8 13:27:25 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7d9d8ec dev-java/testng: Set snakeyaml SLOT back to 0. Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement gentoo.org> .../{testng-6.8-r3.ebuild => testng-6.8-r4.ebuild} | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/dev-java/testng/testng-6.8-r3.ebuild b/dev-java/testng/testng-6.8-r4.ebuild similarity index 94% rename from dev-java/testng/testng-6.8-r3.ebuild rename to dev-java/testng/testng-6.8-r4.ebuild index 83f523f..a09091e 100644 --- a/dev-java/testng/testng-6.8-r3.ebuild +++ b/dev-java/testng/testng-6.8-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -21,15 +21,17 @@ CDEPEND=" dev-java/guice:2 dev-java/junit:4 dev-java/ant-core:0 - dev-java/jcommander:0 - dev-java/snakeyaml:1.9" + dev-java/snakeyaml:0 + dev-java/jcommander:0" -DEPEND=">=virtual/jdk-1.6 +DEPEND=" + ${CDEPEND} app-arch/zip - ${CDEPEND}" + >=virtual/jdk-1.6" -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" JAVA_ANT_CLASSPATH_TAGS+=" testng javadocs-current" JAVA_PKG_BSFIX_NAME="build.xml build-tests.xml"
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 17330f50d155e202e49f7f358ed9d3c5c538480e Author: Patrice Clement gentoo org> AuthorDate: Fri Jan 8 13:26:41 2016 + Commit: Patrice Clement gentoo org> CommitDate: Fri Jan 8 13:27:28 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17330f50 dev-java/testng: Fix DESCRIPTION length. Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement gentoo.org> dev-java/testng/testng-6.8-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/testng/testng-6.8-r4.ebuild b/dev-java/testng/testng-6.8-r4.ebuild index a09091e..ca20bf6 100644 --- a/dev-java/testng/testng-6.8-r4.ebuild +++ b/dev-java/testng/testng-6.8-r4.ebuild @@ -8,7 +8,7 @@ JAVA_PKG_IUSE="doc examples source test" inherit java-pkg-2 java-ant-2 -DESCRIPTION="Testing framework introducing some new functionalities that make it more powerful and easier to use" +DESCRIPTION="New generation testing framework in Java" HOMEPAGE="http://testng.org/; SRC_URI="http://${PN}.org/${P}.zip;
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/, dev-java/testng/files/
commit: ddc4b403f0397f32bf32109593dea46ff2c0b87d Author: Patrice Clement gentoo org> AuthorDate: Sun Oct 25 14:11:15 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Oct 25 14:32:17 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc4b403 dev-java/testng: Clean up broken version. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/testng/files/build-tests.xml | 188 -- dev-java/testng/testng-6.8-r2.ebuild | 89 2 files changed, 277 deletions(-) diff --git a/dev-java/testng/files/build-tests.xml b/dev-java/testng/files/build-tests.xml deleted file mode 100644 index e94606b..000 --- a/dev-java/testng/files/build-tests.xml +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -BASEDIR =${basedir} -TEST.DIR =${test.dir} -TEST.BUILD.DIR =${test.build.dir} -REPORT.DIR =${report.dir} -JUNIT.REPORT.DIR =${junit.report.dir} -TESTNG.REPORT.DIR=${testng.report.dir} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Report created inopen ${testng.report.dir}/index.html - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Reports can be found in:open ${testng.report.dir}/index.html - - - diff --git a/dev-java/testng/testng-6.8-r2.ebuild b/dev-java/testng/testng-6.8-r2.ebuild deleted file mode 100644 index e90b764..000 --- a/dev-java/testng/testng-6.8-r2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -JAVA_PKG_IUSE="doc examples source test" -WANT_ANT_TASKS="ant-junit" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Testing framework introducing some new functionalities that make it more powerful and easier to use" -HOMEPAGE="http://testng.org/; -SRC_URI="http://${PN}.org/${P}.zip; - -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" -SLOT="0" - -CDEPEND="dev-java/ant-core:0 - dev-java/bsh:0 - dev-java/guice:2 - dev-java/jcommander:0 - dev-java/junit:4 - dev-java/snakeyaml:1.9" - -DEPEND=">=virtual/jdk-1.5 - app-arch/zip - ${CDEPEND}" - -RDEPEND=">=virtual/jre-1.5 - ${CDEPEND}" - -JAVA_PKG_BSFIX_NAME="build.xml build-tests.xml" -JAVA_ANT_REWRITE_CLASSPATH="true" -JAVA_ANT_CLASSPATH_TAGS+=" testng javadocs-current" -EANT_GENTOO_CLASSPATH="ant-core,bsh,guice-2,jcommander,junit-4,snakeyaml-1.9" -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH}" - -EANT_BUILD_TARGET="build" -EANT_TEST_TARGET="tests" -EANT_DOC_TARGET="javadocs" - -java_prepare() { - find . -name '*.jar' -print -delete || die - - cp "${FILESDIR}"/${P}-build-tests.xml build-tests.xml || die - - epatch "${FILESDIR}"/${P}-remove-ivy-retrieve.patch - epatch "${FILESDIR}"/${P}-remove-jar-bundling.patch - - # Removal of tests that break due to restrictions or environment expectations: - # ServiceLoaderTest - Breaks due absolute URL load that Portage prevents; - # we assume the underlying functionality to work, as - # the underlying functionality is simple and should - # show the usage of this package to break. - sed -i '/test.serviceloader.ServiceLoaderTest/d' src/test/resources/testng.xml || die - - # TrueParallelTest - Doesn't always work, especially not on a system - #under load; since this could fail during parallel - #emerges, we assume the underlying functionality to - #work as it has definitely succeeded under lower load. - sed -i '/test.thread.TrueParallelTest/d' src/test/resources/testng.xml || die - - mkdir lib || die -} - -src_test() { - local tests_file="target/test-output/index.html" - - java-pkg-2_src_test - - if [[ ! -f ${tests_file} ]] ; then - die "Tests failed, test output does not exist; a problem with starting the tests." - fi - - grep 'method-stats.*failed' target/test-output/index.html > /dev/null && \ - die "Tests failed; one or more test failed, see ${tests_file} for more details." -} - -src_install() { - java-pkg_newjar target/${P}.jar -
[gentoo-commits] repo/gentoo:master commit in: dev-java/testng/
commit: 4f6aeab3e6223c8431beec2e580be861d3226266 Author: Patrice Clement gentoo org> AuthorDate: Sun Oct 25 14:08:32 2015 + Commit: Patrice Clement gentoo org> CommitDate: Sun Oct 25 14:32:13 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6aeab3 dev-java/testng: Disable tests. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/testng/testng-6.8-r3.ebuild | 98 1 file changed, 98 insertions(+) diff --git a/dev-java/testng/testng-6.8-r3.ebuild b/dev-java/testng/testng-6.8-r3.ebuild new file mode 100644 index 000..83f523f --- /dev/null +++ b/dev-java/testng/testng-6.8-r3.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Testing framework introducing some new functionalities that make it more powerful and easier to use" +HOMEPAGE="http://testng.org/; +SRC_URI="http://${PN}.org/${P}.zip; + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +CDEPEND=" + dev-java/bsh:0 + dev-java/guice:2 + dev-java/junit:4 + dev-java/ant-core:0 + dev-java/jcommander:0 + dev-java/snakeyaml:1.9" + +DEPEND=">=virtual/jdk-1.6 + app-arch/zip + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +JAVA_ANT_CLASSPATH_TAGS+=" testng javadocs-current" +JAVA_PKG_BSFIX_NAME="build.xml build-tests.xml" +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_ANT_ENCODING="ISO-8859-1" + +EANT_GENTOO_CLASSPATH="ant-core,bsh,guice-2,jcommander,junit-4,snakeyaml-1.9" +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH}" + +EANT_BUILD_TARGET="build" +EANT_TEST_TARGET="tests" +EANT_DOC_TARGET="javadocs" + +PATCHES=( + "${FILESDIR}"/${P}-remove-ivy-retrieve.patch + "${FILESDIR}"/${P}-remove-jar-bundling.patch +) + +# Error: A JNI error has occurred, please check your installation and try again. +RESTRICT="test" + +java_prepare() { + java-pkg_clean + + cp "${FILESDIR}"/${P}-build-tests.xml build-tests.xml || die + + epatch "${PATCHES[@]}" + + # Removal of tests that break due to restrictions or environment expectations: + # ServiceLoaderTest - Breaks due absolute URL load that Portage prevents; + # we assume the underlying functionality to work, as + # the underlying functionality is simple and should + # show the usage of this package to break. + sed -i '/test.serviceloader.ServiceLoaderTest/d' src/test/resources/testng.xml || die + + # TrueParallelTest - Doesn't always work, especially not on a system + #under load; since this could fail during parallel + #emerges, we assume the underlying functionality to + #work as it has definitely succeeded under lower load. + sed -i '/test.thread.TrueParallelTest/d' src/test/resources/testng.xml || die + + mkdir lib || die +} + +src_test() { + java-pkg-2_src_test + + local tests_file="target/test-output/index.html" + + if [[ ! -f ${tests_file} ]] ; then + die "Tests failed, test output does not exist; a problem with starting the tests." + fi + + grep 'method-stats.*failed' target/test-output/index.html > /dev/null && \ + die "Tests failed; one or more test failed, see ${tests_file} for more details." +} + +src_install() { + java-pkg_newjar target/${P}.jar + java-pkg_dolauncher ${PN} --main org.testng.TestNG + java-pkg_register-ant-task + + use doc && java-pkg_dojavadoc javadocs + use examples && java-pkg_doexamples examples + use source && java-pkg_dosrc src/main/java/{org,com} +}