summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2017-08-28 23:00:21 +0100
committerJames Le Cuirot <chewi@gentoo.org>2017-08-28 23:01:46 +0100
commit85af9e4f2ec1e3500fcf5236aba743b14a92ad6b (patch)
tree67bd4bec742b89c834b492302d7da2fa8c69a9cc /dev-java
parentdev-java/commons-logging: Remove old 1.2 (diff)
downloadgentoo-85af9e4f2ec1e3500fcf5236aba743b14a92ad6b.tar.gz
gentoo-85af9e4f2ec1e3500fcf5236aba743b14a92ad6b.tar.bz2
gentoo-85af9e4f2ec1e3500fcf5236aba743b14a92ad6b.zip
dev-java/avalon-logkit: Remove old 1.2.2-r2
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/avalon-logkit/Manifest1
-rw-r--r--dev-java/avalon-logkit/avalon-logkit-1.2.2-r2.ebuild96
2 files changed, 0 insertions, 97 deletions
diff --git a/dev-java/avalon-logkit/Manifest b/dev-java/avalon-logkit/Manifest
index 9ce57063aef3..93733ecf9697 100644
--- a/dev-java/avalon-logkit/Manifest
+++ b/dev-java/avalon-logkit/Manifest
@@ -1,2 +1 @@
DIST avalon-logkit-2.1-src.tar.gz 60218 SHA256 a5f158a52db9acd58648ffe75a023f43c5cbb94d027bb2beccf4983614d4e155 SHA512 9977a3a172ca4fb5c3ad1f623ff109214f71900d2e244f175cc5d140f5f9993caca7e5ca3220728f18a1d6242d11a48990f9ce0150c36b7a9bb10a7a6d5a905a WHIRLPOOL 8fdd0206c2b65c2a8626331ea07b8e5668ef9b2c841ce20ae85459bc8e128c4096c2091f05ad7e92b7c9c769ba0ad485738f7078ce5f205fa38e21d9a1ca1b47
-DIST logkit-1.2.2-src.tar.gz 113180 SHA256 2c81edc87571fbd05797da7f65515e089c62cbb735bdbd10f93e29bd3aa3ddb8 SHA512 a2a027e70a2432d07ef44d229edde57b1fe7a89ee9db2cd85c5609b180d704e28273f7ddbe55b7086260bc4be2c0ac56b1e23f405b785068678a50a8159a5333 WHIRLPOOL 2f5eebe87fd6dddce535360c44bb62e0ff90f2eead5a162dea748d7ee712faf2385b16ab0b719cd1537cada0436a9217f093e48de1a50767680d1230eff301f9
diff --git a/dev-java/avalon-logkit/avalon-logkit-1.2.2-r2.ebuild b/dev-java/avalon-logkit/avalon-logkit-1.2.2-r2.ebuild
deleted file mode 100644
index 10c58a12255f..000000000000
--- a/dev-java/avalon-logkit/avalon-logkit-1.2.2-r2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2
-
-DESCRIPTION="Easy-to-use Java logging toolkit"
-HOMEPAGE="http://avalon.apache.org/"
-SRC_URI="mirror://apache/avalon/logkit/source/logkit-${PV}-src.tar.gz"
-
-LICENSE="Apache-1.1"
-SLOT="1.2"
-
-KEYWORDS="amd64 ppc64 x86 ~x86-fbsd"
-
-CDEPEND="
- dev-java/log4j:0
- dev-java/avalon-framework:4.1
- java-virtuals/jms:0
- java-virtuals/javamail:0
- java-virtuals/servlet-api:2.5"
-
-RDEPEND="
- ${CDEPEND}
- >=virtual/jre-1.6"
-
-DEPEND="
- ${CDEPEND}
- >=virtual/jdk-1.6
- test? ( dev-java/junit:4 )"
-
-S="${WORKDIR}/logkit-${PV}-dev"
-SRC_DIR="${S}/src/java"
-JAVADOC_DIR="${S}/javadoc"
-
-java_prepare() {
- epatch "${FILESDIR}/${P}-java7.patch"
-}
-
-src_compile() {
- mkdir classes || die "Could not create compile output dir"
-
- ejavac \
- -encoding "ISO-8859-1" \
- -classpath $(java-pkg_getjars javamail,jms,log4j,servlet-api-2.5,avalon-framework-4.1) \
- -d classes $(find "${SRC_DIR}" -name "*.java") \
- || die "Compilation failed"
-
- jar -cf "${S}/${PN}.jar" -C classes . || die "Could not create jar"
-
- #Generate javadoc
- if use doc ; then
- mkdir "${JAVADOC_DIR}" || die "Could not create javadoc dir"
- cd "${SRC_DIR}"
- javadoc \
- -encoding "ISO-8859-1" \
- -sourcepath "${SRC_DIR}" \
- -classpath $(java-pkg_getjars javamail,jms,log4j,servlet-api-2.5,avalon-framework-4.1) \
- -source "${JAVA_VERSION}" \
- -d "${JAVADOC_DIR}" \
- $(find "org/apache/log" -type d | tr '/' '.') \
- || die "Could not create javadoc"
- fi
-}
-
-src_test() {
- mkdir test-classes || die "Unable to make dir"
- local TESTJAR="avalon-logkit-test.jar"
-
- ejavac \
- -encoding "ISO-8859-1" \
- -classpath "avalon-logkit.jar:$(java-config -p junit-4)" \
- -d test-classes \
- $(find src/test -name '*.java')
-
- jar -cf "${TESTJAR}" -C test-classes .
-
- java -cp "avalon-logkit.jar:${TESTJAR}:$(java-config -p junit:4)" \
- org.junit.runner.JUnitCore org.apache.log.format.test.FormatterTestCase \
- org.apache.log.output.test.RevolvingFileStrategyTestCase \
- org.apache.log.output.test.OutputTargetTestCase \
- org.apache.log.output.test.DBTargetTestCase \
- org.apache.log.util.test.UtilTestCase \
- org.apache.log.test.LoggerListenerTestCase \
- org.apache.log.test.WrappingTargetTestCase \
- org.apache.log.test.InheritanceTestCase
-}
-
-src_install() {
- java-pkg_dojar "${PN}.jar"
- use doc && java-pkg_dojavadoc "${JAVADOC_DIR}"
- use source && java-pkg_dosrc "${SRC_DIR}/*"
-}