diff options
author | 2015-10-11 21:24:51 +0200 | |
---|---|---|
committer | 2015-10-11 21:24:51 +0200 | |
commit | 89ca7e95c86e5c2c8eedb55a88f3064675ecedb5 (patch) | |
tree | 97f7a8d5f7d4ad8b082288346d5af73aee96de4b | |
parent | dev-java/w3c-dom-*: Call rm without -f (diff) | |
parent | fixed repoman warnings (diff) | |
download | eclipse-89ca7e95c86e5c2c8eedb55a88f3064675ecedb5.tar.gz eclipse-89ca7e95c86e5c2c8eedb55a88f3064675ecedb5.tar.bz2 eclipse-89ca7e95c86e5c2c8eedb55a88f3064675ecedb5.zip |
Merge pull request #4 from timeraider4u/master
Add log4j-1.2.15 and commons-io-2.2, make repoman happy
-rw-r--r-- | dev-java/commons-io/Manifest | 1 | ||||
-rw-r--r-- | dev-java/commons-io/commons-io-2.2.ebuild | 57 | ||||
-rw-r--r-- | dev-java/commons-io/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/log4j/Manifest | 1 | ||||
-rw-r--r-- | dev-java/log4j/log4j-1.2.15-r2.ebuild | 53 | ||||
-rw-r--r-- | dev-java/log4j/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/w3c-dom-events/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/w3c-dom-events/w3c-dom-events-3.0.0.ebuild | 2 | ||||
-rw-r--r-- | dev-java/w3c-dom-smil/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/w3c-dom-smil/w3c-dom-smil-1.0.1.ebuild | 2 | ||||
-rw-r--r-- | dev-java/w3c-dom-svg/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/w3c-dom-svg/w3c-dom-svg-1.1.0.ebuild | 2 | ||||
-rw-r--r-- | dev-java/xz-java/metadata.xml | 8 |
13 files changed, 163 insertions, 3 deletions
diff --git a/dev-java/commons-io/Manifest b/dev-java/commons-io/Manifest new file mode 100644 index 0000000..fca086a --- /dev/null +++ b/dev-java/commons-io/Manifest @@ -0,0 +1 @@ +DIST commons-io-2.2-src.tar.gz 320596 SHA256 5d25e8a52739cfdaa0373dc3b1d34b1df94cdcced54a97a82ccbab8512c68bb8 SHA512 e536752bf906b880295e781969744635a418aa0d3efac8c90bc5757586eb3f7842c5cfc5bd2925d3c9b4246c35032ba5d43aec163579177bf5b7877b93f74462 WHIRLPOOL 50a8dd5ff951e79d4170cbde73592d758933e35b7233652390ea0e41ad69c8a0be6e0362bb512a216e376b18f0c3a66df3281318cef7f60e00e2800c8ee82379 diff --git a/dev-java/commons-io/commons-io-2.2.ebuild b/dev-java/commons-io/commons-io-2.2.ebuild new file mode 100644 index 0000000..e48e857 --- /dev/null +++ b/dev-java/commons-io/commons-io-2.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 eutils + +MY_P=${P}-src +DESCRIPTION="Commons-IO contains utility classes, stream implementations, file filters, and endian classes" +HOMEPAGE="http://commons.apache.org/io/" +SRC_URI="http://archive.apache.org/dist/commons/io/source/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/ant-junit:0 + dev-java/junit:4 + )" + +S=${WORKDIR}/${MY_P} + +EANT_EXTRA_ARGS="-Dcomponent.version=${PV}" +JAVA_ANT_REWRITE_CLASSPATH="yes" + +java_prepare() { + # Setting java.io.tmpdir doesn't have effect unless we do this because the vm is forked + java-ant_xml-rewrite -f build.xml --change -e junit -a clonevm -v "true" +} + +src_test() { + if [[ ${EUID} -ne 0 ]] ; then + ANT_OPTS="-Dskip.download=1 -Djava.io.tmpdir=${T} -Duser.home=${T}" \ + ANT_TASKS="ant-junit" \ + eant test \ + -Dgentoo.classpath="$(java-pkg_getjars junit-4):${S}/src/test/resources" \ + -Dlibdir="libdir" \ + -Djava.io.tmpdir="${T}" + else + elog "Tests fail unless userpriv is enabled because they test for" + elog "file permissions which doesn't work when run as root." + fi +} + +src_install() { + java-pkg_newjar target/${P}.jar + + dodoc RELEASE-NOTES.txt + use doc && java-pkg_dojavadoc target/apidocs + use source && java-pkg_dosrc src/main/java/* +} diff --git a/dev-java/commons-io/metadata.xml b/dev-java/commons-io/metadata.xml new file mode 100644 index 0000000..c517ec5 --- /dev/null +++ b/dev-java/commons-io/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>harald.weiner@jku.at</email> + <name>Harald Weiner</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/log4j/Manifest b/dev-java/log4j/Manifest new file mode 100644 index 0000000..401bdac --- /dev/null +++ b/dev-java/log4j/Manifest @@ -0,0 +1 @@ +DIST apache-log4j-1.2.15.tar.gz 2099264 SHA256 f5d9f6aa78b9156ae2de2a32d0f26507d2e73db4993d501db2e79f0bd803ab31 SHA512 b9b89d975c96635dcc1f39633cb062c34e2bdd73c97705f97b38314cc536f1e17ed36cf31142d636d46578805a92c38339c98a4c55bde22fa6464132e8d1297c WHIRLPOOL 74f7aae70ccbd5fe81eeeb692c2466b7ce9b950f9adf26cd55241614db4d3b1c76d746a2d49d38dece397124b0fb9c4e491fd4bc5a5551470c68f33cf73cfea2 diff --git a/dev-java/log4j/log4j-1.2.15-r2.ebuild b/dev-java/log4j/log4j-1.2.15-r2.ebuild new file mode 100644 index 0000000..6813b32 --- /dev/null +++ b/dev-java/log4j/log4j-1.2.15-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_P="apache-${P}" +DESCRIPTION="A low-overhead robust logging package for Java" +SRC_URI="https://archive.apache.org/dist/logging/${PN}/${PV}/${MY_P}.tar.gz" +HOMEPAGE="http://logging.apache.org/log4j/" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +CDEPEND="" + +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.4 + ${CDEPEND}" + +S="${WORKDIR}/${MY_P}" + +java_prepare() { + rm -rf dist/ + java-pkg_filter-compiler jikes + rm -v *.jar || die +} + +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_ANT_IGNORE_SYSTEM_CLASSES="true" +EANT_EXTRA_ARGS="-Djaxp-present=true" +EANT_DOC_TARGET="" + +src_compile() { + java-pkg-2_src_compile +} + +src_install() { + java-pkg_newjar dist/lib/${P}.jar ${PN}.jar + + if use doc ; then + java-pkg_dohtml -r site/* + rm -fr "${D}/usr/share/doc/${PF}/html/apidocs" + java-pkg_dojavadoc --symlink apidocs site/apidocs + fi + use source && java-pkg_dosrc src/main/java/* +} diff --git a/dev-java/log4j/metadata.xml b/dev-java/log4j/metadata.xml new file mode 100644 index 0000000..c517ec5 --- /dev/null +++ b/dev-java/log4j/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>harald.weiner@jku.at</email> + <name>Harald Weiner</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/w3c-dom-events/metadata.xml b/dev-java/w3c-dom-events/metadata.xml new file mode 100644 index 0000000..c517ec5 --- /dev/null +++ b/dev-java/w3c-dom-events/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>harald.weiner@jku.at</email> + <name>Harald Weiner</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/w3c-dom-events/w3c-dom-events-3.0.0.ebuild b/dev-java/w3c-dom-events/w3c-dom-events-3.0.0.ebuild index d4083e5..0f6280e 100644 --- a/dev-java/w3c-dom-events/w3c-dom-events-3.0.0.ebuild +++ b/dev-java/w3c-dom-events/w3c-dom-events-3.0.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Id$ EAPI="5" JAVA_PKG_IUSE="source" diff --git a/dev-java/w3c-dom-smil/metadata.xml b/dev-java/w3c-dom-smil/metadata.xml new file mode 100644 index 0000000..c517ec5 --- /dev/null +++ b/dev-java/w3c-dom-smil/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>harald.weiner@jku.at</email> + <name>Harald Weiner</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/w3c-dom-smil/w3c-dom-smil-1.0.1.ebuild b/dev-java/w3c-dom-smil/w3c-dom-smil-1.0.1.ebuild index f0a427c..b539047 100644 --- a/dev-java/w3c-dom-smil/w3c-dom-smil-1.0.1.ebuild +++ b/dev-java/w3c-dom-smil/w3c-dom-smil-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Id$ EAPI="5" JAVA_PKG_IUSE="source" diff --git a/dev-java/w3c-dom-svg/metadata.xml b/dev-java/w3c-dom-svg/metadata.xml new file mode 100644 index 0000000..c517ec5 --- /dev/null +++ b/dev-java/w3c-dom-svg/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>harald.weiner@jku.at</email> + <name>Harald Weiner</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/w3c-dom-svg/w3c-dom-svg-1.1.0.ebuild b/dev-java/w3c-dom-svg/w3c-dom-svg-1.1.0.ebuild index 2f8c03e..9dd8e25 100644 --- a/dev-java/w3c-dom-svg/w3c-dom-svg-1.1.0.ebuild +++ b/dev-java/w3c-dom-svg/w3c-dom-svg-1.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ +# $Id$ EAPI="5" JAVA_PKG_IUSE="source" diff --git a/dev-java/xz-java/metadata.xml b/dev-java/xz-java/metadata.xml new file mode 100644 index 0000000..c517ec5 --- /dev/null +++ b/dev-java/xz-java/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>harald.weiner@jku.at</email> + <name>Harald Weiner</name> + </maintainer> +</pkgmetadata> |