summaryrefslogtreecommitdiff
path: root/dev-java/ant-ivy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/ant-ivy')
-rw-r--r--dev-java/ant-ivy/Manifest14
-rw-r--r--dev-java/ant-ivy/ant-ivy-1.3.1-r1.ebuild64
-rw-r--r--dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild78
-rw-r--r--dev-java/ant-ivy/ant-ivy-2.0.0.ebuild85
-rw-r--r--dev-java/ant-ivy/ant-ivy-2.3.0-r2.ebuild104
-rw-r--r--dev-java/ant-ivy/files/1.4.1-javadoc.patch14
-rw-r--r--dev-java/ant-ivy/files/ivy-1.3.1-noresolve.patch12
-rw-r--r--dev-java/ant-ivy/files/ivy-1.3.1-tasks.patch20
-rw-r--r--dev-java/ant-ivy/metadata.xml17
9 files changed, 408 insertions, 0 deletions
diff --git a/dev-java/ant-ivy/Manifest b/dev-java/ant-ivy/Manifest
new file mode 100644
index 000000000000..fe3dfbf3a925
--- /dev/null
+++ b/dev-java/ant-ivy/Manifest
@@ -0,0 +1,14 @@
+AUX 1.4.1-javadoc.patch 500 SHA256 93596668c1661527074753b73120650bb2767f9da40601a26ff7effae8bc4869 SHA512 e50463fb7bb7ffd493ad212cf2fbdef89e454de48521c6903ddbd9c7ba1a799172cf36265c6131e3a81136c0872977c63e654b7ce2913aac3672357718b8f93f WHIRLPOOL 433180f5eee515fdc371afc47524e1570eeaf829aee01181dd0173ec195d9698a7d6abcc73770da396adad8f08ff5df7b11406f3a37530c7590661340cd12463
+AUX ivy-1.3.1-noresolve.patch 371 SHA256 6b5e0bca2d2c777f4a8a3b78976be9ca737ebcb9e1a40099113acc9a1e568a01 SHA512 fa520c8bf17813c3aa9c6b41b50bf844c86b959b2046b64241bddc16675a7a2583151813b6ad3dd7369ab1ee453909fe84a34d8e4c81ee5729e9c929d9690b02 WHIRLPOOL 3e41243aa637271f28afd77f8901b2ea4c93e899e1e12a1967eefd9d244a8d5e05e6030ea6c004928b460157521b3c2629299780af4da52ab2857c07aff19b37
+AUX ivy-1.3.1-tasks.patch 593 SHA256 835bd1b695bb5e19d9481251aaafd529b54032b98e1bdf847a84884902c4a4cb SHA512 399f5fd76af888d4aacac83ce0a1311e26e49f3101dc1577615b576057197518348917a7670d916e502ac4caa2620d9824470e72acd9708a35463d044e733278 WHIRLPOOL af752ac9c7bdf01f78b024c3d5a4ebb395da6df4573186fcb3cfacc2e3701a6bec4608d5892b876bc883e5577a6a523a245bb23617808a00b16ac43202e582fe
+DIST apache-ivy-2.0.0-src.tar.gz 2248438 SHA256 99b550f826f0d5611e48503cf83f27840c4eae3c0605b15dc058f2fb8e73ad1d SHA512 eb932069c42b42c421afc5b49a94204d5359b8f6f23708d3cbd04fee260c2348eea540bddbee7950cd71c8a5290383f7f2d4044e03fc8b53013fb381e410f1f6 WHIRLPOOL bbf9abcab217711af018c166717d9484df7c46a0a5a4f460b7f4440425c6b3137accb06d888bbf2d80920758a1b66b9f4a3eb3be04fea354fca8d915f450fed6
+DIST apache-ivy-2.3.0-src.tar.gz 2790722 SHA256 20f9ba64b6f24328497394d8b3e24b8e15e12ad230958be9c76d6f8cccf081de SHA512 fde43ff288cd8c77f2bdecdcbf52f180247ed99a8526be9d875d60e209b66155d5526e968400382d2cef22cabb8899c3b0912e049ae7d23e2cb79be8a81fe00f WHIRLPOOL 5be77a1316d089c9ce1b7dd2387c0b4a99bfb2f0bb5747ac49d2ea45973425376f9b775d297d57c3c503921ca7bcfeb65074f8ee96add47e11fcf76994bd9b72
+DIST ivy-1.3.1-src.zip 1302693 SHA256 2a4653de892b739f8dfbf21403bfbf49c7febe9fb5a3d855cd9ad4bb29964fa0 SHA512 35c425ea8adc714496dbc2bc0d5a6037fe295967bea9014a16850e54ab3925192e42579ca1e23d68d776326e81e1e195ce85f1a7791a6b0b20ed179c09a22f82 WHIRLPOOL 5e8d07ee947c53b7e36dd7da8ba5566d962e922e2d3119e402e6bb441e55e6335c4ee848620ab2f9ad76ec2586f8500b7899a3f3780d1c104fb3413865f7fde6
+DIST ivy-1.4.1-src.zip 751792 SHA256 7e8b88dcca3481f5efd0a86436abaae6dd77f659b779cdd84c4e55386db16236 SHA512 8ccb4680e8c32178bf12b74f4c6df668bbdd06c6dce6a2d0bf1b9daeec8fb5166d4d510cadb247dc4e2a91b71f5dc7fc429d0d7faed95a2898fd4f9d0888ee8d WHIRLPOOL 9f058618d51f90979889d9bdf5df616da7276aba4ae4ae6b2cd447fa331edae5e8f03e585e1f4e9a2bf975078500c8d8d3a2ba856fcea7f78416ce50e2b3f693
+EBUILD ant-ivy-1.3.1-r1.ebuild 1493 SHA256 0888e8f7fa7e350338a83487ad10c7a4bb14960976d8d02a0ef016d317a6eff5 SHA512 09c988206b8822d450ad5219d5aeaf132ace56528d3e2065569e228628381ee61fc6d308b70f2a0a557682aeaf32c8b2e0a04529922892c07c813606faa570b8 WHIRLPOOL 6cfc688cdeceb6cae3b5a9300b7138c475f966ce5d7894d3410f2680b888c93e4b8b835233436f181677e6bd0d7cb3d5c27309d0aa8a9b147fa05c872cc16ba9
+EBUILD ant-ivy-1.4.1-r1.ebuild 1767 SHA256 79e5bb866dacf6c4656d817c2b68ca9ac8a2a94cea728d83d2a2373c68ee8bf3 SHA512 b3bd82273c970bb54860ae10863583cd7e750beb43998adbf6bf30a630397594e4cbcf95a6819f0f0c7fd86ef41340ff163e4f17d8294d2373a593218533c1be WHIRLPOOL 0ac1bd6ccf9e9b0d7f925beef230a9ccd6e6322c45d6d74374fe390a90c4169c6c6c8384c2eed36721f3b078a8a06e14e7aa3c24a7d6a383b5eca4dc41e10d62
+EBUILD ant-ivy-2.0.0.ebuild 2000 SHA256 073a69009bc7e6aa19d2ef9e03560296ad4c83b4fd7ebae2f7ea6e8c13cccf5f SHA512 24e2f9ce7b08aad3fcafc35a783b2d8e05c1a8dfeb320a1911211ae4e0b1a6a110ba6c7bc3ab2b2c961a5b689f0c1c0cf1284dad2290222ec824b60ce5399092 WHIRLPOOL d49aced1970a8a90d07e344b072f9c4a9d7b3ff0351262f17bee3831395de209ec0ce879d5a305071c65a84010c785939798e84b2c64c3eecc4fa51b79454b6e
+EBUILD ant-ivy-2.3.0-r2.ebuild 2224 SHA256 deda9402b548faae14e90818c4a2489ed15407f0c282b5774dc66f76d3efa084 SHA512 a0a2a60ec9e604e03a5323bf603700b7b3d184f9e5ed320323ec56a2cd1340b3dd1bbf9d719bf117e053a738ce94920c2a4471ae5da5f9f7f8dd26d0b55bc2bd WHIRLPOOL bdce7b9bd3060a2f8c71ac9643c25eda46b6eb7ca66762fd4d01fe10ebc76c60d037fa322e5a8961d290b03920371f7381cdb3e33c08cf7e4643ec09564e8cc7
+MISC ChangeLog 4208 SHA256 08ca18a5000e09a7a394dae4ca4b421281f35c9b586cee73e1f6480cc2b8c585 SHA512 a0fa3434f07735165c2bfe2b48fa3f40d3c88eaf41f446299c0d347ad8bc00f906bea9147283a56f98bc315c69708b88ca16a2c64294b658140001de34b8e866 WHIRLPOOL 8ca185e7e3564d14e495de269992a96263690347b4545c1d4d2e1e6b28528cd38f5476c91a1628609b76f8e68e4da4ba1f28fcbaff3c03fee480ecaa0b01cf36
+MISC ChangeLog-2015 2826 SHA256 2c87a2d51aa480be0f6e3a69df785e4eed633fda029ec9acd31d4cbaf05563ca SHA512 0400e7c75d2d6c9b7e276de04cca92e064e426847953c1fa76a715c6add6ffef482131166fbe9d6d1247b65c917494ed3d469c05359b8a9d7c35a9dc7bf06dce WHIRLPOOL 9ddefb7f98a834ae1dc43c730ff8481002e32605c356359168728ec72d7ebcd64068b41772a8a1bbbaad64b868e4ea580b0b1c8dcbbddd04bd5c1e7092524775
+MISC metadata.xml 655 SHA256 538c5ffc40fd0b29b54d34c785c5c14a04b7506be4473abdbf776b7e13fb44b7 SHA512 81eb7f4ce41f17a43b32ac6e4ade9677397696cab06ae94964d1756d6745aadc9d61df9ef3b0749eb547b62fdc5bb19a98484268fbce9d56773be09a03671c0d WHIRLPOOL 285851fa4bc8f7820545381ac7b5b3e892eba5ca49891f8fd9971237ef3039c2d8c418d1e129cf6119c3a7e3b922666c02b7ebf1860a4e59f3e7343e14cd607b
diff --git a/dev-java/ant-ivy/ant-ivy-1.3.1-r1.ebuild b/dev-java/ant-ivy/ant-ivy-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..02604ee8fdd5
--- /dev/null
+++ b/dev-java/ant-ivy/ant-ivy-1.3.1-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_PN=${PN##*-}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Ivy is a free java based dependency manager"
+HOMEPAGE="http://jayasoft.org/ivy"
+SRC_URI="http://jayasoft.org/downloads/ivy/1.3.1/${MY_P}-src.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/ant-core
+ =dev-java/commons-cli-1*
+ =dev-java/commons-httpclient-3*
+ dev-java/commons-logging
+ =dev-java/jakarta-oro-2.0*"
+DEPEND="
+ >=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${MY_P}
+
+# Rewrites examples... bad
+JAVA_PKG_BSFIX="off"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${MY_P}-noresolve.patch"
+ epatch "${FILESDIR}/${MY_P}-tasks.patch"
+
+ mkdir "${S}/lib"
+ java-pkg_jar-from --into lib commons-cli-1,commons-httpclient-3,commons-logging,ant-core,jakarta-oro-2.0
+
+ java-ant_bsfix_one build.xml
+}
+
+src_install() {
+ java-pkg_dojar build/artifact/${MY_PN}.jar
+ dodir /usr/share/ant-core/lib
+ dosym /usr/share/${PN}/lib/${MY_PN}.jar /usr/share/ant-core/lib/${PN}.jar
+ use doc && java-pkg_dojavadoc doc/build/api
+ use source && java-pkg_dosrc src/java/*
+}
+
+RESTRICT="test" # fail because of a missing file
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant test || die "Junit tests failed"
+}
diff --git a/dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild b/dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild
new file mode 100644
index 000000000000..e480764befa7
--- /dev/null
+++ b/dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+# Registers as split-ant task.
+WANT_SPLIT_ANT="true"
+
+# Rewrites examples otherwise... bad.
+JAVA_PKG_BSFIX_ALL="no"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_PN="${PN##*-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Ivy is a free java based dependency manager"
+HOMEPAGE="http://ant.apache.org/ivy"
+SRC_URI="http://www.jaya.free.fr/downloads/ivy/${PV}/${MY_P}-src.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+COMMON_DEP="
+ dev-java/ant-core:0
+ dev-java/commons-cli:1
+ dev-java/commons-httpclient:3
+ dev-java/commons-vfs:0
+ dev-java/jakarta-oro:2.0
+ dev-java/jsch:0"
+
+DEPEND="
+ >=virtual/jdk-1.4
+ app-arch/unzip
+ test? ( dev-java/ant-junit:0 )
+ ${COMMON_DEP}"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${MY_P}"
+
+java_prepare() {
+ epatch "${FILESDIR}/1.4.1-javadoc.patch"
+
+ # init-ivy expects existing ivy.jar, but we don't need actually it
+ sed -i -e 's/depends="init-ivy, prepare"/depends="prepare"/' build.xml \
+ || die
+
+ rm -v src/java/fr/jayasoft/ivy/repository/vfs/IvyWebdav* || die
+ java-ant_rewrite-classpath
+ mkdir lib
+}
+
+EANT_GENTOO_CLASSPATH="
+ ant-core,commons-cli-1,commons-httpclient-3
+ commons-vfs,jakarta-oro-2.0,jsch"
+
+EANT_BUILD_TARGET="offline jar"
+
+src_test() {
+ # TODO: find out why a couple of these fail
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant offline test
+}
+
+src_install() {
+ java-pkg_dojar build/artifact/${MY_PN}.jar
+
+ use doc && java-pkg_dojavadoc doc/ivy/api
+ use examples && java-pkg_doexamples src/example
+ use source && java-pkg_dosrc src/java/*
+
+ java-pkg_register-ant-task
+}
diff --git a/dev-java/ant-ivy/ant-ivy-2.0.0.ebuild b/dev-java/ant-ivy/ant-ivy-2.0.0.ebuild
new file mode 100644
index 000000000000..aa8ea1ea251c
--- /dev/null
+++ b/dev-java/ant-ivy/ant-ivy-2.0.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+JAVA_PKG_IUSE="doc examples source test"
+# registers as split-ant task
+WANT_SPLIT_ANT="true"
+# rewrites examples otherwise... bad
+JAVA_PKG_BSFIX_ALL="no"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_PN="apache-ivy"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Ivy is a free java based dependency manager"
+HOMEPAGE="http://ant.apache.org/ivy"
+SRC_URI="mirror://apache/ant/ivy/${PV}/${MY_P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+RESTRICT="test" # We cannot build tests yet as there is no org.apache.tools.ant.BuildFileTest packaged anywhere yet
+
+# There may be additional optional dependencies (commons-logging, commons-lang...)
+
+COMMON_DEP="
+ dev-java/ant-core:0
+ dev-java/jakarta-oro:2.0
+ dev-java/jsch:0
+ dev-java/commons-httpclient:3
+ dev-java/commons-vfs:0"
+
+DEPEND="
+ >=virtual/jdk-1.4
+ test? ( dev-java/ant-junit )
+ ${COMMON_DEP}"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm -rf test/repositories
+ rm -rf test/triggers
+ rm -rf src/example/chained-resolvers/settings/repository/test-1.0.jar
+ rm -rf test/java/org/apache/ivy/core/settings/custom-resolver.jar
+
+ # Removing obsolete documentation
+
+ rm -rf doc/reports
+ rm -rf doc/configuration
+
+ java-ant_rewrite-classpath
+ mkdir lib
+}
+
+EANT_GENTOO_CLASSPATH="ant-core,commons-vfs,jakarta-oro-2.0,jsch
+ commons-httpclient-3"
+
+EANT_BUILD_TARGET="/offline jar"
+
+EANT_EXTRA_ARGS="-Dbuild.version=${PV} -Dbundle.version=${PV}"
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant "/offline test"
+}
+
+src_install() {
+ java-pkg_dojar "build/artifact/jars/ivy.jar"
+
+ use doc && java-pkg_dojavadoc "build/doc/reports/api"
+ use doc && dohtml -r "doc"
+ use examples && java-pkg_doexamples "src/example"
+ use source && java-pkg_dosrc src/java/*
+
+ java-pkg_register-ant-task
+}
diff --git a/dev-java/ant-ivy/ant-ivy-2.3.0-r2.ebuild b/dev-java/ant-ivy/ant-ivy-2.3.0-r2.ebuild
new file mode 100644
index 000000000000..02b41428352b
--- /dev/null
+++ b/dev-java/ant-ivy/ant-ivy-2.3.0-r2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+# Register this as a split-ant task.
+WANT_SPLIT_ANT="true"
+
+# Don't rewrite examples, that's bad.
+JAVA_PKG_BSFIX_ALL="no"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_PN="apache-ivy"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Ivy is a free java based dependency manager"
+HOMEPAGE="http://ant.apache.org/ivy"
+SRC_URI="mirror://apache/ant/ivy/${PV}/${MY_P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+
+# We cannot build tests yet as there is no org.apache.tools.ant.BuildFileTest packaged anywhere yet.
+RESTRICT="test"
+
+# SLOT to use for all bc dependencies.
+BC_SLOT="1.50"
+
+# There may be additional optional dependencies (commons-logging, commons-lang...)
+CDEPEND="dev-java/jsch:0
+ dev-java/bcpg:${BC_SLOT}
+ dev-java/ant-core:0
+ dev-java/bcpkix:${BC_SLOT}
+ dev-java/bcprov:${BC_SLOT}
+ dev-java/commons-vfs:0
+ dev-java/jakarta-oro:2.0
+ dev-java/commons-httpclient:3"
+
+DEPEND=">=virtual/jdk-1.6
+ test? (
+ dev-java/ant-junit:0
+ )
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+java_prepare() {
+ # This stuff needs removing.
+ local CLEANUP=(
+ doc/reports
+ test/triggers
+ doc/configuration
+ test/repositories
+ test/java/org/apache/ivy/core/settings/custom-resolver.jar
+ src/example/chained-resolvers/settings/repository/test-1.0.jar
+ )
+
+ rm -rf "${CLEANUP[@]}" || die
+
+ java-ant_rewrite-classpath
+ mkdir lib || die
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+EANT_GENTOO_CLASSPATH="
+ jsch
+ bcpkix-${BC_SLOT}
+ ant-core
+ bcpg-${BC_SLOT}
+ commons-vfs
+ bcprov-${BC_SLOT}
+ jakarta-oro-2.0
+ commons-httpclient-3
+"
+
+EANT_BUILD_TARGET="/offline jar"
+
+EANT_EXTRA_ARGS="-Dbuild.version=${PV} -Dbundle.version=${PV}"
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant "/offline test"
+}
+
+src_install() {
+ java-pkg_dojar build/artifact/jars/ivy.jar
+ java-pkg_register-ant-task
+
+ if use doc; then
+ java-pkg_dojavadoc build/doc/reports/api
+ java-pkg_dohtml -r doc
+ fi
+
+ use examples && java-pkg_doexamples src/example
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/ant-ivy/files/1.4.1-javadoc.patch b/dev-java/ant-ivy/files/1.4.1-javadoc.patch
new file mode 100644
index 000000000000..4a0b47d8a714
--- /dev/null
+++ b/dev-java/ant-ivy/files/1.4.1-javadoc.patch
@@ -0,0 +1,14 @@
+diff -ur ivy-1.4.1.old/build.xml ivy-1.4.1/build.xml
+--- ivy-1.4.1.old/build.xml 2007-09-04 02:44:23.000000000 +0300
++++ ivy-1.4.1/build.xml 2007-09-04 02:44:53.000000000 +0300
+@@ -245,9 +245,7 @@
+ </target>
+
+ <target name="javadoc">
+- <javadoc destdir="${javadoc.build.dir}">
+- <fileset dir="${src.dir}"/>
+- </javadoc>
++ <javadoc destdir="${javadoc.build.dir}" sourcepath="${src.dir}" />
+ </target>
+
+ <target name="get-dxml" description="download dxml doc file from web site">
diff --git a/dev-java/ant-ivy/files/ivy-1.3.1-noresolve.patch b/dev-java/ant-ivy/files/ivy-1.3.1-noresolve.patch
new file mode 100644
index 000000000000..206141f4c260
--- /dev/null
+++ b/dev-java/ant-ivy/files/ivy-1.3.1-noresolve.patch
@@ -0,0 +1,12 @@
+diff -Nru ivy-1.3.1.vanilla/build.xml ivy-1.3.1/build.xml
+--- ivy-1.3.1.vanilla/build.xml 2006-08-21 16:11:08.000000000 +0200
++++ ivy-1.3.1/build.xml 2006-08-21 16:11:21.000000000 +0200
+@@ -9,7 +9,7 @@
+ </target>
+
+ <target name="resolve" depends="prepare">
+- <ivy:retrieve/>
++ <!-- <ivy:retrieve/> -->
+ </target>
+
+ <target name="build" depends="resolve">
diff --git a/dev-java/ant-ivy/files/ivy-1.3.1-tasks.patch b/dev-java/ant-ivy/files/ivy-1.3.1-tasks.patch
new file mode 100644
index 000000000000..4e392f079352
--- /dev/null
+++ b/dev-java/ant-ivy/files/ivy-1.3.1-tasks.patch
@@ -0,0 +1,20 @@
+diff -Nru ivy-1.3.1-vanilla/build.xml ivy-1.3.1/build.xml
+--- ivy-1.3.1-vanilla/build.xml 2006-08-21 19:34:19.000000000 +0200
++++ ivy-1.3.1/build.xml 2006-08-21 19:35:18.000000000 +0200
+@@ -33,6 +33,16 @@
+ <jar destfile="${artifacts.build.dir}/ivy.jar"
+ basedir="${classes.build.dir}"/>
+ </target>
++
++ <target name="javadoc">
++ <javadoc destdir="${javadoc.build.dir}">
++ <fileset dir="${src.dir}"/>
++ </javadoc>
++ </target>
++
++ <target name="clean">
++ <delete dir="${build.dir}"/>
++ </target>
+
+ <target name="test" depends="jar">
+ <path id="run.classpath">
diff --git a/dev-java/ant-ivy/metadata.xml b/dev-java/ant-ivy/metadata.xml
new file mode 100644
index 000000000000..231bfe529dc0
--- /dev/null
+++ b/dev-java/ant-ivy/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <longdescription>
+ Ivy is a powerful dependencies manager with transitive dependencies
+ support and much more features.
+
+ With Ivy you define the dependencies of your module in an xml file,
+ called an ivy file. Then you usually ask ivy to retrieve your dependencies
+ to a local lib dir, and it does it for you by locating the artifacts of
+ your dependencies in repositories, such as ibiblio.
+ </longdescription>
+</pkgmetadata>