diff options
-rw-r--r-- | dev-java/ant-ivy/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/ant-ivy/Manifest | 24 | ||||
-rw-r--r-- | dev-java/ant-ivy/ant-ivy-1.3.1.ebuild | 67 | ||||
-rw-r--r-- | dev-java/ant-ivy/files/digest-ant-ivy-1.3.1 | 3 | ||||
-rw-r--r-- | dev-java/ant-ivy/files/ivy-1.3.1-noresolve.patch | 12 | ||||
-rw-r--r-- | dev-java/ant-ivy/files/ivy-1.3.1-tasks.patch | 20 | ||||
-rw-r--r-- | dev-java/ant-ivy/metadata.xml | 5 |
7 files changed, 142 insertions, 0 deletions
diff --git a/dev-java/ant-ivy/ChangeLog b/dev-java/ant-ivy/ChangeLog new file mode 100644 index 000000000000..c8b49af115f9 --- /dev/null +++ b/dev-java/ant-ivy/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/ant-ivy +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-ivy/ChangeLog,v 1.1 2006/08/21 17:50:39 nelchael Exp $ + +*ant-ivy-1.3.1 (21 Aug 2006) + + 21 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/ivy-1.3.1-noresolve.patch, +files/ivy-1.3.1-tasks.patch, + +metadata.xml, +ant-ivy-1.3.1.ebuild: + Initial version. + diff --git a/dev-java/ant-ivy/Manifest b/dev-java/ant-ivy/Manifest new file mode 100644 index 000000000000..0f2a316effa7 --- /dev/null +++ b/dev-java/ant-ivy/Manifest @@ -0,0 +1,24 @@ +AUX ivy-1.3.1-noresolve.patch 371 RMD160 b4b1aafae6623404fd6470f794934bb5c4f2f501 SHA1 d6abed9e2aa33e000025afb29e702cceffd6950d SHA256 6b5e0bca2d2c777f4a8a3b78976be9ca737ebcb9e1a40099113acc9a1e568a01 +MD5 05df0402e6b048f8066f1cf4ea1b5d79 files/ivy-1.3.1-noresolve.patch 371 +RMD160 b4b1aafae6623404fd6470f794934bb5c4f2f501 files/ivy-1.3.1-noresolve.patch 371 +SHA256 6b5e0bca2d2c777f4a8a3b78976be9ca737ebcb9e1a40099113acc9a1e568a01 files/ivy-1.3.1-noresolve.patch 371 +AUX ivy-1.3.1-tasks.patch 593 RMD160 d01857a47ba65ea09709c5e7cfe4dd7478144ed5 SHA1 d0513091f2440d5edd06628d49f515216ef1be78 SHA256 835bd1b695bb5e19d9481251aaafd529b54032b98e1bdf847a84884902c4a4cb +MD5 8cb3344fbf84ee808793a7d180858d19 files/ivy-1.3.1-tasks.patch 593 +RMD160 d01857a47ba65ea09709c5e7cfe4dd7478144ed5 files/ivy-1.3.1-tasks.patch 593 +SHA256 835bd1b695bb5e19d9481251aaafd529b54032b98e1bdf847a84884902c4a4cb files/ivy-1.3.1-tasks.patch 593 +DIST ivy-1.3.1-src.zip 1302693 RMD160 9a344ee8ba78d34ec9ee2fc35e1a56b4096560ad SHA1 c60df175739052d6acb47a21bbd6214f1895aa7c SHA256 2a4653de892b739f8dfbf21403bfbf49c7febe9fb5a3d855cd9ad4bb29964fa0 +EBUILD ant-ivy-1.3.1.ebuild 1612 RMD160 1ecfb23acc1fe3435ad9e53043a5782fadf66ec8 SHA1 71b96bee6b66ef2c0e498db44cb50f7b94aa7940 SHA256 f2729abd79be3a2d8682758d84f77bb15fbe9251a9fb3a5cb2167c41466a3915 +MD5 58e25294af7b21991ddadf377e8a4fef ant-ivy-1.3.1.ebuild 1612 +RMD160 1ecfb23acc1fe3435ad9e53043a5782fadf66ec8 ant-ivy-1.3.1.ebuild 1612 +SHA256 f2729abd79be3a2d8682758d84f77bb15fbe9251a9fb3a5cb2167c41466a3915 ant-ivy-1.3.1.ebuild 1612 +MISC ChangeLog 326 RMD160 65cae3e0b1edacef0300707fb1c3420aebd67ae4 SHA1 dfc8956546259e152d9c6a87abca7c9a57957906 SHA256 3fb7328c146814fffeb8d28820e1f0c9ebf082845b355f5ec10000065533cf50 +MD5 4ab5070545d09b7c6291a511c5c41659 ChangeLog 326 +RMD160 65cae3e0b1edacef0300707fb1c3420aebd67ae4 ChangeLog 326 +SHA256 3fb7328c146814fffeb8d28820e1f0c9ebf082845b355f5ec10000065533cf50 ChangeLog 326 +MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb +MD5 9f455923f62e1ecb14ebb7f29636850a metadata.xml 159 +RMD160 7da5c733c224383ffe350605bc36721a3ff2536f metadata.xml 159 +SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb metadata.xml 159 +MD5 389bab738719cc8b19f6c360a336e4b1 files/digest-ant-ivy-1.3.1 235 +RMD160 d6597cdf06ad7f7a543185ad3ba53c047e7b5a19 files/digest-ant-ivy-1.3.1 235 +SHA256 be061a03cd3f60a9617f865ac377cfe68ae57a58228561d040dc33c7d61cd6dc files/digest-ant-ivy-1.3.1 235 diff --git a/dev-java/ant-ivy/ant-ivy-1.3.1.ebuild b/dev-java/ant-ivy/ant-ivy-1.3.1.ebuild new file mode 100644 index 000000000000..7606bb420402 --- /dev/null +++ b/dev-java/ant-ivy/ant-ivy-1.3.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 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.3.1.ebuild,v 1.1 2006/08/21 17:50:39 nelchael Exp $ + +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, with powerful features such as transitive dependencies, ant integration, maven repository compatibility, continuous integration, html reports and many more." +HOMEPAGE="http://jayasoft.org/ivy" +SRC_URI="http://jayasoft.org/downloads/ivy/1.3.1/${MY_P}-src.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc source" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + app-arch/unzip + source? ( app-arch/zip ) + =dev-java/commons-cli-1* + =dev-java/commons-httpclient-3* + dev-java/commons-logging + =dev-java/jakarta-oro-2.0*" +RDEPEND=">=virtual/jre-1.4 + ${DEPEND}" + +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 + cd ${S}/lib + java-pkg_jar-from commons-cli-1,commons-httpclient-3,commons-logging,ant-core,jakarta-oro-2.0 + + cd ${S} + java-ant_bsfix_one build.xml +} + +src_compile() { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + + eant ${antflags} || die "Ant failed" +} + +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_dohtml -r build/doc/api + use source && java-pkg_dosrc src/java/* +} + +src_test() { + eant test || die "Junit tests failed" +} diff --git a/dev-java/ant-ivy/files/digest-ant-ivy-1.3.1 b/dev-java/ant-ivy/files/digest-ant-ivy-1.3.1 new file mode 100644 index 000000000000..cc8f6285af91 --- /dev/null +++ b/dev-java/ant-ivy/files/digest-ant-ivy-1.3.1 @@ -0,0 +1,3 @@ +MD5 370904397b30b0b46e2693effbde4c8e ivy-1.3.1-src.zip 1302693 +RMD160 9a344ee8ba78d34ec9ee2fc35e1a56b4096560ad ivy-1.3.1-src.zip 1302693 +SHA256 2a4653de892b739f8dfbf21403bfbf49c7febe9fb5a3d855cd9ad4bb29964fa0 ivy-1.3.1-src.zip 1302693 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..250f2d1940ea --- /dev/null +++ b/dev-java/ant-ivy/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |