From: Patrice Clement Date: Mon, 5 Oct 2015 20:14:41 +0000 (+0000) Subject: dev-java/commons-compress: Clean up old. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5ced1fa814964a08283a62316c74d1edef4aefed;p=gentoo.git dev-java/commons-compress: Clean up old. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- diff --git a/dev-java/commons-compress/Manifest b/dev-java/commons-compress/Manifest index 99045263e539..3e5e50883991 100644 --- a/dev-java/commons-compress/Manifest +++ b/dev-java/commons-compress/Manifest @@ -1,2 +1 @@ -DIST commons-compress-1.4.1-src.tar.gz 3228776 SHA256 b4f34aa03df917b785479e147381eea86c5c17e9067ddf8c27301ff6cd0aa91c SHA512 e1d327f084a79924938698ae16fa6edaaa73072b083109bbd8ccaa636268c05c387e7c2117b5df8f6b91b143495add9cc7da17c1bd3c989f91c910a9d68f6bdb WHIRLPOOL 50565e7342fa363814ed2f347d1daa1ee59dd28cefcd9e494850edcf47899b8684312996dd60b90236a4f2aacce8a920ace37cca5d1d22ad9f63f6696c8e7452 DIST commons-compress-1.8.1-src.tar.gz 8476056 SHA256 aa1221643331d9de5c8155b032c7fde23fc8cf3d962155092de89c44d4978412 SHA512 4e4f9633cc3c470970a8da41344a819ff63430a46e219e93896dbe2374738349f78942cff93ad8d348599cfc2dd7d014ae4ff3b09d76a924bb11ca1c4a2c05ea WHIRLPOOL 2d7f3230f47186a72b4b31efd10c5dfd68488d263e26d97b6e715b2b2eab3e22ae3e5946d232ca014aa2a3d14f3abf87ce97bf2e70c7c06788c4093df4156aef diff --git a/dev-java/commons-compress/commons-compress-1.4.1.ebuild b/dev-java/commons-compress/commons-compress-1.4.1.ebuild deleted file mode 100644 index 12176cdfe021..000000000000 --- a/dev-java/commons-compress/commons-compress-1.4.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -JAVA_PKG_IUSE="doc source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Commons Compress defines an API for working with ar, cpio, tar, zip, gzip and bzip2 files" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -COMMON_DEPEND="dev-java/xz-java" - -RDEPEND=">=virtual/jre-1.5 - ${COMMON_DEPEND}" -DEPEND=">=virtual/jdk-1.5 - ${COMMON_DEPEND} - test? ( dev-java/junit:4 - dev-java/hamcrest-core - dev-java/ant-junit:0 )" - -S="${WORKDIR}/${P}-src" - -JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning" -EANT_GENTOO_CLASSPATH="xz-java" -EANT_BUILD_TARGET="compile package" -EANT_TEST_GENTOO_CLASSPATH="junit-4 hamcrest-core xz-java" - -java_prepare() { - cp "${FILESDIR}"/build.xml . || die "Failed to copy build.xml" - - # osgi stuff mvn ant:ant doesn't handle - mkdir -p target/osgi || die "Failed to create target dir" - cp "${FILESDIR}"/MANIFEST.MF target/osgi/ || die "Failed to copy manifest" - - if ! use test; then - find -name "*.jar" -delete || die "Failed to remove test resources" - fi -} - -src_test() { - EANT_TEST_TARGET="compile-tests test" - java-pkg-2_src_test -} - -src_install() { - java-pkg_newjar target/${PN}-1.1.jar - use doc && java-pkg_dojavadoc target/site/apidocs - use source && java-pkg_dosrc src/main/java/* -} diff --git a/dev-java/commons-compress/commons-compress-1.8.1.ebuild b/dev-java/commons-compress/commons-compress-1.8.1.ebuild deleted file mode 100644 index d52a6db08966..000000000000 --- a/dev-java/commons-compress/commons-compress-1.8.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -JAVA_PKG_IUSE="doc source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Commons Compress defines an API for working with ar, cpio, tar, zip, gzip and bzip2 files" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -COMMON_DEPEND="dev-java/xz-java" - -RDEPEND=">=virtual/jre-1.5 - ${COMMON_DEPEND}" -DEPEND=">=virtual/jdk-1.5 - ${COMMON_DEPEND} - test? ( dev-java/junit:4 - dev-java/hamcrest-core - dev-java/ant-junit:0 )" - -S="${WORKDIR}/${P}-src" - -JAVA_ANT_BSFIX_EXTRA_ARGS="--maven-cleaning" -EANT_GENTOO_CLASSPATH="xz-java" -EANT_BUILD_TARGET="compile package" -EANT_TEST_GENTOO_CLASSPATH="junit-4 hamcrest-core xz-java" - -java_prepare() { - cp "${FILESDIR}"/build.xml . || die "Failed to copy build.xml" - - # osgi stuff mvn ant:ant doesn't handle - mkdir -p target/osgi || die "Failed to create target dir" - cp "${FILESDIR}"/MANIFEST.MF target/osgi/ || die "Failed to copy manifest" - - if ! use test; then - find -name "*.jar" -delete || die "Failed to remove test resources" - fi -} - -src_test() { - EANT_TEST_TARGET="compile-tests test" - java-pkg-2_src_test -} - -src_install() { - java-pkg_newjar target/${PN}-1.1.jar - use doc && java-pkg_dojavadoc target/site/apidocs - use source && java-pkg_dosrc src/main/java/* -}