public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/guava/
Date: Wed, 19 Jan 2022 02:36:57 +0000 (UTC)	[thread overview]
Message-ID: <1642559806.db6f1ad5edce356930cecb857d94a4fd58c7e9ee.sam@gentoo> (raw)

commit:     db6f1ad5edce356930cecb857d94a4fd58c7e9ee
Author:     Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
AuthorDate: Sat Jun 19 03:58:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 19 02:36:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6f1ad5

dev-java/guava: add 30.1.1

Going back to SLOT 0 as upstream claims "APIs without `@Beta` will
remain binary-compatible for the indefinite future." [1]

[1]: https://github.com/google/guava#important-warnings

Bug: https://bugs.gentoo.org/760111
Closes: https://bugs.gentoo.org/809974
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl>
Closes: https://github.com/gentoo/gentoo/pull/21318
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/guava/Manifest            |  1 +
 dev-java/guava/guava-30.1.1.ebuild | 58 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-java/guava/Manifest b/dev-java/guava/Manifest
index 0b9dae4eb856..23aa60425858 100644
--- a/dev-java/guava/Manifest
+++ b/dev-java/guava/Manifest
@@ -1 +1,2 @@
 DIST guava-20.0.tar.gz 2522092 BLAKE2B 2ca76a71d0c169b80bfaa3e9847b2e465c57aabc0a67622a69519808fa8455146228747dc20e999ebc20ef7cd5fec1cfa82f6c025e9378011619cfedbc2c7d6c SHA512 e89eee8e66502f208878af286c660393712b12fb37647ec70719ca7c5184686c8dc5fc59d45c1813d792ecad9421e2c077dab075f76b1907c04f9f6e80567ac9
+DIST guava-30.1.1.tar.gz 5404546 BLAKE2B 818ef4b17c4f0c8e92c327f046434a3bb428ac35d6e95edd6d6be558c755d138a8ac7f8ad2032073cad131890d8f838e896fff84ba217f8305be8bd65c619a48 SHA512 23b30d886a3200b8f998897ca7bc424b2d223a4fecb03ab644e08a989a85f008e30ef093055e6305c4148a1eb8919c407e35d19f492c5b189830bd115e9484f2

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..fef771e0e062
--- /dev/null
+++ b/dev-java/guava/guava-30.1.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 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"
+
+# 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/"


             reply	other threads:[~2022-01-19  2:37 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-19  2:36 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-18 16:40 [gentoo-commits] repo/gentoo:master commit in: dev-java/guava/ Miroslav Šulc
2024-10-18 15:40 Arthur Zamarin
2024-10-18  0:18 Sam James
2024-10-18  0:18 Sam James
2024-09-18 12:14 Miroslav Šulc
2024-06-21  7:45 Miroslav Šulc
2024-06-20 21:46 Sam James
2024-06-20 18:40 Arthur Zamarin
2024-06-20 17:43 Sam James
2024-06-20 17:40 Arthur Zamarin
2024-05-21  8:01 Miroslav Šulc
2024-01-21 17:17 Arthur Zamarin
2024-01-21 10:06 Sam James
2024-01-21 10:06 Sam James
2024-01-21 10:06 Sam James
2024-01-21 10:06 Sam James
2024-01-10  8:29 Florian Schmaus
2024-01-07 12:42 Arthur Zamarin
2024-01-07  7:10 Sam James
2024-01-07  6:14 Sam James
2024-01-07  6:14 Sam James
2023-12-22 15:13 Miroslav Šulc
2023-12-08  9:53 Miroslav Šulc
2023-09-18  6:50 Miroslav Šulc
2023-09-06  7:58 Florian Schmaus
2023-09-06  6:47 Sam James
2023-09-06  6:47 Sam James
2023-09-06  6:47 Sam James
2023-09-06  6:47 Sam James
2023-09-05  7:43 Miroslav Šulc
2023-01-28  6:52 Arthur Zamarin
2023-01-27 20:31 Arthur Zamarin
2023-01-27 20:18 Arthur Zamarin
2023-01-27 20:18 Arthur Zamarin
2023-01-27 19:45 Arthur Zamarin
2022-12-28 18:59 Florian Schmaus
2022-06-17 13:50 Arthur Zamarin
2022-02-25 21:07 Sam James
2022-02-21  7:47 Agostino Sarubbo
2022-02-21  3:45 Sam James
2022-02-20 20:32 Sam James
2022-02-13 23:13 Jakov Smolić
2022-01-20  9:38 Arthur Zamarin
2022-01-20  8:47 Arthur Zamarin
2022-01-20  8:46 Arthur Zamarin
2021-12-22 18:47 Arthur Zamarin
2021-12-21  8:04 Miroslav Šulc
2021-11-10 16:47 Sam James
2021-11-10 16:47 Sam James
2021-06-14  6:39 Sergei Trofimovich
2021-03-31  8:24 Miroslav Šulc
2017-11-05 13:56 James Le Cuirot
2017-08-31 19:55 James Le Cuirot
2017-07-13 18:32 Alexis Ballier
2016-11-05 22:56 James Le Cuirot
2016-11-05 22:49 James Le Cuirot
2016-01-02 23:15 James Le Cuirot
2015-12-06 23:06 James Le Cuirot
2015-10-27 20:36 Patrice Clement
2015-09-12  9:32 Patrice Clement
2015-09-10 16:47 Patrice Clement
2015-09-04 22:05 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1642559806.db6f1ad5edce356930cecb857d94a4fd58c7e9ee.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox