From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/opentest4j/
Date: Sat, 14 Sep 2024 08:37:58 +0000 (UTC) [thread overview]
Message-ID: <1726303026.d68cb9e859e7ad68af005fa8bccc85000b35d35a.fordfrog@gentoo> (raw)
commit: d68cb9e859e7ad68af005fa8bccc85000b35d35a
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Sep 14 06:56:08 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 08:37:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68cb9e8
dev-java/opentest4j: back to >=virtual/jre-1.8:* #939580
Closes: https://bugs.gentoo.org/939580
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38580/commits/f29d25f4a2c3d535b9d6cc98a3e6ac482ff8d8da
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/opentest4j/opentest4j-1.3.0-r1.ebuild | 52 ++++++++++++++++++++++++++
dev-java/opentest4j/opentest4j-1.3.0.ebuild | 28 --------------
2 files changed, 52 insertions(+), 28 deletions(-)
diff --git a/dev-java/opentest4j/opentest4j-1.3.0-r1.ebuild b/dev-java/opentest4j/opentest4j-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..1fd5072d0edf
--- /dev/null
+++ b/dev-java/opentest4j/opentest4j-1.3.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.opentest4j:opentest4j:1.3.0"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Open Test Alliance for the JVM"
+HOMEPAGE="https://github.com/ota4j-team/opentest4j"
+SRC_URI="https://github.com/ota4j-team/opentest4j/archive/r${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-r${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND=">=virtual/jdk-11:*" # module-info
+RDEPEND=">=virtual/jre-1.8:*" #939580
+
+JAVA_SRC_DIR=( src/{main,module}/java )
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR=( src/test/java )
+JAVA_TEST_RESOURCE_DIRS=( src/test/resources )
+
+src_test() {
+ # src/test/java/org/opentest4j/FileInfoTests.java:52: error: cannot find symbol
+ # var out = new ByteArrayOutputStream();
+ # ^
+ # symbol: class var
+ # location: class FileInfoTests
+ # src/test/java/org/opentest4j/FileInfoTests.java:55: error: cannot find symbol
+ # var deserialized = (AssertionFailedError) new ObjectInputStream(
+ # ^
+ # symbol: class var
+ # location: class FileInfoTests
+ # src/test/java/org/opentest4j/FileInfoTests.java:64: error: cannot find symbol
+ # var contents = "contents".getBytes(UTF_8);
+ # ^
+ # symbol: class var
+ # location: class FileInfoTests
+ # src/test/java/org/opentest4j/FileInfoTests.java:65: error: cannot find symbol
+ # var fileInfo = new FileInfo("path", contents);
+ # ^
+ # symbol: class var
+ # location: class FileInfoTests
+ JAVAC_ARGS="--source 11 --target 11" java-pkg-simple_src_test
+}
diff --git a/dev-java/opentest4j/opentest4j-1.3.0.ebuild b/dev-java/opentest4j/opentest4j-1.3.0.ebuild
deleted file mode 100644
index 646ec2c91a4e..000000000000
--- a/dev-java/opentest4j/opentest4j-1.3.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.opentest4j:opentest4j:1.3.0"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Open Test Alliance for the JVM"
-HOMEPAGE="https://github.com/ota4j-team/opentest4j"
-SRC_URI="https://github.com/ota4j-team/opentest4j/archive/r${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-r${PV}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-
-DEPEND=">=virtual/jdk-11:*"
-RDEPEND=">=virtual/jre-11:*"
-
-JAVA_SRC_DIR=( src/{main,module}/java )
-
-JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-JAVA_TEST_SRC_DIR=( src/test/java )
-JAVA_TEST_RESOURCE_DIRS=( src/test/resources )
next reply other threads:[~2024-09-14 8:38 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-14 8:37 Miroslav Šulc [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/opentest4j/ Miroslav Šulc
2024-10-18 16:12 Arthur Zamarin
2024-10-13 22:12 Sam James
2024-10-13 22:12 Sam James
2024-10-13 22:12 Sam James
2024-08-31 7:52 Miroslav Šulc
2022-08-23 4:41 Miroslav Šulc
2022-08-22 0:00 Sam James
2022-08-22 0:00 Sam James
2022-08-21 15:46 Arthur Zamarin
2022-08-21 15:46 Arthur Zamarin
2022-07-22 17:36 Florian Schmaus
2022-05-06 12:45 Jakov Smolić
2022-05-06 11:25 Jakov Smolić
2022-05-06 8:16 Arthur Zamarin
2022-05-06 7:49 Sam James
2022-04-09 16:56 Arthur Zamarin
2022-04-09 16:50 Arthur Zamarin
2022-04-09 16:28 Arthur Zamarin
2022-04-09 16:26 Arthur Zamarin
2022-04-06 8:01 Florian Schmaus
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=1726303026.d68cb9e859e7ad68af005fa8bccc85000b35d35a.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