summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-11-05 22:36:48 +0000
committerJames Le Cuirot <chewi@gentoo.org>2016-11-05 22:49:22 +0000
commitad0a422afe82e5873408b3325cbec9b68e03b210 (patch)
tree667b5706d8930239b521940461736b7579f72d80
parentdev-java/j2objc-annotations: New package, required by guava (diff)
downloadgentoo-ad0a422afe82e5873408b3325cbec9b68e03b210.tar.gz
gentoo-ad0a422afe82e5873408b3325cbec9b68e03b210.tar.bz2
gentoo-ad0a422afe82e5873408b3325cbec9b68e03b210.zip
dev-java/guava: Version bump to 20.0, EAPI bump to 6
Package-Manager: portage-2.3.2
-rw-r--r--dev-java/guava/Manifest1
-rw-r--r--dev-java/guava/guava-20.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/guava/Manifest b/dev-java/guava/Manifest
index 4e4165bea6c..f4f3db7474e 100644
--- a/dev-java/guava/Manifest
+++ b/dev-java/guava/Manifest
@@ -4,4 +4,5 @@ DIST guava-15.0-sources.jar 1234606 SHA256 1a3f78cfd4a44f63af00afe36f2175d41ed24
DIST guava-16.0.1-sources.jar 1261127 SHA256 154ce0c88dce526b822417c8402901ad0a5a299156b38c79b40cce72b72b3c2b SHA512 b6d8db3a139a2490692208cba1788db68e0c0d574f91582367d81f6d32ed7959646fc3ac14651c9de1b9b839bb4d58ec137feb928d7d183d1c2c602a4da8e88d WHIRLPOOL be647c7deef2cce8b62d4173543debd8255f6662545bc9ebd75f3b55210791dc95ff1690b6c8a983c152d1ed2f2a4f2b1f1ed3fb69b13a1d2280726a690d276b
DIST guava-17.0-sources.jar 1272791 SHA256 df275cbcc3ab90c7fd4cc70e8b26b454c16a708b909f357f07115ca54a83f9bd SHA512 c3fa4d7c7498482939ada35737b368d6fe0b0501cc65ed686dcab24b1701a22870ed7a737eb3d107a5728823bb151842df3fe0e8d0ff20caa2e49f9224f81de5 WHIRLPOOL 7c13fc1f360e50b5c45b7c4519566077fe66507cade03660b354bc55e16dd96d9656bd83e863007a4d90953cc229df2f5319fdc488986feae4a0e9a390f29452
DIST guava-18.0-sources.jar 1277909 SHA256 0f3381ce4caa3a01602cdf0d0f4437b9ad8f347ddabbd873ded4d498e19d9590 SHA512 bd44aa71e183d27f6f79183a2e340ed9e28f9fc750b6de5aa007b296133fb8055ea2669a7e75a31f3394cba4cfc0be1123fc8bd87d9aa8df4847f2199b14f768 WHIRLPOOL 9ae2581667b52d05bebe6d59895fdeb482ee520e4820d448d1fb867b413d9bd248d9d1329334a548d96eb91fa574f9ddf3fd11fa7800fe5ae525356d6061f757
+DIST guava-20.0.tar.gz 2522092 SHA256 1a39f757ad6bada8b0c7affa2b97cd924ec8fdfaaf0ce982a42b8e93e4565acd SHA512 e89eee8e66502f208878af286c660393712b12fb37647ec70719ca7c5184686c8dc5fc59d45c1813d792ecad9421e2c077dab075f76b1907c04f9f6e80567ac9 WHIRLPOOL a7782d25b7e1e91383ab7f018dc2f84ccfd36f072e04110a96ce7c8da3cbc2f5ea447547043ad9c3986f6d1e197000817f110920e4f89551301e44aa4719e372
DIST guava-r07.zip 3044916 SHA256 3d0da5843235b26dc5d47b75df48a6f06f0cc428534580762352b3b00fa45c40 SHA512 1ea4c0b4a7747fb555150283eb851da9d96ec705f1b8e05709b533e923a2615dd82979afbf729093c493e0c11a5f7841f576a6a56a4e9fd5a7e8af224aca956f WHIRLPOOL 3718e030038eaf597b1d35e318eeb708df8d5b66a606d5ffa1fc0e7a742f22f271d6fa6d72d1ce138fcd206e32c7680c5bccf4400f3fc969f41623a7d1f88013
diff --git a/dev-java/guava/guava-20.0.ebuild b/dev-java/guava/guava-20.0.ebuild
new file mode 100644
index 00000000000..e93c74e7ac1
--- /dev/null
+++ b/dev-java/guava/guava-20.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+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://github.com/google/guava/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="${PV%.*}"
+KEYWORDS="~amd64 ~x86"
+
+CP_DEPEND="
+ dev-java/animal-sniffer-annotations:0
+ dev-java/error-prone-annotations:0
+ dev-java/jsr305:0
+"
+
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-1.7"
+
+DEPEND="${CP_DEPEND}
+ >=virtual/jdk-1.7
+ dev-java/j2objc-annotations:0"
+
+S="${WORKDIR}/${P}/${PN}"
+JAVA_SRC_DIR="src"
+
+src_configure() {
+ JAVA_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only j2objc-annotations)
+}