From 07149d583f446ab4f7285b0770460e6ee2fa27e1 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Sun, 30 Aug 2015 19:32:57 +0000 Subject: [PATCH] dev-java/commons-logging: Remove old. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- dev-java/commons-logging/Manifest | 1 - .../commons-logging-1.1.1.ebuild | 74 ------------------- 2 files changed, 75 deletions(-) delete mode 100644 dev-java/commons-logging/commons-logging-1.1.1.ebuild diff --git a/dev-java/commons-logging/Manifest b/dev-java/commons-logging/Manifest index 69ad80af84a42..7a11d853a3c27 100644 --- a/dev-java/commons-logging/Manifest +++ b/dev-java/commons-logging/Manifest @@ -1,2 +1 @@ -DIST commons-logging-1.1.1-src.tar.gz 190670 SHA256 b49a79fa78ebfae15dc46ae6f0144fee6b94ab608a25518c54609d3419909eb2 SHA512 ccba6cb8078807219dfe4a771c2e6f5569190b52ca00a605a0445b53697d9162c62237fc34ead2960146603b018769f406fe9e47b2eefe0d0fb6ad993c669974 WHIRLPOOL b28ad3dcad851ccbe7fffe9968426b67fb3b6a372de85aa6adb055db5f3eaf621d63f81b9bf74dd6d4958fd681b29272898fc6907b5681a431af0772f876ec16 DIST commons-logging-1.2-src.tar.gz 188536 SHA256 49665da5a60d033e6dff40fe0a7f9173e886ae859ce6096c1afe34c48b677c81 SHA512 9f3761184950f2f13e85d8bc447709ab8be631dfd231b4f053f8147468db1bf71fb116ddba95e39f4afc4cf28c742e07d40c7a637f28004a60dc13935f9609f9 WHIRLPOOL fe31832404d9071d73fba940021ab664998ffa9867a88c2078918547cc6a23a06339f33f5d74f8b6ea5aaeeb86cd94c0aef6c6195e454a651b8fc492a1a6b5f8 diff --git a/dev-java/commons-logging/commons-logging-1.1.1.ebuild b/dev-java/commons-logging/commons-logging-1.1.1.ebuild deleted file mode 100644 index d7ce033010517..0000000000000 --- a/dev-java/commons-logging/commons-logging-1.1.1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="1" -JAVA_PKG_IUSE="doc source test" - -inherit java-pkg-2 java-ant-2 java-osgi - -DESCRIPTION="The Jakarta-Commons Logging package is an ultra-thin bridge between different logging libraries" -HOMEPAGE="http://commons.apache.org/logging/" -SRC_URI="mirror://apache/commons/logging/source/${P}-src.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="avalon-logkit log4j servletapi avalon-framework" - -COMMON_DEP=" - avalon-logkit? ( dev-java/avalon-logkit:1.2 ) - log4j? ( dev-java/log4j:0 ) - servletapi? ( java-virtuals/servlet-api:2.3 ) - avalon-framework? ( dev-java/avalon-framework:4.2 )" -# ATTENTION: Add this when log4j-1.3 is out -# =dev-java/log4j-1.3* -RDEPEND=">=virtual/jre-1.4 - ${COMMON_DEP}" -DEPEND=">=virtual/jdk-1.4 - ${COMMON_DEP} - test? ( dev-java/ant-junit:0 )" - -S="${WORKDIR}/${P}-src/" - -RESTRICT="!servletapi? ( test )" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}/${P}-gentoo.patch" - # patch to make the build.xml respect no servletapi - # TODO file upstream -nichoj - epatch "${FILESDIR}/${P}-servletapi.patch" - - # bug 200918 - java-ant_ignore-system-classes - - # bug #208098 - echo "jdk.1.4.present=true" > build.properties - use log4j && echo "log4j12.jar=$(java-pkg_getjars log4j)" >> build.properties - # ATTENTION: Add this when log4j-1.3 is out (check the SLOT) - #echo "log4j13.jar=$(java-pkg_getjars log4j-1.3)" > build.properties - use avalon-logkit && echo "logkit.jar=$(java-pkg_getjars avalon-logkit-1.2)" >> build.properties - use servletapi && echo "servletapi.jar=$(java-pkg_getjar --virtual servlet-api-2.3 servlet.jar)" >> build.properties - use avalon-framework && echo "avalon-framework.jar=$(java-pkg_getjars avalon-framework-4.2)" >> build.properties - java-pkg_filter-compiler jikes ecj-3.2 - - if use test && ! use servletapi; then - eerror "Tests need use servletapi, tests not executed" - fi -} - -EANT_BUILD_TARGET="compile" - -src_install() { - java-osgi_newjar-fromfile "target/${P}-SNAPSHOT.jar" "${FILESDIR}/${P}-manifest" "Apache Commons Logging" - java-pkg_newjar target/${PN}-api-${PV}-SNAPSHOT.jar ${PN}-api.jar - java-pkg_newjar target/${PN}-adapters-${PV}-SNAPSHOT.jar ${PN}-adapters.jar - - dodoc RELEASE-NOTES.txt || die - dohtml PROPOSAL.html STATUS.html || die - use doc && java-pkg_dojavadoc target/docs/ - use source && java-pkg_dosrc src/java/org -}