summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-03-31 22:36:33 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-04-01 10:51:44 +0200
commit97d0b8d7fb96b8c074a9d3e8950099a1e6a11fa9 (patch)
treed0566b714054c2ebef5eb5b976041c3528f6359b /dev-java/xml-commons-external
parentdev-java/qdox: clean up old. (diff)
downloadgentoo-97d0b8d7fb96b8c074a9d3e8950099a1e6a11fa9.tar.gz
gentoo-97d0b8d7fb96b8c074a9d3e8950099a1e6a11fa9.tar.bz2
gentoo-97d0b8d7fb96b8c074a9d3e8950099a1e6a11fa9.zip
dev-java/xml-commons-external: EAPI 6 bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 RepoMan-Options: --force
Diffstat (limited to 'dev-java/xml-commons-external')
-rw-r--r--dev-java/xml-commons-external/xml-commons-external-1.3.04-r1.ebuild38
-rw-r--r--dev-java/xml-commons-external/xml-commons-external-1.4.01-r1.ebuild2
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-java/xml-commons-external/xml-commons-external-1.3.04-r1.ebuild b/dev-java/xml-commons-external/xml-commons-external-1.3.04-r1.ebuild
new file mode 100644
index 000000000000..39fcc656f67d
--- /dev/null
+++ b/dev-java/xml-commons-external/xml-commons-external-1.3.04-r1.ebuild
@@ -0,0 +1,38 @@
+# 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-ant-2
+
+DESCRIPTION="Externally-defined set of standard interfaces, namely DOM, SAX, and JAXP"
+HOMEPAGE="https://xml.apache.org/commons/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+# upstream source tar.gz is missing build.xml and other stuff, so we get it like this
+# svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/java/external/ xml-commons-external-1.3.04
+# tar cjf xml-commons-external-1.3.04.tar.bz2 xml-commons-external-1.3.04
+
+LICENSE="Apache-2.0"
+SLOT="1.3"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc source"
+
+DEPEND="
+ >=virtual/jdk-1.8"
+
+RDEPEND="
+ >=virtual/jre-1.8"
+
+src_install() {
+ java-pkg_dojar build/xml-apis.jar build/xml-apis-ext.jar
+
+ dodoc NOTICE README.*
+
+ if use doc; then
+ java-pkg_dojavadoc build/docs/javadoc
+ java-pkg_dohtml -r build/docs/dom
+ fi
+ use source && java-pkg_dosrc src/javax src/org
+}
diff --git a/dev-java/xml-commons-external/xml-commons-external-1.4.01-r1.ebuild b/dev-java/xml-commons-external/xml-commons-external-1.4.01-r1.ebuild
index 864f0fd76e94..e1769bb1d657 100644
--- a/dev-java/xml-commons-external/xml-commons-external-1.4.01-r1.ebuild
+++ b/dev-java/xml-commons-external/xml-commons-external-1.4.01-r1.ebuild
@@ -11,7 +11,7 @@ MY_PN="xml-apis"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Externally-defined set of standard interfaces, namely DOM, SAX, and JAXP"
-HOMEPAGE="http://xerces.apache.org/xml-commons/components/external/"
+HOMEPAGE="https://xerces.apache.org/xml-commons/components/external/"
SRC_URI="https://repo1.maven.org/maven2/${MY_PN}/${MY_PN}/${PV}/${MY_P}-sources.jar -> ${P}.jar"
LICENSE="Apache-2.0"