diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-04-07 22:58:34 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-04-07 22:58:51 +0200 |
commit | 77cd22f60f380301847f62d41b83bf1898556091 (patch) | |
tree | 5594d31742c17a6c2e5b673b463a9f91fb5a7f7a /dev-java/dom4j | |
parent | dev-java/dom4j: stable for amd64. mark stable for the remaining arches using ... (diff) | |
download | gentoo-77cd22f60f380301847f62d41b83bf1898556091.tar.gz gentoo-77cd22f60f380301847f62d41b83bf1898556091.tar.bz2 gentoo-77cd22f60f380301847f62d41b83bf1898556091.zip |
dev-java/dom4j: clean up old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-java/dom4j')
-rw-r--r-- | dev-java/dom4j/dom4j-1.6.1-r5.ebuild | 77 | ||||
-rw-r--r-- | dev-java/dom4j/dom4j-1.6.1-r6.ebuild | 79 |
2 files changed, 0 insertions, 156 deletions
diff --git a/dev-java/dom4j/dom4j-1.6.1-r5.ebuild b/dev-java/dom4j/dom4j-1.6.1-r5.ebuild deleted file mode 100644 index 47c6f4891978..000000000000 --- a/dev-java/dom4j/dom4j-1.6.1-r5.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Java library for working with XML" -HOMEPAGE="http://dom4j.sourceforge.net/" -SRC_URI=" - mirror://sourceforge/dom4j/${P}.tar.gz - mirror://gentoo/${P}-java5.patch.bz2" - -LICENSE="dom4j" -SLOT="1" -KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -CDEPEND=" - dev-java/xpp2:0 - dev-java/xpp3:0 - dev-java/jaxme:0 - dev-java/xsdlib:0 - dev-java/relaxng-datatype:0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DEPEND=" - ${CDEPEND} - test? ( - dev-java/ant-junit:0 - dev-java/junitperf:0 - ) - >=virtual/jdk-1.6" - -java_prepare() { - # Circular deps with jaxen #212993 - find -name '*.jar' -! -name jaxen-1.1-beta-6.jar -exec rm -v {} + || die - - # Add missing methods to compile on Java 5 #137970 - epatch "${WORKDIR}/${P}-java5.patch" -} - -# 0 - Requires X11. -# 1 - Fails with JDK 1.7. -# 2 - Fails with JDK 1.6. -JAVA_RM_FILES=( - src/test/org/dom4j/bean/BeansTest.java - src/test/org/dom4j/io/StaxTest.java - src/test/org/dom4j/rule/RuleTest.java -) - -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_ANT_CLASSPATH_TAGS+=" javadoc" - -JAVA_ANT_ENCODING="ISO-8859-1" - -EANT_BUILD_TARGET="clean package" -EANT_GENTOO_CLASSPATH="jaxme,relaxng-datatype,xpp2,xpp3,xsdlib" -EANT_GENTOO_CLASSPATH_EXTRA="lib/jaxen-1.1-beta-6.jar" -EANT_EXTRA_ARGS="-Dbuild.javadocs=build/doc/api" - -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junitperf" - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_dojar "build/${PN}.jar" - use doc && java-pkg_dojavadoc build/doc/api - use source && java-pkg_dosrc src/java/* -} diff --git a/dev-java/dom4j/dom4j-1.6.1-r6.ebuild b/dev-java/dom4j/dom4j-1.6.1-r6.ebuild deleted file mode 100644 index de9cd73a50de..000000000000 --- a/dev-java/dom4j/dom4j-1.6.1-r6.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Java library for working with XML" -HOMEPAGE="http://dom4j.sourceforge.net/" -SRC_URI=" - mirror://sourceforge/dom4j/${P}.tar.gz - mirror://gentoo/${P}-java5.patch.bz2" - -LICENSE="dom4j" -SLOT="1" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -CDEPEND=" - dev-java/xpp2:0 - dev-java/xpp3:0 - dev-java/xsdlib:0 - dev-java/relaxng-datatype:0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.6" - -DEPEND=" - ${CDEPEND} - test? ( - dev-java/ant-junit:0 - dev-java/junitperf:0 - ) - >=virtual/jdk-1.6" - -PDEPEND="dev-java/jaxen:1.1" - -java_prepare() { - # Circular deps with jaxen #212993 - find -name '*.jar' -! -name jaxen-1.1-beta-6.jar -exec rm -v {} + || die - - # Add missing methods to compile on Java 5 #137970 - epatch "${WORKDIR}/${P}-java5.patch" -} - -# 0 - Requires X11. -# 1 - Fails with JDK 1.7. -# 2 - Fails with JDK 1.6. -JAVA_RM_FILES=( - src/test/org/dom4j/bean/BeansTest.java - src/test/org/dom4j/io/StaxTest.java - src/test/org/dom4j/rule/RuleTest.java -) - -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_ANT_CLASSPATH_TAGS+=" javadoc" - -JAVA_ANT_ENCODING="ISO-8859-1" - -EANT_BUILD_TARGET="clean package" -EANT_GENTOO_CLASSPATH="relaxng-datatype,xpp2,xpp3,xsdlib" -EANT_GENTOO_CLASSPATH_EXTRA="lib/jaxen-1.1-beta-6.jar" -EANT_EXTRA_ARGS="-Dbuild.javadocs=build/doc/api" - -EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junitperf" - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_dojar "build/${PN}.jar" - java-pkg_register-dependency jaxen-1.1 - use doc && java-pkg_dojavadoc build/doc/api - use source && java-pkg_dosrc src/java/* -} |