summaryrefslogtreecommitdiff
path: root/dev-java/jaxb-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jaxb-runtime')
-rw-r--r--dev-java/jaxb-runtime/Manifest4
-rw-r--r--dev-java/jaxb-runtime/jaxb-runtime-2.3.8.ebuild65
-rw-r--r--dev-java/jaxb-runtime/metadata.xml3
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-java/jaxb-runtime/Manifest b/dev-java/jaxb-runtime/Manifest
index 670d9da27a2d..b2b91831b88e 100644
--- a/dev-java/jaxb-runtime/Manifest
+++ b/dev-java/jaxb-runtime/Manifest
@@ -1,3 +1,5 @@
+DIST jaxb-ri-2.3.8.tar.gz 1734411 BLAKE2B e60a7f78f2bfaf23cc0ce6727ee1b1611facdeebd5b456c207260447a508674dcbf934d2c6343cfbb58b93adf3352c8145caa2a8c77e264ae2403351527ff96d SHA512 73fda68e8d936b681d53ec72153cec0f7608517d0f037b4f140e4fd48e26f3e03a88f5b34bb635d0e6c7701121befd7d18a98aebd019a663e08ed9667a39c535
DIST jaxb-ri-4.0.0.tar.gz 1739184 BLAKE2B a85a12fdca0b6eff8664894d65e2f82d30491e20050fde2ca828fa3c2c79ce2e158fca5ce6d0ae2cb2a00859abc0c9e9d49321c0943b862fd603a9e732f29dc4 SHA512 766a58d5107a88c19a99014b737b7b14a510b928dd26991adfe902073614923690c1e5a231834ec4a200a10adf9505b27179b8d84cf09dbb09292341c328e743
+EBUILD jaxb-runtime-2.3.8.ebuild 1669 BLAKE2B 1d1acaf357a84b18199594a12668dd1200f57859a7700aa99e1c765caa1cf976c99e99d22e93de437131dc4463c40ade7dbce795dcfae0b1da0e717dea65dbca SHA512 5ac9c990689f393b9f83f67e364d1c68c708e0b6821dfb47740008bec585dce2fb03b3d8158dff71596448b0ff38f6dfdbed265441188b44587a290fa42e00d3
EBUILD jaxb-runtime-4.0.0-r1.ebuild 2985 BLAKE2B af8937c9a12b2e8f7f95f3b6977e7f70bfc9177c161ccf2effe99fcf7ef8ce2614759d66b8b47a951b720612f87b5de83bbdcc719d67e69f829d62c662c92156 SHA512 0e87d19a371a6a012b7d7e004ce38f34a71b0b2896eecdd55e4dbaa19200e0daad52425c0a05bde26fa3bae414acdff94c223f42464b55dd67fa028518c93b78
-MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
+MISC metadata.xml 302 BLAKE2B c04f1b6c40f598e273d357faeeb149504ff1bbd5fcdb170549ae43314628eb5793da9ccf8c76956ce7a2b565db95090bdccd09fba5bac36fc26a7eb48bb63ef4 SHA512 5c11021d5ec5661435d8d6fca6ca9c0cdb34c859ddfa2a4752bd5de06575a36828f5ec9ad9c21b9c90ab92e693b0ef40b3e14bfa0cf46d9892481b896e19484e
diff --git a/dev-java/jaxb-runtime/jaxb-runtime-2.3.8.ebuild b/dev-java/jaxb-runtime/jaxb-runtime-2.3.8.ebuild
new file mode 100644
index 000000000000..33c8c739e864
--- /dev/null
+++ b/dev-java/jaxb-runtime/jaxb-runtime-2.3.8.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.glassfish.jaxb:jaxb-runtime:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JAXB (JSR 222) Reference Implementation"
+HOMEPAGE="https://eclipse-ee4j.github.io/jaxb-ri/"
+SRC_URI="https://github.com/eclipse-ee4j/jaxb-ri/archive/${PV}-RI.tar.gz -> jaxb-ri-${PV}.tar.gz"
+S="${WORKDIR}/jaxb-ri-${PV}-RI/jaxb-ri/runtime/impl"
+
+LICENSE="EPL-1.0"
+SLOT="2"
+KEYWORDS="~amd64"
+
+CP_DEPEND="
+ dev-java/fastinfoset:0
+ dev-java/istack-commons-runtime:3
+ dev-java/jaxb-api:2
+ dev-java/jaxb-stax-ex:1
+ ~dev-java/txw2-${PV}:2
+"
+
+DEPEND="
+ >=virtual/jdk-11:*
+ ${CP_DEPEND}
+ >=dev-java/jakarta-activation-api-1.2.2:1
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+ >=dev-java/jakarta-activation-1.2.2:1
+"
+
+JAVA_CLASSPATH_EXTRA="jakarta-activation-api-1"
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+ # Run this test separately as it prevents a reasonable test summary
+ JAVA_TEST_RUN_ONLY="com.sun.xml.bind.v2.schemagen.XmlSchemaGeneratorTest"
+ java-pkg-simple_src_test
+
+ # The default test selection of java-pkg-simple would omit
+ # "com.sun.xml.bind.v2.schemagen.MarshallingAbstractTest"
+ pushd src/test/java || die
+ local JAVA_TEST_RUN_ONLY=$(find * \
+ -type f \
+ -name "*Test.java" \
+ ! -name "XmlSchemaGeneratorTest.java" \
+ )
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+ JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+ popd
+ java-pkg-simple_src_test
+}
diff --git a/dev-java/jaxb-runtime/metadata.xml b/dev-java/jaxb-runtime/metadata.xml
index 75321cfb5598..dbb1a70c5a43 100644
--- a/dev-java/jaxb-runtime/metadata.xml
+++ b/dev-java/jaxb-runtime/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
+ <upstream>
+ <remote-id type="github">eclipse-ee4j/jaxb-ri</remote-id>
+ </upstream>
</pkgmetadata>