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/dom4j/
Date: Mon, 27 Mar 2023 10:24:08 +0000 (UTC)	[thread overview]
Message-ID: <1679912638.33868dec953e72e06162a2f984e1afa7e3be7b7b.fordfrog@gentoo> (raw)

commit:     33868dec953e72e06162a2f984e1afa7e3be7b7b
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Feb 10 11:39:36 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Mar 27 10:23:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33868dec

dev-java/dom4j: add 2.1.4

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

 dev-java/dom4j/Manifest           |  1 +
 dev-java/dom4j/dom4j-2.1.4.ebuild | 59 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-java/dom4j/Manifest b/dev-java/dom4j/Manifest
index a884ea898fb6..4562f0eea90e 100644
--- a/dev-java/dom4j/Manifest
+++ b/dev-java/dom4j/Manifest
@@ -1,2 +1,3 @@
 DIST dom4j-2.1.3.tar.gz 565918 BLAKE2B d6f8c9ae22f84086491ca7e60e5498edda727b219b4fe019da8f62a441dc3cea86ecf0554e32f8e717e21234b8ef8e2905946ab3722462f1fa748ad7e68e9e20 SHA512 8c4d7b4f2dd1b3f806e0d5103101998a094c31e9a4912539dcee32f24b35452c7f0d72c5f4cf55f8a8c9a416fee7284f9bca43ae56b0e66104b2b54fdb49ad96
+DIST dom4j-2.1.4.tar.gz 566090 BLAKE2B 3078389c947d6915f001a6b59e1398c037d9b696186a9386a00f79b6aec33093e1786903eff35d4d9766345c3fa4f644dd756b431f4f9772b988038d8b48ce17 SHA512 bb735222c8b7dd3788bd8be3b265814d8f3133d42b750a2911464c92dacff1172067d3eedd6736014879ea9e54af32d46a45224522e6a6f2607d25c0fc9e6f38
 DIST jaxen-1.2.0.jar 232455 BLAKE2B 6bd16e8ac34f3af1b9d61218dc6a29862178516cfbb98c6834bf6db846b537e44b48db6ff578b3d67d32c3e2b142e44440a2fdcc6dc06a6ea427b04e6bf1f370 SHA512 cad582fc12d0741e9e6fd7e0cf80a50feb04f5ef42043df96f8a5b78476c77695d8b43836d2241f76b35676ea759921edd25eaeb2c04ec916eb138aa2901ce5f

diff --git a/dev-java/dom4j/dom4j-2.1.4.ebuild b/dev-java/dom4j/dom4j-2.1.4.ebuild
new file mode 100644
index 000000000000..433ef0be38f3
--- /dev/null
+++ b/dev-java/dom4j/dom4j-2.1.4.ebuild
@@ -0,0 +1,59 @@
+# 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.dom4j:dom4j:2.1.4"
+JAVA_TESTING_FRAMEWORKS="testng"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="flexible XML framework for Java"
+HOMEPAGE="https://dom4j.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz
+	https://repo1.maven.org/maven2/jaxen/jaxen/1.2.0/jaxen-1.2.0.jar"
+S="${WORKDIR}/${PN}-version-${PV}"
+
+LICENSE="dom4j"
+SLOT="1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="jaxen"
+
+CP_DEPEND="
+	dev-java/jaxb-api:2
+	dev-java/xpp2:0
+	dev-java/xpp3:0
+	dev-java/xsdlib:0
+"
+DEPEND="${CP_DEPEND}
+	>=virtual/jdk-1.8:*
+	jaxen? ( dev-java/jaxen:1.2[dom4j] )
+	test? ( dev-java/xerces:2 )
+"
+
+RDEPEND="${CP_DEPEND}
+	>=virtual/jre-1.8:*
+	jaxen? ( dev-java/jaxen:1.2[dom4j] )
+"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.dom4j"
+
+# dom4j has a cyclic dependency on jaxen[dom4j].
+# The downloaded jaxen-1.2.0.jar is provided for compilation only.
+# No prebuilt software is actually installed onto the system.
+JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/jaxen-1.2.0.jar"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="testng,xerces-2"
+JAVA_TEST_RESOURCE_DIRS="xml"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_prepare() {
+	java-pkg-2_src_prepare
+	java-pkg_clean ..
+
+	if use jaxen; then
+		JAVA_GENTOO_CLASSPATH+=" jaxen-1.2"
+	fi
+}


             reply	other threads:[~2023-03-27 10:24 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-27 10:24 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-06 18:25 [gentoo-commits] repo/gentoo:master commit in: dev-java/dom4j/ Arthur Zamarin
2025-09-04 20:48 Sam James
2025-09-04 20:48 Sam James
2025-08-06 19:48 Miroslav Šulc
2023-05-05 18:28 Arthur Zamarin
2023-05-05 16:05 Arthur Zamarin
2023-05-05 16:05 Arthur Zamarin
2023-05-05 16:05 Arthur Zamarin
2022-01-11  8:36 Miroslav Šulc
2022-01-10 19:10 Arthur Zamarin
2021-12-02 23:39 Sam James
2021-12-02 19:52 Sam James
2021-11-10  7:05 Agostino Sarubbo
2021-11-07 16:55 Jakov Smolić
2021-10-19  0:15 Sam James
2021-07-24 15:22 Sam James
2021-04-18 16:55 Miroslav Šulc
2021-04-17 13:47 Miroslav Šulc
2021-03-12 12:18 Miroslav Šulc
2017-07-13 17:27 Alexis Ballier
2017-04-07 21:11 Patrice Clement
2017-04-07 21:11 Patrice Clement
2017-04-01 22:03 Patrice Clement
2016-02-21 21:10 James Le Cuirot
2016-01-06 10:11 Patrice Clement
2016-01-06 10:11 Patrice Clement
2015-09-28 16:12 Patrice Clement

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=1679912638.33868dec953e72e06162a2f984e1afa7e3be7b7b.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