summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-04-19 10:06:58 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-05-06 11:29:10 +0200
commit0e4fd62af2583e30ca93ffc7c509352d32ac6663 (patch)
treedf23ee83ee6aba1e8129c42e1bf0d36a201dc901 /dev-java/jaxen/jaxen-1.1.6-r1.ebuild
parentdev-db/sqlite: Add ~riscv keyword (diff)
downloadgentoo-0e4fd62af2583e30ca93ffc7c509352d32ac6663.tar.gz
gentoo-0e4fd62af2583e30ca93ffc7c509352d32ac6663.tar.bz2
gentoo-0e4fd62af2583e30ca93ffc7c509352d32ac6663.zip
dev-java/jaxen: remove xom dependency.
* Clean up xom Java classes. Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11727
Diffstat (limited to 'dev-java/jaxen/jaxen-1.1.6-r1.ebuild')
-rw-r--r--dev-java/jaxen/jaxen-1.1.6-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jaxen/jaxen-1.1.6-r1.ebuild b/dev-java/jaxen/jaxen-1.1.6-r1.ebuild
new file mode 100644
index 000000000000..c364ebdd0230
--- /dev/null
+++ b/dev-java/jaxen/jaxen-1.1.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A Java XPath Engine"
+HOMEPAGE="https://github.com/codehaus"
+SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
+
+LICENSE="JDOM"
+SLOT="1.1"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+CDEPEND="
+ dev-java/jdom:0
+ dev-java/dom4j:1"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+JAVA_GENTOO_CLASSPATH="
+ jdom
+ dom4j-1
+"
+
+JAVA_SRC_DIR="org"
+
+src_prepare() {
+ default
+
+ # xom depends on jaxen already. if we don't remove xom packages here and
+ # require jaxen to depend on xom, we end up in a circular dep.
+ # I fear though that removing those classes might bite us somewhere down
+ # the line...
+ rm -rv org/jaxen/xom || die
+}