dev-java/airline: Bump guava SLOT, don't build tests, doc/source flags
authorJames Le Cuirot <chewi@gentoo.org>
Tue, 22 Nov 2016 23:23:21 +0000 (23:23 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Tue, 22 Nov 2016 23:24:23 +0000 (23:24 +0000)
Package-Manager: portage-2.3.2

dev-java/airline/airline-0.7-r1.ebuild [moved from dev-java/airline/airline-0.7.ebuild with 71% similarity]

similarity index 71%
rename from dev-java/airline/airline-0.7.ebuild
rename to dev-java/airline/airline-0.7-r1.ebuild
index d9da2c47b6fcc4a28e244864c3d9458fdd5088b3..867fd7e3d05754f8aaa1723154ecdad32946690f 100644 (file)
@@ -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
+}