summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2021-04-13 12:58:03 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-04-13 14:20:02 +0200
commitc64513b0e06a47bfc44af38a5937b37d201fb71e (patch)
tree14be85a678fe803ed05fc2a5620861f786d550a9 /dev-java/xerces
parentapp-emacs/apel: Remove old (diff)
downloadgentoo-c64513b0e06a47bfc44af38a5937b37d201fb71e.tar.gz
gentoo-c64513b0e06a47bfc44af38a5937b37d201fb71e.tar.bz2
gentoo-c64513b0e06a47bfc44af38a5937b37d201fb71e.zip
dev-java/xerces: EAPI 7
Also drop dev-java/xml-commons-external Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/20363 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/xerces')
-rw-r--r--dev-java/xerces/xerces-2.12.0-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/xerces/xerces-2.12.0-r1.ebuild b/dev-java/xerces/xerces-2.12.0-r1.ebuild
new file mode 100644
index 000000000000..03dafc950f49
--- /dev/null
+++ b/dev-java/xerces/xerces-2.12.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="xerces:xercesImpl:2.12.0"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="xercesImpl"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Xerces Java XML parser"
+HOMEPAGE="https://xml.apache.org/xerces2-j/index.html"
+SRC_URI="https://repo1.maven.org/maven2/xerces/${MY_PN}/${PV}/${MY_P}-sources.jar -> ${P}.jar"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+CDEPEND="
+ dev-java/xjavac:1
+ dev-java/xml-commons-resolver:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.8:*"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.8:*"
+
+JAVA_SRC_DIR="org"
+
+JAVA_GENTOO_CLASSPATH="
+ xjavac-1
+ xml-commons-resolver"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ default
+
+ eapply "${FILESDIR}/${P}-overrides.patch"
+ rm -rv "org/w3c" || die
+}