summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2009-06-13 12:56:42 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2009-06-13 12:56:42 +0000
commit1c5d37fbb74e843751562421e6a29b07d2b8d4a1 (patch)
treed3e38790717ef9e05624fa213aff494dc121f47c /dev-java/ant-ivy
parentVersion bump to 0.8.2, bug 273770; Thanks to Lars Wendler (polynomial-c@gento... (diff)
downloadhistorical-1c5d37fbb74e843751562421e6a29b07d2b8d4a1.tar.gz
historical-1c5d37fbb74e843751562421e6a29b07d2b8d4a1.tar.bz2
historical-1c5d37fbb74e843751562421e6a29b07d2b8d4a1.zip
Added ant-ivy-1.4.1 from overlay.
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'dev-java/ant-ivy')
-rw-r--r--dev-java/ant-ivy/ChangeLog8
-rw-r--r--dev-java/ant-ivy/Manifest5
-rw-r--r--dev-java/ant-ivy/ant-ivy-1.4.1.ebuild78
-rw-r--r--dev-java/ant-ivy/files/1.4.1-javadoc.patch14
4 files changed, 103 insertions, 2 deletions
diff --git a/dev-java/ant-ivy/ChangeLog b/dev-java/ant-ivy/ChangeLog
index af699e3af4a6..c35e27137eae 100644
--- a/dev-java/ant-ivy/ChangeLog
+++ b/dev-java/ant-ivy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/ant-ivy
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-ivy/ChangeLog,v 1.9 2009/05/10 15:26:26 elvanor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-ivy/ChangeLog,v 1.10 2009/06/13 12:56:41 elvanor Exp $
+
+*ant-ivy-1.4.1 (13 Jun 2009)
+
+ 13 Jun 2009; Jean-Noël Rivasseau <elvanor@gentoo.org>
+ +files/1.4.1-javadoc.patch, +ant-ivy-1.4.1.ebuild:
+ Added ant-ivy-1.4.1 from java-experimental overlay.
*ant-ivy-2.0.0 (10 May 2009)
diff --git a/dev-java/ant-ivy/Manifest b/dev-java/ant-ivy/Manifest
index d7c5a6b54a6a..a477b93d039a 100644
--- a/dev-java/ant-ivy/Manifest
+++ b/dev-java/ant-ivy/Manifest
@@ -1,8 +1,11 @@
+AUX 1.4.1-javadoc.patch 500 RMD160 1f2edc07b58e695e74ff651f2901bc528cc111a3 SHA1 7dd406cb633c54cfdc3198a7caa355390ba17ace SHA256 93596668c1661527074753b73120650bb2767f9da40601a26ff7effae8bc4869
AUX ivy-1.3.1-noresolve.patch 371 RMD160 b4b1aafae6623404fd6470f794934bb5c4f2f501 SHA1 d6abed9e2aa33e000025afb29e702cceffd6950d SHA256 6b5e0bca2d2c777f4a8a3b78976be9ca737ebcb9e1a40099113acc9a1e568a01
AUX ivy-1.3.1-tasks.patch 593 RMD160 d01857a47ba65ea09709c5e7cfe4dd7478144ed5 SHA1 d0513091f2440d5edd06628d49f515216ef1be78 SHA256 835bd1b695bb5e19d9481251aaafd529b54032b98e1bdf847a84884902c4a4cb
DIST apache-ivy-2.0.0-src.tar.gz 2248438 RMD160 6e936253e3b49036295849bd48dc0246f1862c6b SHA1 e5dfc624f7b6860b521f1d14076921041c4488cb SHA256 99b550f826f0d5611e48503cf83f27840c4eae3c0605b15dc058f2fb8e73ad1d
DIST ivy-1.3.1-src.zip 1302693 RMD160 9a344ee8ba78d34ec9ee2fc35e1a56b4096560ad SHA1 c60df175739052d6acb47a21bbd6214f1895aa7c SHA256 2a4653de892b739f8dfbf21403bfbf49c7febe9fb5a3d855cd9ad4bb29964fa0
+DIST ivy-1.4.1-src.zip 751792 RMD160 a0c4a07341d8f2600c58e77b939185011adba64d SHA1 649b9e94b25c8c769bd4b8265782a2eae21c19f1 SHA256 7e8b88dcca3481f5efd0a86436abaae6dd77f659b779cdd84c4e55386db16236
EBUILD ant-ivy-1.3.1-r1.ebuild 1579 RMD160 319b04873895352eab7aa77d98b7fa1105fcf482 SHA1 4caaabfda71a344101a3d80b8906d2eb4ba69eb5 SHA256 aaf602d6672c998b6f6c2e69740054c053175a329b527ddc9a37b8fe8723cd7d
+EBUILD ant-ivy-1.4.1.ebuild 1854 RMD160 66427a84b8bf9798b81ca92d5321944618459d2f SHA1 382d7773db7f083f4a930b605eff261680e8e6e1 SHA256 d0814d4c3a4e2097aa62689856ba7480b021527c0470feb94af737edc96266cb
EBUILD ant-ivy-2.0.0.ebuild 2070 RMD160 72160c35f4658e41ebfd28d619918734378ae04d SHA1 f7ba15fb26dd6e7ec8a411a4691349532b56d986 SHA256 c51f2a417ed0e0a3afb54ab4026f19ba5b3c978c04aea6c57c1dd19d1bc1bb72
-MISC ChangeLog 1508 RMD160 c26e69ae1a6742458f28aad031ce22a668df0f64 SHA1 8f533d26f8b30ce13e646ba53cec66e0e9abf5a8 SHA256 94988d1e42f3481d396819fb4399a2b7d5a3a093db3089d03cb5f5f4496e1bac
+MISC ChangeLog 1704 RMD160 c79f142dd26c5bf79a42cc8bdc80e0e3ec166ac8 SHA1 97a99b4dfab8833ca8ea1dbfbcba23ddc5203e2a SHA256 9438635d18cf2dbdc0a57e22097e8d7f1ad532d241a94e18fab8571819536846
MISC metadata.xml 577 RMD160 7b73bf734668528919731e5630aec46aaf2566ee SHA1 9ddd4852f963bf48aa4a9b8511aa2081ae1d1614 SHA256 7009fb41885befd40b3e2d36f9ebba67212d18db2397173e156fa46f5b3064ac
diff --git a/dev-java/ant-ivy/ant-ivy-1.4.1.ebuild b/dev-java/ant-ivy/ant-ivy-1.4.1.ebuild
new file mode 100644
index 000000000000..77909e088453
--- /dev/null
+++ b/dev-java/ant-ivy/ant-ivy-1.4.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-ivy/ant-ivy-1.4.1.ebuild,v 1.1 2009/06/13 12:56:41 elvanor Exp $
+
+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 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/ant-core
+ =dev-java/commons-cli-1*
+ =dev-java/commons-httpclient-3*
+ dev-java/commons-vfs
+ =dev-java/jakarta-oro-2.0*
+ dev-java/jsch"
+DEPEND="
+ >=virtual/jdk-1.4
+ app-arch/unzip
+ test? ( dev-java/ant-junit )
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${MY_P}"
+
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ 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/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">