Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jaxen/
Date: Mon, 06 May 2019 09:30:38
Message-Id: 1557134950.0e4fd62af2583e30ca93ffc7c509352d32ac6663.monsieurp@gentoo
1 commit: 0e4fd62af2583e30ca93ffc7c509352d32ac6663
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 19 08:06:58 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon May 6 09:29:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4fd62a
7
8 dev-java/jaxen: remove xom dependency.
9
10 * Clean up xom Java classes.
11
12 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
13 Package-Manager: Portage-2.3.62, Repoman-2.3.11
14 Closes: https://github.com/gentoo/gentoo/pull/11727
15
16 dev-java/jaxen/jaxen-1.1.6-r1.ebuild | 45 ++++++++++++++++++++++++++++++++++++
17 1 file changed, 45 insertions(+)
18
19 diff --git a/dev-java/jaxen/jaxen-1.1.6-r1.ebuild b/dev-java/jaxen/jaxen-1.1.6-r1.ebuild
20 new file mode 100644
21 index 00000000000..c364ebdd023
22 --- /dev/null
23 +++ b/dev-java/jaxen/jaxen-1.1.6-r1.ebuild
24 @@ -0,0 +1,45 @@
25 +# Copyright 1999-2019 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=6
29 +
30 +JAVA_PKG_IUSE="doc source"
31 +
32 +inherit java-pkg-2 java-pkg-simple
33 +
34 +DESCRIPTION="A Java XPath Engine"
35 +HOMEPAGE="https://github.com/codehaus"
36 +SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
37 +
38 +LICENSE="JDOM"
39 +SLOT="1.1"
40 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
41 +
42 +CDEPEND="
43 + dev-java/jdom:0
44 + dev-java/dom4j:1"
45 +
46 +RDEPEND="
47 + ${CDEPEND}
48 + >=virtual/jre-1.6"
49 +
50 +DEPEND="
51 + ${CDEPEND}
52 + >=virtual/jdk-1.6"
53 +
54 +JAVA_GENTOO_CLASSPATH="
55 + jdom
56 + dom4j-1
57 +"
58 +
59 +JAVA_SRC_DIR="org"
60 +
61 +src_prepare() {
62 + default
63 +
64 + # xom depends on jaxen already. if we don't remove xom packages here and
65 + # require jaxen to depend on xom, we end up in a circular dep.
66 + # I fear though that removing those classes might bite us somewhere down
67 + # the line...
68 + rm -rv org/jaxen/xom || die
69 +}