summaryrefslogtreecommitdiff
path: root/dev-java/opentest4j
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-14 12:32:28 +0100
commite8aa09f74c8ba0c9e1c5ae3ab49f93b6a0820330 (patch)
tree14ad0b4141ec6704388a9130b87976ed75435984 /dev-java/opentest4j
parent6fcdccbe589d724b6c268b49f66414e40eb0d807 (diff)
gentoo auto-resync : 14:09:2024 - 12:32:27
Diffstat (limited to 'dev-java/opentest4j')
-rw-r--r--dev-java/opentest4j/Manifest2
-rw-r--r--dev-java/opentest4j/opentest4j-1.3.0-r1.ebuild52
-rw-r--r--dev-java/opentest4j/opentest4j-1.3.0.ebuild28
3 files changed, 53 insertions, 29 deletions
diff --git a/dev-java/opentest4j/Manifest b/dev-java/opentest4j/Manifest
index 5a499b4b6cc0..f63fedf21684 100644
--- a/dev-java/opentest4j/Manifest
+++ b/dev-java/opentest4j/Manifest
@@ -1,5 +1,5 @@
DIST opentest4j-1.2.0.tar.gz 77616 BLAKE2B a331cc5e97d1e50b3b57e6aac926278d16f4d75067b4e4b25acb5ee25d4d4cd9d1f75c115155303ec63f5cb22b09ad1cbaa01d62620b350dd2c1d61541657b78 SHA512 cd98d976935de97d259ec4c04510334f2b56f8a32db2c97e0f20a2e3b99f119ffeb390589eb42d4594808d96194067871d5eaad6a40dd58af30b9f995b13ef08
DIST opentest4j-1.3.0.tar.gz 89527 BLAKE2B f8ac763c3ec1b1617c38c3744a8fac82e0d93ff4ff409a00e3e22d343fc873aa4129bee3d906de0e13cc78450a1c67cdcffebed91d00c9758f20113a68a76dc7 SHA512 6141fed5230d1195eee137031fc6cf8e3df0b857f2fd341ba823d5aeb92d86e56262b57b93a901a4e00f6000920b67f28e02e04f404df7df8e62be9d60c3e79d
EBUILD opentest4j-1.2.0-r1.ebuild 765 BLAKE2B b8aa0a51b4f1ec10e38de919212927afbfc45274e779e5a24b0d20e3769648d2648aa4f891ff0d682dca2c6545e0007d36b43738c89a5bc269bbec7736b8a9b7 SHA512 9811e4fbe56119d089f9b7dafb9d11479cc79cfe7f2f794e6fee231f3c89af0c9df16a3f54535962053efa6f5dfbf81f8e86577d464cb1ae2c7b136d6b6d0bf5
-EBUILD opentest4j-1.3.0.ebuild 765 BLAKE2B 163e681533bd04be3ce7557c9d35c28636e0547dc56ebcd5d3f076500f365af5d81ca07b3cc3e05a95f113eee849213df9518f87bde4b047bc890085e5149431 SHA512 f5103dc9b5e1b5f2b2eed2545169a1c3939fd7888bc78b004683162994be95aead0e055a0771e57cd69822c7a50a20a6412b808c03c69c5a139fb75df28125b3
+EBUILD opentest4j-1.3.0-r1.ebuild 1673 BLAKE2B 607c849cfd6a066c90bf87f48dbc87d331381a167912915023559df0cece8398520c18c16dc5ecd5e472d9744e38e44f06e6df9c4585a1a4a1faab4da111aa78 SHA512 fa268ef4842b7417059cdc2362c879c34530fce322d639eaeba37629839e1b060a67e228cbb90e4dd7e9cc22cb82e200251780ff038a564c37b48ac887492a7c
MISC metadata.xml 303 BLAKE2B 07307ccd1ef1f074fa091ff02bdacfe83a3f3c0a2d79f7545821d5955834a83391d64d34dc8170cb5a4752302296e746393491f7b628a6936a3f0c2b85e09f29 SHA512 9760587d9dec49089d8ea86b7046d145e41075c6ae02af3be319e795272b3eeaef6540dfbb90564bb85d50974f44acd4bfd71d57956b1ff0e2e216220bf60f48
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 )