summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-03-17 13:54:07 +0100
committerPacho Ramos <pacho@gentoo.org>2018-03-17 14:35:00 +0100
commit7b9aa59978ff5719d8288e9cab7b42acae7e21ae (patch)
treef90915f76377a4ac1f471c4ce3651011dfff2bb4 /dev-java
parentx11-libs/libxklavier: arm stable wrt bug #641358 (diff)
downloadgentoo-7b9aa59978ff5719d8288e9cab7b42acae7e21ae.tar.gz
gentoo-7b9aa59978ff5719d8288e9cab7b42acae7e21ae.tar.bz2
gentoo-7b9aa59978ff5719d8288e9cab7b42acae7e21ae.zip
dev-java/ant: Drop dependencies on obsolete dev-java/ant-trax and dev-java/ant-nodeps (#466558)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ant/ant-1.9.2-r1.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/ant/ant-1.9.2-r1.ebuild b/dev-java/ant/ant-1.9.2-r1.ebuild
new file mode 100644
index 000000000000..9d4439ac9ad9
--- /dev/null
+++ b/dev-java/ant/ant-1.9.2-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit versionator
+
+DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files"
+HOMEPAGE="http://ant.apache.org/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="X +antlr +bcel +bsf +commonslogging +commonsnet jai +javamail +jdepend jmf
+ +jsch +log4j +oro +regexp +resolver testutil"
+
+DEPEND="~dev-java/ant-core-${PV}"
+
+RDEPEND="${DEPEND}
+ ~dev-java/ant-core-${PV}
+ ~dev-java/ant-junit-${PV}
+ !dev-java/ant-optional
+ !dev-java/ant-tasks
+ ~dev-java/ant-apache-xalan2-${PV}
+ antlr? ( ~dev-java/ant-antlr-${PV} )
+ bcel? ( ~dev-java/ant-apache-bcel-${PV} )
+ bsf? ( ~dev-java/ant-apache-bsf-${PV} )
+ log4j? ( ~dev-java/ant-apache-log4j-${PV} )
+ oro? ( ~dev-java/ant-apache-oro-${PV} )
+ regexp? ( ~dev-java/ant-apache-regexp-${PV} )
+ resolver? ( ~dev-java/ant-apache-resolver-${PV} )
+ commonslogging? ( ~dev-java/ant-commons-logging-${PV} )
+ commonsnet? ( ~dev-java/ant-commons-net-${PV} )
+ jai? ( ~dev-java/ant-jai-${PV} )
+ javamail? ( ~dev-java/ant-javamail-${PV} )
+ jdepend? ( ~dev-java/ant-jdepend-${PV} )
+ jmf? ( ~dev-java/ant-jmf-${PV} )
+ jsch? ( ~dev-java/ant-jsch-${PV} )
+ testutil? ( ~dev-java/ant-testutil-${PV} )
+ X? ( ~dev-java/ant-swing-${PV} )
+"
+
+S="${WORKDIR}"
+
+src_compile() { :; }
+
+pkg_postinst() {
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ # if we update from a version below 1.7.1
+ if ! version_is_at_least 1.7.1 ${REPLACING_VERSIONS}; then
+ elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE"
+ elog "flags have been moved to dev-java/ant."
+ elog
+ elog "You may now freely set the USE flags of this package without breaking"
+ elog "building of Java packages, which depend on the exact ant tasks they need."
+ elog "The USE flags default to enabled (except X, jai and jmf) for convenience."
+ fi
+ fi
+}