dev-java/guava: Revert all changes made so far and set up a hard dependency on Java 7. Fixes bug 560042.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Patrice Clement
2015-09-12 09:32:09 +00:00
parent bb1f90e09e
commit e25cca877c
2 changed files with 5 additions and 33 deletions

View File

@@ -1,27 +0,0 @@
# 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-pkg-simple
DESCRIPTION="A collection of Google's core Java libraries"
HOMEPAGE="https://code.google.com/p/guava-libraries/"
SRC_URI="http://search.maven.org/remotecontent?filepath=com/google/${PN}/${PN}/${PV}/${P}-sources.jar"
LICENSE="Apache-2.0"
SLOT="13"
KEYWORDS="~amd64 ~x86 ~ppc ~ppc64 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
CDEPEND="
dev-java/jsr305:0
java-virtuals/jdk-with-com-sun:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.6"
DEPEND="${CDEPEND}
app-arch/unzip
>=virtual/jdk-1.6"
JAVA_GENTOO_CLASSPATH="jsr305"

View File

@@ -15,13 +15,12 @@ LICENSE="Apache-2.0"
SLOT="13"
KEYWORDS="~amd64 ~x86 ~ppc ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
CDEPEND="
DEPEND="
dev-java/jsr305:0
java-virtuals/jdk-with-com-sun:0"
RDEPEND="${CDEPEND}
>=virtual/jre-1.7"
DEPEND="${CDEPEND}
RDEPEND="${DEPEND}
virtual/jre:1.7"
DEPEND="${DEPEND}
app-arch/unzip
>=virtual/jdk-1.7"
virtual/jdk:1.7" # https://github.com/google/guava/issues/1738
JAVA_GENTOO_CLASSPATH="jsr305"