summaryrefslogtreecommitdiff
path: root/dev-java/guava
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/guava')
-rw-r--r--dev-java/guava/Manifest3
-rw-r--r--dev-java/guava/guava-20.0.ebuild35
-rw-r--r--dev-java/guava/metadata.xml12
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/guava/Manifest b/dev-java/guava/Manifest
new file mode 100644
index 000000000000..117986cf2742
--- /dev/null
+++ b/dev-java/guava/Manifest
@@ -0,0 +1,3 @@
+DIST guava-20.0.tar.gz 2522092 BLAKE2B 2ca76a71d0c169b80bfaa3e9847b2e465c57aabc0a67622a69519808fa8455146228747dc20e999ebc20ef7cd5fec1cfa82f6c025e9378011619cfedbc2c7d6c SHA512 e89eee8e66502f208878af286c660393712b12fb37647ec70719ca7c5184686c8dc5fc59d45c1813d792ecad9421e2c077dab075f76b1907c04f9f6e80567ac9
+EBUILD guava-20.0.ebuild 799 BLAKE2B ed6006c171950335d8dff74b33a641c3b409ba03391dc1dcf9821dc4fc0963a9fe7a0b019e89930cb9390f96d55b05da49d792f65bb946239f6d7c5a5cd0ef9b SHA512 cfcc6951ed61d81ebbd234cd5a0dbdd977fa55fedada69d92d10af95c3b1897f04f7dcb59cf72505f1693256a641174da3b0f9d73cfc26cdac3eb066f8fd5079
+MISC metadata.xml 588 BLAKE2B 4a8bbd786c9895bdbd44d2064ea31d6ef148fd2355870498c77c680232e1fcd4d6223b07e9f29dcaf4fa15d38509ba8912e6e15b8129ef7fca72c00a1fc2aad9 SHA512 8fc32c9a79d61e36376e681775094fbe99a378ac43cf7788fd132e2a9400b94b419480e509f55941857f92e99d68b9112889077823da24fa15c8cf0d2531a26d
diff --git a/dev-java/guava/guava-20.0.ebuild b/dev-java/guava/guava-20.0.ebuild
new file mode 100644
index 000000000000..b746ddba6c35
--- /dev/null
+++ b/dev-java/guava/guava-20.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~arm64 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)
+}
diff --git a/dev-java/guava/metadata.xml b/dev-java/guava/metadata.xml
new file mode 100644
index 000000000000..fe1b84dbf810
--- /dev/null
+++ b/dev-java/guava/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <longdescription lang="en">The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.</longdescription>
+ <upstream>
+ <remote-id type="github">google/guava</remote-id>
+ </upstream>
+</pkgmetadata>