diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/ant-ivy | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/ant-ivy')
-rw-r--r-- | dev-java/ant-ivy/Manifest | 4 | ||||
-rw-r--r-- | dev-java/ant-ivy/ant-ivy-1.3.1-r1.ebuild | 65 | ||||
-rw-r--r-- | dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild | 79 | ||||
-rw-r--r-- | dev-java/ant-ivy/ant-ivy-2.0.0.ebuild | 86 | ||||
-rw-r--r-- | dev-java/ant-ivy/ant-ivy-2.3.0.ebuild | 87 | ||||
-rw-r--r-- | dev-java/ant-ivy/files/1.4.1-javadoc.patch | 14 | ||||
-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 | 14 |
9 files changed, 381 insertions, 0 deletions
diff --git a/dev-java/ant-ivy/Manifest b/dev-java/ant-ivy/Manifest new file mode 100644 index 000000000000..05a8defd68cb --- /dev/null +++ b/dev-java/ant-ivy/Manifest @@ -0,0 +1,4 @@ +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 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..dcb06c406c51 --- /dev/null +++ b/dev-java/ant-ivy/ant-ivy-1.3.1-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~ppc ~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..dcdf04ebc139 --- /dev/null +++ b/dev-java/ant-ivy/ant-ivy-1.4.1-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~ppc ~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..9b482b8a76a7 --- /dev/null +++ b/dev-java/ant-ivy/ant-ivy-2.0.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ppc 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.ebuild b/dev-java/ant-ivy/ant-ivy-2.3.0.ebuild new file mode 100644 index 000000000000..643bdd6a798f --- /dev/null +++ b/dev-java/ant-ivy/ant-ivy-2.3.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~ppc ~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" + +# There may be additional optional dependencies (commons-logging, commons-lang...) +COMMON_DEP=" + dev-java/ant-core:0 + dev-java/bcpg:0 + dev-java/bcpkix:0 + dev-java/bcprov: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}" + +java_prepare() { + 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 +} + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="ant-core,bcpg,bcpkix,bcprov,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/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..e97bb1c449fb --- /dev/null +++ b/dev-java/ant-ivy/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <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> |