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 7A10A15808B for ; Wed, 16 Mar 2022 22:29:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CBF8E08BF; Wed, 16 Mar 2022 22:29:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 E3F0FE08BF for ; Wed, 16 Mar 2022 22:29:02 +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 BDDEA342BFB for ; Wed, 16 Mar 2022 22:29:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 579632D2 for ; Wed, 16 Mar 2022 22:29:00 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1647469659.1bae46d2a9e0eb2bbd44b2d5b6b246d0feaa3ecc.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/woodstox-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/woodstox-core/Manifest dev-java/woodstox-core/woodstox-core-6.2.8.ebuild X-VCS-Directories: dev-java/woodstox-core/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1bae46d2a9e0eb2bbd44b2d5b6b246d0feaa3ecc X-VCS-Branch: master Date: Wed, 16 Mar 2022 22:29:00 +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: bb34cf6f-5565-4c30-9a4e-56663c7553cc X-Archives-Hash: fb4b1a48dbc8a593c64d116c57ffd221 commit: 1bae46d2a9e0eb2bbd44b2d5b6b246d0feaa3ecc Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Mon Mar 14 16:44:36 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 16 22:27:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bae46d2 dev-java/woodstox-core: Bump to 6.2.8 Upstream (mvn package) produces 3 jar files: modules/woodstox-core-6.2.8.jar original-woodstox-core-6.2.8.jar woodstox-core-6.2.8.jar The jar file produced by this ebuild is widely identical with 'original-woodstox-core-6.2.8.jar' and does _not_ bundle any shaded (aka relocated) classes. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24563 Signed-off-by: Sam James gentoo.org> dev-java/woodstox-core/Manifest | 1 + dev-java/woodstox-core/woodstox-core-6.2.8.ebuild | 102 ++++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/dev-java/woodstox-core/Manifest b/dev-java/woodstox-core/Manifest index 8b266d854f6e..372653e8ebba 100644 --- a/dev-java/woodstox-core/Manifest +++ b/dev-java/woodstox-core/Manifest @@ -1 +1,2 @@ DIST woodstox-core-6.2.7.tar.gz 5250524 BLAKE2B 3f5be53a459e8999cb53b3e89398bd94439815dd58cc30df7e1b71b9e98ef94b7704d04ae20401d39afff67210e423a4c5a148909a3a7ed750f7e0e24146c24a SHA512 0e2e11607c26d97509708523c4617d9e75fc529fbf5294b25deba5ca570797692e31e65621c77e7c4d9bdf0b3dee4b3c4fe0486a1e23d19dc41035d7d710668e +DIST woodstox-core-6.2.8.tar.gz 5250255 BLAKE2B 69e45da9c7e09652ffc45b366359ae12954ad0450157d8639833d41600958d10ff1203502c926f0f23cd3e3d03dbc83378a9614e5eb19367fb60fad1232f4dd8 SHA512 c5af386891ab63fb2efc8510353e35c20fa157048631c809ed3d7e070b377ef5c21ffb1b7a0f9e597113db714ebc778951ac8a8e049c3d8291a89c3a0e7a044e diff --git a/dev-java/woodstox-core/woodstox-core-6.2.8.ebuild b/dev-java/woodstox-core/woodstox-core-6.2.8.ebuild new file mode 100644 index 000000000000..06610489010c --- /dev/null +++ b/dev-java/woodstox-core/woodstox-core-6.2.8.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/FasterXML/woodstox/archive/woodstox-core-6.2.8.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild woodstox-core-6.2.8.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="com.fasterxml.woodstox:woodstox-core:6.2.8" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="An XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs" +HOMEPAGE="https://github.com/FasterXML/woodstox" +SRC_URI="https://github.com/FasterXML/woodstox/archive/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Common dependencies +# POM: pom.xml +# net.java.dev.msv:msv-core:2013.6.1 -> >=dev-java/msv-20130601:0 +# net.java.dev.msv:xsdlib:2013.6.1 -> >=dev-java/xsdlib-20090415:0 +# org.codehaus.woodstox:stax2-api:4.2.1 -> >=dev-java/stax2-api-4.2.1:0 +# relaxngDatatype:relaxngDatatype:20020414 -> !!!groupId-not-found!!! + +CP_DEPEND=" + dev-java/msv:0 + dev-java/relaxng-datatype:0 + dev-java/stax2-api:0 + dev-java/xsdlib:0 +" + +# Compile dependencies +# POM: pom.xml +# org.apache.felix:org.osgi.core:1.4.0 -> !!!groupId-not-found!!! +# POM: pom.xml +# test? junit:junit:4.13.1 -> >=dev-java/junit-4.13.2:4 + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:* + dev-java/osgi-core-api:0" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +DOCS=( LICENSE {README,SECURITY}.md release-notes/{CREDITS,VERSION} ) + +S="${WORKDIR}/woodstox-${P}" + +JAVA_CLASSPATH_EXTRA="osgi-core-api" +JAVA_SRC_DIR=( "src/main/java" "src/moditect" ) +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +JAVA_TEST_EXCLUDES=( + # Upstream: Tests run: 864, Failures: 0, Errors: 0, Skipped: 0 + # "No tests found in ..." + wstxtest.vstream.BaseValidationTest + wstxtest.BaseWstxTest + stax2.vstream.BaseStax2ValidationTest + stax2.BaseStax2Test + stax2.wstream.BaseWriterTest + org.codehaus.stax.test.BaseStaxTest + org.codehaus.stax.test.wstream.BaseWriterTest + org.codehaus.stax.test.stream.BaseStreamTest + # "... has no public constructor" + wstxtest.stream.BaseStreamTest + wstxtest.wstream.BaseWriterTest + stax2.vwstream.BaseOutputTest + org.codehaus.stax.test.vstream.BaseVStreamTest + org.codehaus.stax.test.evt.BaseEventTest + # Upstream does not run these: + failing.TestBasicSax + failing.TestExtLocationInfo91 + failing.TestRelaxNG + failing.TestW3CDefaultValues + failing.TestW3CDefaultValues + failing.TestW3CSchemaComplexTypes + failing.TestW3CSchemaTypes + failing.TestW3CSchemaTypes +) + +src_prepare() { + default + + # We do not bundle any shaded (aka relocated) classes. + sed -e '/com.ctc.wstx.shaded.msv/d' \ + -e '/org.codehaus.stax2.validation/d' \ + -i "src/moditect/module-info.java" || die +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +}