commit:     3f14b3510b05d31c0c7a735c3a6c10dbe0f5eb4a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 22 23:23:21 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 23:24:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f14b351

dev-java/airline: Bump guava SLOT, don't build tests, doc/source flags

Package-Manager: portage-2.3.2

 .../{airline-0.7.ebuild => airline-0.7-r1.ebuild}  | 23 +++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/dev-java/airline/airline-0.7.ebuild 
b/dev-java/airline/airline-0.7-r1.ebuild
similarity index 71%
rename from dev-java/airline/airline-0.7.ebuild
rename to dev-java/airline/airline-0.7-r1.ebuild
index d9da2c4..867fd7e 100644
--- a/dev-java/airline/airline-0.7.ebuild
+++ b/dev-java/airline/airline-0.7-r1.ebuild
@@ -2,7 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
 
 inherit java-pkg-2 java-pkg-simple
 
@@ -14,13 +16,20 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DEPEND=">=virtual/jdk-1.7
-       dev-java/guava:18
+CP_DEPEND="dev-java/guava:20
        dev-java/javax-inject:0
-       dev-java/jsr305:0
-       dev-java/testng:0"
+       dev-java/jsr305:0"
+
+DEPEND=">=virtual/jdk-1.7
+       ${CP_DEPEND}"
 
 RDEPEND=">=virtual/jre-1.7
-       ${DEPEND}"
+       ${CP_DEPEND}"
+
+S="${WORKDIR}/${P}"
+JAVA_SRC_DIR="src/main/java"
 
-JAVA_GENTOO_CLASSPATH="guava-18,javax-inject,jsr305,testng"
+src_install() {
+       java-pkg-simple_src_install
+       dodoc README.md
+}

Reply via email to