From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/gson/
Date: Thu, 20 Jan 2022 10:20:49 +0000 (UTC) [thread overview]
Message-ID: <1642674046.58a7960bc20f87e27f6c8865f64d88a5b6eaa07f.fordfrog@gentoo> (raw)
commit: 58a7960bc20f87e27f6c8865f64d88a5b6eaa07f
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Jan 19 12:25:05 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 10:20:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a7960b
dev-java/gson: exclude 1 test if vm_version="1.8"
Closes: https://bugs.gentoo.org/820338
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/23869
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/gson/gson-2.8.8.ebuild | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev-java/gson/gson-2.8.8.ebuild b/dev-java/gson/gson-2.8.8.ebuild
index b01f741b2d88..ae03a8f412f6 100644
--- a/dev-java/gson/gson-2.8.8.ebuild
+++ b/dev-java/gson/gson-2.8.8.ebuild
@@ -13,8 +13,9 @@ JAVA_TESTING_FRAMEWORKS="junit-4"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Gson JSON library"
-HOMEPAGE="https://github.com/google/gson/gson"
+HOMEPAGE="https://github.com/google/gson"
SRC_URI="https://github.com/google/${PN}/archive/${PN}-parent-${PV}.tar.gz -> ${P}-sources.tar.gz"
+
LICENSE="Apache-2.0"
SLOT="2.6"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
@@ -54,3 +55,11 @@ src_prepare() {
default
sed -i "s/\${project.version}/${PV}/g" src/main/java-templates/com/google/gson/internal/GsonBuildConfig.java || die "Failed to set version"
}
+
+src_test() {
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if [[ "${vm_version}" == "1.8" ]] ; then
+ JAVA_TEST_EXCLUDES+=( "com.google.gson.JsonArrayTest" )
+ fi
+ java-pkg-simple_src_test
+}
next reply other threads:[~2022-01-20 10:20 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 10:20 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-03 14:56 [gentoo-commits] repo/gentoo:master commit in: dev-java/gson/ Sam James
2025-10-03 5:07 Sam James
2024-08-17 8:18 Miroslav Šulc
2024-08-16 14:07 Arthur Zamarin
2024-08-14 22:03 Sam James
2024-08-14 20:21 Sam James
2024-08-14 20:21 Sam James
2024-07-16 10:08 Miroslav Šulc
2024-07-13 11:54 Miroslav Šulc
2024-07-10 10:22 Miroslav Šulc
2024-05-25 7:50 Florian Schmaus
2024-01-05 10:38 Miroslav Šulc
2024-01-05 9:48 Sam James
2024-01-05 8:13 Sam James
2024-01-05 8:13 Sam James
2024-01-05 8:13 Sam James
2023-04-28 6:28 Miroslav Šulc
2023-04-28 6:15 Sam James
2023-04-28 6:15 Sam James
2023-04-28 6:15 Sam James
2023-04-28 6:15 Sam James
2023-03-29 5:42 Miroslav Šulc
2022-10-20 16:32 Miroslav Šulc
2022-10-20 10:56 Jakov Smolić
2022-10-20 10:52 Jakov Smolić
2022-10-19 8:25 Jakov Smolić
2022-10-18 18:51 Sam James
2022-09-18 10:21 Florian Schmaus
2022-09-01 4:31 Miroslav Šulc
2022-08-01 18:08 Arthur Zamarin
2022-07-31 17:12 Arthur Zamarin
2022-07-30 2:34 Sam James
2022-07-30 2:33 Sam James
2022-07-30 2:33 Sam James
2022-07-28 9:10 Sam James
2022-06-17 10:48 Arthur Zamarin
2022-06-11 23:28 Sam James
2022-06-11 7:36 Agostino Sarubbo
2022-06-10 20:20 Jakov Smolić
2022-05-11 17:16 Florian Schmaus
2022-05-11 17:16 Florian Schmaus
2022-05-11 13:36 Florian Schmaus
2022-05-06 11:46 Florian Schmaus
2022-01-27 7:53 Miroslav Šulc
2022-01-26 19:16 Arthur Zamarin
2022-01-25 22:16 Sam James
2022-01-25 8:50 Jakov Smolić
2022-01-25 8:50 Jakov Smolić
2022-01-07 20:42 Arthur Zamarin
2022-01-07 20:41 Arthur Zamarin
2021-11-26 9:23 Sam James
2021-11-12 8:16 Agostino Sarubbo
2021-11-11 11:35 Agostino Sarubbo
2021-10-26 10:10 Miroslav Šulc
2021-07-18 9:39 Florian Schmaus
2021-07-01 14:37 Miroslav Šulc
2021-07-01 14:37 Miroslav Šulc
2021-06-14 6:39 Sergei Trofimovich
2021-04-27 13:45 Miroslav Šulc
2021-04-27 13:45 Miroslav Šulc
2021-04-27 13:25 Miroslav Šulc
2016-10-14 2:58 Austin English
2016-05-11 21:07 James Le Cuirot
2015-09-01 19:00 Tobias Klausmann
2015-08-18 19:47 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=1642674046.58a7960bc20f87e27f6c8865f64d88a5b6eaa07f.fordfrog@gentoo \
--to=fordfrog@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