1 |
commit: 4aeac2562eeafd4f233f1bce383fe92a227e996a |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 21 08:04:04 2021 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 21 08:04:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aeac256 |
7 |
|
8 |
dev-java/guava: eapi8, min java 1.8 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
12 |
|
13 |
dev-java/guava/guava-20.0-r1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-java/guava/guava-20.0-r1.ebuild b/dev-java/guava/guava-20.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..91ac8943a4bd |
19 |
--- /dev/null |
20 |
+++ b/dev-java/guava/guava-20.0-r1.ebuild |
21 |
@@ -0,0 +1,36 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+JAVA_PKG_IUSE="doc source" |
28 |
+MAVEN_ID="com.google.guava:guava:20.0" |
29 |
+ |
30 |
+inherit java-pkg-2 java-pkg-simple |
31 |
+ |
32 |
+DESCRIPTION="A collection of Google's core Java libraries" |
33 |
+HOMEPAGE="https://github.com/google/guava" |
34 |
+SRC_URI="https://github.com/google/guava/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+LICENSE="Apache-2.0" |
36 |
+SLOT="${PV%.*}" |
37 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
38 |
+ |
39 |
+CP_DEPEND=" |
40 |
+ dev-java/animal-sniffer-annotations:0 |
41 |
+ dev-java/error-prone-annotations:0 |
42 |
+ dev-java/jsr305:0 |
43 |
+" |
44 |
+ |
45 |
+RDEPEND="${CP_DEPEND} |
46 |
+ >=virtual/jre-1.8:*" |
47 |
+ |
48 |
+DEPEND="${CP_DEPEND} |
49 |
+ >=virtual/jdk-1.8:* |
50 |
+ dev-java/j2objc-annotations:0" |
51 |
+ |
52 |
+S="${WORKDIR}/${P}/${PN}" |
53 |
+JAVA_SRC_DIR="src" |
54 |
+ |
55 |
+src_configure() { |
56 |
+ JAVA_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only j2objc-annotations) |
57 |
+} |