1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc source"
8 inherit java-pkg-2 java-pkg-simple
10 DESCRIPTION="Contracts for Java"
11 HOMEPAGE="https://github.com/nhatminhle/cofoja"
12 SRC_URI="https://github.com/nhatminhle/${PN}/archive/v${PV}.zip -> ${P}.zip"
21 CDEPEND="dev-java/asm:4"
29 source? ( app-arch/zip )
34 JAVA_GENTOO_CLASSPATH="asm-4"
35 JAVA_SRC_DIR="src/com/google/java/contract"
37 # Relies on a bunch of classes in jsr308,
38 # spec we don't have packaged in Gentoo.. yet.
40 src/com/google/java/contract/core/apt/JavacUtils.java