From fc879856a16ea66528a11a00cf6ee19891f3d186 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Jul 2022 20:54:05 +0100 Subject: gentoo auto-resync : 24:07:2022 - 20:54:05 --- dev-java/jaxb-runtime/Manifest | 2 +- dev-java/jaxb-runtime/jaxb-runtime-4.0.0-r1.ebuild | 108 ++++++++++++++++++ dev-java/jaxb-runtime/jaxb-runtime-4.0.0.ebuild | 123 --------------------- 3 files changed, 109 insertions(+), 124 deletions(-) create mode 100644 dev-java/jaxb-runtime/jaxb-runtime-4.0.0-r1.ebuild delete mode 100644 dev-java/jaxb-runtime/jaxb-runtime-4.0.0.ebuild (limited to 'dev-java/jaxb-runtime') diff --git a/dev-java/jaxb-runtime/Manifest b/dev-java/jaxb-runtime/Manifest index 5a41a7f809c1..add8ed089b35 100644 --- a/dev-java/jaxb-runtime/Manifest +++ b/dev-java/jaxb-runtime/Manifest @@ -1,3 +1,3 @@ DIST jaxb-ri-4.0.0.tar.gz 1739184 BLAKE2B a85a12fdca0b6eff8664894d65e2f82d30491e20050fde2ca828fa3c2c79ce2e158fca5ce6d0ae2cb2a00859abc0c9e9d49321c0943b862fd603a9e732f29dc4 SHA512 766a58d5107a88c19a99014b737b7b14a510b928dd26991adfe902073614923690c1e5a231834ec4a200a10adf9505b27179b8d84cf09dbb09292341c328e743 -EBUILD jaxb-runtime-4.0.0.ebuild 3314 BLAKE2B fd7c5aa639ff12d7b2f19702e3d92113369ac74f3027caad750e71739611a64ee067cf811916b4bc1502655c98748945aa43e6fa028af356a239aa3070a82a31 SHA512 c8506d511c249761aa5cbdf079b19354e2ce5639726e49bfc5b825db37faae0b000d029fc5639159c4de765f119d6cc5834bdeb97dc9d29536786b0875f37cc9 +EBUILD jaxb-runtime-4.0.0-r1.ebuild 2989 BLAKE2B c11dcc38dfb8a2f584b34a10ffac8d8bb23c1499e3faa442d76f37aa997d6bd0bf87d05bc627dcb5a892bb1659bef93cc84b8b3d2e2ef4520cb380f8d0d9548f SHA512 601617a2d6801029c9fb36e64a8bb665eff04cd1dffb8fd7f812be07c13ac228e853ce0282ea3c3886c806a266bf683e800909672cd608051b65ce39add35a50 MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/jaxb-runtime/jaxb-runtime-4.0.0-r1.ebuild b/dev-java/jaxb-runtime/jaxb-runtime-4.0.0-r1.ebuild new file mode 100644 index 000000000000..586a6dc6e5e1 --- /dev/null +++ b/dev-java/jaxb-runtime/jaxb-runtime-4.0.0-r1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom runtime/impl/pom.xml --download-uri https://github.com/eclipse-ee4j/jaxb-ri/archive/4.0.0-RI.tar.gz --slot 4 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxb-runtime-4.0.0.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.glassfish.jaxb:jaxb-runtime:4.0.0" +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" + +LICENSE="EPL-1.0" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=" + >=dev-java/fastinfoset-2.1.0-r1:0 + dev-java/jaxb-api:4 + >=dev-java/jaxb-stax-ex-2.1.0-r1:0 + dev-java/istack-commons-runtime:0 + >=virtual/jdk-11:* +" + +# reason: '<>' with anonymous inner classes is not supported in -source 8 +# (use -source 9 or higher to enable '<>' with anonymous inner classes) +RDEPEND=">=virtual/jre-11:*" + +DOCS=( ../{CONTRIBUTING,NOTICE,README}.md ) + +S="${WORKDIR}/jaxb-ri-${PV}-RI/jaxb-ri" + +JAVA_CLASSPATH_EXTRA="fastinfoset,jaxb-stax-ex" +JAVA_TEST_GENTOO_CLASSPATH="junit-4" + +src_compile() { + einfo "Compiling txw-runtime" + JAVA_SRC_DIR="txw/runtime/src/main/java" + JAVA_JAR_FILENAME="txw-runtime.jar" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":txw-runtime.jar" + rm -r target || die + + einfo "Compiling core" + JAVA_SRC_DIR="core/src/main/java" + JAVA_RESOURCE_DIRS="core/src/main/resources" + JAVA_JAR_FILENAME="core.jar" + JAVA_CLASSPATH_EXTRA+=" istack-commons-runtime,jaxb-api-4" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":core.jar" + rm -r target || die + + einfo "Compiling runtime" + JAVA_SRC_DIR="runtime/impl/src/main/java" + JAVA_RESOURCE_DIRS="runtime/impl/src/main/resources" + JAVA_JAR_FILENAME="runtime.jar" + java-pkg-simple_src_compile + JAVA_GENTOO_CLASSPATH_EXTRA+=":runtime.jar" + rm -r target || die + + if use doc; then + einfo "Compiling javadocs" + rm {core,runtime/impl}/src/main/java/module-info.java || die + JAVA_SRC_DIR=( + "txw/runtime/src/main/java" + "core/src/main/java" + "runtime/impl/src/main/java" + ) + JAVA_JAR_FILENAME="ignoreme.jar" + java-pkg-simple_src_compile + fi +} + +src_test() { + einfo "Testing core" + JAVA_TEST_SRC_DIR="core/src/test/java" + JAVA_TEST_RESOURCE_DIRS="core/src/test/resources" + java-pkg-simple_src_test + + einfo "Testing runtime" + JAVA_TEST_SRC_DIR="runtime/impl/src/test/java" + JAVA_TEST_RESOURCE_DIRS=() + java-pkg-simple_src_test +} + +src_install() { + einstalldocs + + java-pkg_dojar "txw-runtime.jar" + java-pkg_dojar "core.jar" + java-pkg_dojar "runtime.jar" + + if use doc; then + java-pkg_dojavadoc target/api + fi + + if use source; then + java-pkg_dosrc "txw/runtime/src/main/java/*" + java-pkg_dosrc "core/src/main/java/*" + java-pkg_dosrc "runtime/impl/src/main/java/*" + fi +} diff --git a/dev-java/jaxb-runtime/jaxb-runtime-4.0.0.ebuild b/dev-java/jaxb-runtime/jaxb-runtime-4.0.0.ebuild deleted file mode 100644 index 0f4c1c55c97d..000000000000 --- a/dev-java/jaxb-runtime/jaxb-runtime-4.0.0.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom runtime/impl/pom.xml --download-uri https://github.com/eclipse-ee4j/jaxb-ri/archive/4.0.0-RI.tar.gz --slot 4 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxb-runtime-4.0.0.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.glassfish.jaxb:jaxb-runtime:4.0.0" -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" - -LICENSE="EPL-1.0" -SLOT="4" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -# Common dependencies -# POM: runtime/impl/pom.xml -# com.sun.xml.fastinfoset:FastInfoset:2.1.0 -> !!!groupId-not-found!!! -# org.glassfish.jaxb:jaxb-core:4.0.0 -> !!!groupId-not-found!!! -# org.jvnet.staxex:stax-ex:2.1.0 -> !!!groupId-not-found!!! - -CP_DEPEND=" - dev-java/fastinfoset:0 - dev-java/jaxb-stax-ex:0 -" - -DEPEND=" - dev-java/istack-commons-runtime:0 - dev-java/jaxb-api:4 - >=virtual/jdk-11:* - ${CP_DEPEND} -" - -# reason: '<>' with anonymous inner classes is not supported in -source 8 -# (use -source 9 or higher to enable '<>' with anonymous inner classes) -RDEPEND=" - >=virtual/jre-11:* - ${CP_DEPEND}" - -DOCS=( ../{CONTRIBUTING,NOTICE,README}.md ) - -S="${WORKDIR}/jaxb-ri-${PV}-RI/jaxb-ri" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" - -src_compile() { - einfo "Compiling txw-runtime" - JAVA_SRC_DIR="txw/runtime/src/main/java" - JAVA_JAR_FILENAME="txw-runtime.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":txw-runtime.jar" - rm -r target || die - - einfo "Compiling core" - JAVA_SRC_DIR="core/src/main/java" - JAVA_RESOURCE_DIRS="core/src/main/resources" - JAVA_JAR_FILENAME="core.jar" - JAVA_CLASSPATH_EXTRA="istack-commons-runtime,jaxb-api-4" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":core.jar" - rm -r target || die - - einfo "Compiling runtime" - JAVA_SRC_DIR="runtime/impl/src/main/java" - JAVA_RESOURCE_DIRS="runtime/impl/src/main/resources" - JAVA_JAR_FILENAME="runtime.jar" - java-pkg-simple_src_compile - JAVA_GENTOO_CLASSPATH_EXTRA+=":runtime.jar" - rm -r target || die - - if use doc; then - einfo "Compiling javadocs" - rm {core,runtime/impl}/src/main/java/module-info.java || die - JAVA_SRC_DIR=( - "txw/runtime/src/main/java" - "core/src/main/java" - "runtime/impl/src/main/java" - ) - JAVA_JAR_FILENAME="ignoreme.jar" - java-pkg-simple_src_compile - fi -} - -src_test() { -# einfo "Testing txw-runtime" -# JAVA_TEST_SRC_DIR="txw/runtime/src/test/java" -# java-pkg-simple_src_test - - einfo "Testing core" - JAVA_TEST_SRC_DIR="core/src/test/java" - JAVA_TEST_RESOURCE_DIRS="core/src/test/resources" - java-pkg-simple_src_test - - einfo "Testing runtime" - JAVA_TEST_SRC_DIR="runtime/impl/src/test/java" - JAVA_TEST_RESOURCE_DIRS=() - java-pkg-simple_src_test -} - -src_install() { - einstalldocs - - java-pkg_dojar "txw-runtime.jar" - java-pkg_dojar "core.jar" - java-pkg_dojar "runtime.jar" - - if use doc; then - java-pkg_dojavadoc target/api - fi - - if use source; then - java-pkg_dosrc "txw/runtime/src/main/java/*" - java-pkg_dosrc "core/src/main/java/*" - java-pkg_dosrc "runtime/impl/src/main/java/*" - fi -} -- cgit v1.2.3