diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-05 10:23:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-05 10:23:18 +0100 |
commit | 9aa62a2a35904a08cbf2e884d3abd89d893daf91 (patch) | |
tree | 9f612bb8f368bfd5d14d84f9922b073302e85d30 /dev-java/guava-testlib | |
parent | b89f5897f4301157fb1a4af17e0c941703a2579c (diff) |
gentoo auto-resync : 05:09:2023 - 10:23:17
Diffstat (limited to 'dev-java/guava-testlib')
-rw-r--r-- | dev-java/guava-testlib/Manifest | 3 | ||||
-rw-r--r-- | dev-java/guava-testlib/guava-testlib-32.1.2.ebuild | 46 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/guava-testlib/Manifest b/dev-java/guava-testlib/Manifest index c5365fa434c3..75593c41c492 100644 --- a/dev-java/guava-testlib/Manifest +++ b/dev-java/guava-testlib/Manifest @@ -1,3 +1,6 @@ DIST guava-31.1.tar.gz 5583483 BLAKE2B b430257b6a21e8cc85b11241be3abc463d13d29d85c6e7a3e4240977213428ec92af63afb66d0637f6b6dbbab1e3493cfc684a6be21ba4633cec7c6df5d0a8e7 SHA512 660b486d82d526ce722130f2968ea8ab9eb53f5915f80e53ef135a7bfcb6ced9b2f2a50ebdb8b316cc48a4f2553fa067a1d6fc0bc4498774a9f1990a535651b8 +DIST guava-32.1.2.tar.gz 5746736 BLAKE2B e10f9ca81acfd14c0bdc595d777c2738f88e35d3caf2ebaec5b3f3dcd6ee87672830671b8f99b0ce030d040adcbf0a88a4cba13a42dfb980bc926540b663167e SHA512 43a9b6068bd4b636f742a6a418a34f3b4d218a0ec14b39d5fbe67b4d3c11813295c3c0eb2cf41b5de7a2383eaba639001faab60dbf3821b7546e29fe9cf3dd78 +DIST truth-1.1.3.jar 243021 BLAKE2B a59149038c62ef5dd352b13d4b393e1b7715fbafe5ed86ec2d16d722c738a31dcdca10132fc73b17b367ac4309e5407ba2e489f8d4c8fbca60ce5f35ae75d1e3 SHA512 f29a9fb070aff8a32358a7b6c8998c0095de5d8d68afa7f7bac759c7050309deff929e767657ecbbefd96163460f10255ca01bc567ab30df4834b9d916a4fae8 EBUILD guava-testlib-31.1.ebuild 1646 BLAKE2B 47da5c59670dc4ddf27b2f02a2befe071ba5348b1ff1582e500bab4fe47b1e5e1fbaac53ffc80246d505cf2101547b8ae1547f1862c881fc0dfefd7cf075f73a SHA512 1b9ab91d462df2c38d3ad10304906ab9d870d3308632cafefba10d24f78065b635d1759bf34a727064a5dd61bcb06206ee3172dad82b44229606657871639bd7 +EBUILD guava-testlib-32.1.2.ebuild 1303 BLAKE2B 06343cece40e6853d1059e5153879006cf781d33f2662927d4679d359521a1162a994ca7454ad8326e3714df4e26d6610ea263be559e7e3531b4fce0d60d23d1 SHA512 734d6b338d76233b31c6e20df568dfd2cdcd42d0d56e89849a90a8008825e45a0010064792ebfc6135fa5298a49315569ecd682c13c8d1777a29950f8a62533f MISC metadata.xml 388 BLAKE2B 619e640d22637685b8b59294275ab1a36e74839c5eb2f6002055cb40037406800379274d4085d41ce2a8f2000b6bedcd137b4e7fe38933734474f998e4cf909b SHA512 b44014388651d54e41671847c438c9ba03ff1a551924a82ff0ce12deb8f347e94f49469ab41413e052776c9b7893a1989d570f12454117e828051eef5fef1c11 diff --git a/dev-java/guava-testlib/guava-testlib-32.1.2.ebuild b/dev-java/guava-testlib/guava-testlib-32.1.2.ebuild new file mode 100644 index 000000000000..80d71fe50c23 --- /dev/null +++ b/dev-java/guava-testlib/guava-testlib-32.1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# No tests because "error: package com.google.common.truth does not exist" +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.google.guava:guava-testlib:${PV}-jre" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A set of java classes to assist the tests for Guava itself" +HOMEPAGE="https://github.com/google/guava" +# Currently we bundle the binary version of truth.jar used only for tests, we don't install it. +SRC_URI="https://github.com/google/guava/archive/v${PV}.tar.gz -> guava-${PV}.tar.gz + test? ( https://repo1.maven.org/maven2/com/google/truth/truth/1.1.3/truth-1.1.3.jar )" +S="${WORKDIR}/guava-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/checker-framework-qual:0 + dev-java/error-prone-annotations:0 + ~dev-java/guava-${PV}:0 + dev-java/j2objc-annotations:0 + dev-java/jsr305:0 + dev-java/junit:4 +" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +JAVA_SRC_DIR="${PN}/src" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="${PN}/test" + +src_test() { + JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/truth-1.1.3.jar:testdata.jar" + java-pkg-simple_src_test +} |