dev-java/ehcache: Clean up SLOT:0 ebuilds as they're not used in the tree and rely on dev-java/conccurent-util. Fixes bug 544038.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Patrice Clement
2015-10-18 16:31:32 +00:00
parent e2f2848d96
commit b2718974e8
3 changed files with 0 additions and 93 deletions

View File

@@ -1,2 +1 @@
DIST ehcache-1.1.tgz 228733 SHA256 b1709cdb27a7dee9c3f6beb8967a2f64549d9cc32af7867f8fa43b0d5b4bf226 SHA512 15d37d4a2579fe1b720b87954a135307af34c42c6a925b13cca0f8d861e92c3802696480e3a8c3e478e905f0a231b0d93c135ff75fb934e7a968ba790713d9d5 WHIRLPOOL c32e92bae557e20cab01421104da3cba7f02654c8f262403fcd1f93598afb62570a14aadc3989a07a6de68ba8a34ad8dc04402b3a6a4f62f6fddc291e7aed34a
DIST ehcache-1.2.4.tgz 1330344 SHA256 47b5dad87d8c75773e66aef471b1b464118956f8ce3bf9ca0e0292f020a20a64 SHA512 a8d3e7c47eeeab568fbe2f4b923db96cf0f93d8ae0f727aa107b0ce5c5abd035a3967ea58617ff10e9c81109dcb8d904cbad86ec2c77d9be159e1a0a2c44d4ed WHIRLPOOL ed7913a200c45119f565912118b1b7c9e9e6ffc29fe8e227c7eca3d66f2333636d214af6e39ba9cf41c6eb0cf4568e26e1b511c06b66b3abdde8a6cba814178e

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit java-pkg-2 java-ant-2
DESCRIPTION="Ehcache is a pure Java, fully-featured, in-process cache"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
HOMEPAGE="http://ehcache.sourceforge.net"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="doc"
COMMON_DEPEND="
dev-java/commons-collections
dev-java/concurrent-util
dev-java/commons-logging"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEPEND}"
DEPEND=">=virtual/jdk-1.4
${COMMON_DEPEND}
>=dev-java/ant-core-1.5"
src_unpack() {
unpack ${A}
cd "${S}"
unzip ${P}-src.zip || die
rm *.jar
rm -rf src/net/sf/ehcache/hibernate
}
src_compile() {
mkdir "${S}"/classes
cd "${S}"/src
ejavac -d "${S}"/classes \
-classpath $(java-pkg_getjars commons-logging,commons-collections) \
$(find . -name "*.java")
cd "${S}"/classes
jar cf "${S}"/${P}.jar * || die
}
src_install() {
java-pkg_newjar "${S}"/${P}.jar ${PN}.jar
dodoc *.txt ehcache.xml ehcache.xsd
if use doc ; then
unzip ${P}-javadoc.zip || die
java-pkg_dohtml -r docs
fi
}

View File

@@ -1,39 +0,0 @@
# Copyright 1999-2014 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-pkg-simple
DESCRIPTION="Ehcache is a pure Java, fully-featured, in-process cache"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
HOMEPAGE="http://ehcache.sourceforge.net"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
COMMON_DEPEND="
dev-java/commons-collections:0
dev-java/concurrent-util:0
dev-java/commons-logging:0"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEPEND}"
DEPEND=">=virtual/jdk-1.4
app-arch/zip
${COMMON_DEPEND}
>=dev-java/ant-core-1.5"
S="${WORKDIR}/${P}"
JAVA_GENTOO_CLASSPATH="commons-collections,concurrent-util,commons-logging"
java_prepare() {
unzip ${P}-src.zip || die
rm *.jar || die
rm -rf src/net/sf/ehcache/hibernate || die
}