From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3167158083 for ; Sat, 14 Sep 2024 08:38:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45213E29AB; Sat, 14 Sep 2024 08:38:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28616E29AB for ; Sat, 14 Sep 2024 08:38:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 67B3D33BEFF for ; Sat, 14 Sep 2024 08:38:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2BB218BD for ; Sat, 14 Sep 2024 08:37:58 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1726303026.d68cb9e859e7ad68af005fa8bccc85000b35d35a.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/opentest4j/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/opentest4j/opentest4j-1.3.0-r1.ebuild dev-java/opentest4j/opentest4j-1.3.0.ebuild X-VCS-Directories: dev-java/opentest4j/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: d68cb9e859e7ad68af005fa8bccc85000b35d35a X-VCS-Branch: master Date: Sat, 14 Sep 2024 08:37:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 99a1c01e-842b-48d0-b1ba-8f3fc22395eb X-Archives-Hash: 8b3e946472f22c8732034f3d4ba87a3e commit: d68cb9e859e7ad68af005fa8bccc85000b35d35a Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sat Sep 14 06:56:08 2024 +0000 Commit: Miroslav Šulc gentoo 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 pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/38580/commits/f29d25f4a2c3d535b9d6cc98a3e6ac482ff8d8da Signed-off-by: Miroslav Šulc 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 )