diff options
Diffstat (limited to 'dev-java/guava')
-rw-r--r-- | dev-java/guava/Manifest | 2 | ||||
-rw-r--r-- | dev-java/guava/guava-30.1.1.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-java/guava/Manifest b/dev-java/guava/Manifest index a77edcf13545..b3b6d0dc56b0 100644 --- a/dev-java/guava/Manifest +++ b/dev-java/guava/Manifest @@ -1,4 +1,6 @@ DIST guava-20.0.tar.gz 2522092 BLAKE2B 2ca76a71d0c169b80bfaa3e9847b2e465c57aabc0a67622a69519808fa8455146228747dc20e999ebc20ef7cd5fec1cfa82f6c025e9378011619cfedbc2c7d6c SHA512 e89eee8e66502f208878af286c660393712b12fb37647ec70719ca7c5184686c8dc5fc59d45c1813d792ecad9421e2c077dab075f76b1907c04f9f6e80567ac9 +DIST guava-30.1.1.tar.gz 5404546 BLAKE2B 818ef4b17c4f0c8e92c327f046434a3bb428ac35d6e95edd6d6be558c755d138a8ac7f8ad2032073cad131890d8f838e896fff84ba217f8305be8bd65c619a48 SHA512 23b30d886a3200b8f998897ca7bc424b2d223a4fecb03ab644e08a989a85f008e30ef093055e6305c4148a1eb8919c407e35d19f492c5b189830bd115e9484f2 EBUILD guava-20.0-r1.ebuild 848 BLAKE2B 9eabed972891b3e2284c3133181fab6188ddfd0ab3988cf6ee5391d028bb8e762d5e6faf947f734e5f732f1a9f424daba4d0f2cf72344e936d93eccdea5df95e SHA512 c4be9028b341fbf960f160e94839af2b2d2672bbfd191336d7d8aa8fb4462086eba3e4f4fc6415451b590200853bd1d31f09d44b02635dacd4e73c5886ec6d75 EBUILD guava-20.0.ebuild 845 BLAKE2B 0df28f19f6916d03bb9624755c88bb8c5d3a6706e8aedab3dfb49c2a7d0d449040875aa5a554388ca716f6d221f78eb4d5d329b89c4bedfa1fa05d81d7eb6744 SHA512 31cc84e2b174b988b2b5449cdeb629360e7e17d6cdfae350f7929c9756dcc7cb3fd387cbd9ad069971f09afc833608b001bca9421986efa526715e9bc4537156 +EBUILD guava-30.1.1.ebuild 1819 BLAKE2B cc291cec8e7b233fc0cd30ac433249910ea885ff4aa1c957cad2933ef56e3df9d74ee1c9ff5db91305e35585521266bfe4da822b2f0307bcefbb35cf3b0760d4 SHA512 aca5a2e9eb40b7bfcd6ea9bc893935d6aefbf11c111664a957dc9c82fdd83690ad6ac39efb6b8bdbd91cf79486e3f8a8e0f3b75276f4d74fdf1d2acecb9eb647 MISC metadata.xml 589 BLAKE2B 36b17e71aeb533194b87a9101d730b3f233c23b175b65216bdeecfcbf1bc7ac0936b7b284cdb40a30573d630d34a9bf7c2ca966b26bef4a3e7c5d6e90a1075a5 SHA512 0b8556db4fe43dc25f7604dd98ebb01fb4318c8a861ca25a5d7db76fef4b076c2eb2a67b801807233ad950cfb0d70b438af3f9e84f408060a168d9897158c6eb diff --git a/dev-java/guava/guava-30.1.1.ebuild b/dev-java/guava/guava-30.1.1.ebuild new file mode 100644 index 000000000000..339f4b0e446b --- /dev/null +++ b/dev-java/guava/guava-30.1.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://codeload.github.com/google/guava/tar.gz/refs/tags/v30.1.1 --slot 0 --keywords "" --ebuild guava-30.1.1.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source" +#JAVA_TESTING_FRAMEWORKS="junit-5" +MAVEN_ID="com.google.guava:guava:${PV}-jre" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A collection of Google's core Java libraries" +HOMEPAGE="https://github.com/google/guava" +SRC_URI="https://codeload.github.com/google/guava/tar.gz/v${PV} -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" + +# Common dependencies +# POM: pom.xml +# com.google.code.findbugs:jsr305:3.0.2 -> !!!groupId-not-found!!! +# com.google.errorprone:error_prone_annotations:2.5.1 -> >=dev-java/error-prone-annotations-2.7.1:0 +# com.google.guava:failureaccess:1.0.1 -> >=dev-java/failureaccess-30.1.1:0 +# com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava -> !!!artifactId-not-found!!! +# com.google.j2objc:j2objc-annotations:1.3 -> !!!groupId-not-found!!! +# org.checkerframework:checker-qual:3.8.0 -> >=dev-java/checker-framework-qual-3.14.0:0 + +CDEPEND=" + >=dev-java/error-prone-annotations-2.7.1:0 + >=dev-java/failureaccess-30.1.1:0 + dev-java/jsr305:0 +" + +DEPEND=" + >=dev-java/checker-framework-qual-3.14.0:0 + dev-java/j2objc-annotations:0 + >=virtual/jdk-1.8:* + ${CDEPEND} +" + +RDEPEND=">=virtual/jre-1.8:* + ${CDEPEND} +" + +S="${WORKDIR}/${P}" + +JAVA_GENTOO_CLASSPATH="error-prone-annotations,failureaccess,jsr305" + +src_configure() { + JAVA_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjars --build-only checker-framework-qual,j2objc-annotations)" +} + +JAVA_SRC_DIR="${PN}/src" + +JAVA_TEST_SRC_DIR="${PN}-tests/" |