public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/woodstox-core/
Date: Sat, 19 Apr 2025 16:58:49 +0000 (UTC)	[thread overview]
Message-ID: <1745081835.f7d56f247a1d40f4d92275f165d6c122f1dbfbf4.fordfrog@gentoo> (raw)

commit:     f7d56f247a1d40f4d92275f165d6c122f1dbfbf4
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Apr 13 19:33:19 2025 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 16:57:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d56f24

dev-java/woodstox-core: add 7.1.0

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/41566
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/woodstox-core/Manifest                   |  1 +
 dev-java/woodstox-core/woodstox-core-7.1.0.ebuild | 70 +++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-java/woodstox-core/Manifest b/dev-java/woodstox-core/Manifest
index be5e4bc9c5ff..1c3c9d0d1db8 100644
--- a/dev-java/woodstox-core/Manifest
+++ b/dev-java/woodstox-core/Manifest
@@ -1 +1,2 @@
 DIST woodstox-core-6.4.0.tar.gz 6030457 BLAKE2B 0506a4af84eff8ac11bc6363581f8de737116bd254d0c3b2f68a9ce062325934188c5a05eeff918ae012330d885ba7940f9dc1afb01ee951ff58cdcd1c86b2c7 SHA512 ca8033084c0355c5a321ab51ab6cfee62737b49ab98106fab0abb3ac8950ddd773dc91d864e4e62bdddaca1b7ba98f3639d1a61d8c436892b35193a8c838659f
+DIST woodstox-core-7.1.0.tar.gz 9103654 BLAKE2B aa1033eace55725d2757853271116f11503ab6e435ee25a4c2a7a1c63115c035cb62c34aeb9a8b74dea590e382242163bce15a05ded7bfa5cb23265c10e374a6 SHA512 3184db7740e17a23fa317a0c4339292f5562643964368f6c92a1a4180ee3d54c707cfb104b5f5617e1192ab677a768c9faac8bec71d1105797e4b3dc037105bb

diff --git a/dev-java/woodstox-core/woodstox-core-7.1.0.ebuild b/dev-java/woodstox-core/woodstox-core-7.1.0.ebuild
new file mode 100644
index 000000000000..ad913156a3a3
--- /dev/null
+++ b/dev-java/woodstox-core/woodstox-core-7.1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="com.fasterxml.woodstox:woodstox-core:7.1.0"
+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"
+S="${WORKDIR}/woodstox-${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+CP_DEPEND="
+	dev-java/bnd-annotation:0
+	dev-java/msv:0
+	dev-java/osgi-core:0
+	dev-java/relaxng-datatype:0
+	dev-java/stax2-api:0
+"
+
+DEPEND="
+	${CP_DEPEND}
+	>=virtual/jdk-11:*
+	dev-java/xsdlib:0
+	test? ( dev-java/mockito:4 )
+"
+
+RDEPEND="
+	${CP_DEPEND}
+	>=virtual/jre-1.8:*
+"
+
+DOCS=( {README,SECURITY}.md release-notes/{CREDITS,VERSION} )
+
+JAVA_CLASSPATH_EXTRA="xsdlib"
+JAVA_SRC_DIR=( src/{main/java,moditect} )
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito-4"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+
+src_prepare() {
+	java-pkg-2_src_prepare
+
+	# src/moditect/module-info.java:33: error: cannot find symbol
+	#    provides org.codehaus.stax2.validation.XMLValidationSchemaFactory.dtd with com.ctc.wstx.dtd.DTDSchemaFactory;
+	# https://bugs.gentoo.org/858302
+	sed -e '/com.ctc.wstx.shaded.msv/d' \
+		-e '/org.codehaus.stax2.validation/d' \
+		-i "src/moditect/module-info.java" || die
+}
+
+# https://github.com/FasterXML/woodstox/blob/woodstox-core-6.3.0/pom.xml#L229-L243
+src_test() {
+	local JAVA_TEST_RUN_ONLY=$(find src/test/java \
+		\( -path "**/Test*.java" -o -path "**/*Test.java" \) \
+		! -path '**/failing/*.java' \
+		! -path "**/Base*.java" -printf "%P\n")
+	JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}"
+	JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}"
+	java-pkg-simple_src_test
+}


             reply	other threads:[~2025-04-19 16:58 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-19 16:58 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-24 20:09 [gentoo-commits] repo/gentoo:master commit in: dev-java/woodstox-core/ Miroslav Šulc
2025-05-22  6:26 Arthur Zamarin
2025-05-18  8:05 Sam James
2024-10-12 17:12 Arthur Zamarin
2023-11-29  9:19 Miroslav Šulc
2023-01-28  6:52 Arthur Zamarin
2023-01-27 20:25 Arthur Zamarin
2023-01-27 20:18 Arthur Zamarin
2023-01-27 20:14 Arthur Zamarin
2023-01-27 19:43 Arthur Zamarin
2022-12-28 18:53 Florian Schmaus
2022-11-03 18:16 Arthur Zamarin
2022-11-03 18:10 Arthur Zamarin
2022-11-03  8:43 Agostino Sarubbo
2022-10-19 17:35 Arthur Zamarin
2022-10-12 18:56 Arthur Zamarin
2022-10-10 23:40 Sam James
2022-10-10 11:49 Sam James
2022-09-25  8:24 Arthur Zamarin
2022-09-10 19:13 Arthur Zamarin
2022-09-10 18:59 Arthur Zamarin
2022-09-10 16:36 Florian Schmaus
2022-05-10  6:37 Florian Schmaus
2022-05-10  6:37 Florian Schmaus
2022-04-23  7:05 Miroslav Šulc
2022-04-22 18:10 Arthur Zamarin
     [not found] <1650651017.9470a2ba448d165a206e3bb413a6a896f2baea0d.arthurzam@gentoo>
2022-04-22 18:10 ` Arthur Zamarin
2022-04-15  6:36 Arthur Zamarin
2022-04-15  6:22 Agostino Sarubbo
2022-03-16 22:29 Sam James
2022-03-06  8:54 Agostino Sarubbo
2022-03-06  8:52 Agostino Sarubbo
2022-03-06  8:50 Agostino Sarubbo
2022-03-06  7:43 Sam James
2022-02-03  6:56 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1745081835.f7d56f247a1d40f4d92275f165d6c122f1dbfbf4.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox