1 # Copyright 1999-2020 Gentoo Authors
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 MY_P="${PN}-parent-${PV}"
12 DESCRIPTION="A modern I/O API for Java"
13 HOMEPAGE="https://github.com/square/okio"
14 SRC_URI="https://github.com/square/${PN}/archive/${MY_P}.zip -> ${P}.zip"
17 KEYWORDS="~amd64 ~x86"
23 source? ( app-arch/zip )
27 DEPEND=">=virtual/jdk-1.7
30 RDEPEND=">=virtual/jre-1.7
33 S="${WORKDIR}/${PN}-${MY_P}"
35 JAVA_GENTOO_CLASSPATH="jmh-core,junit-4"
38 epatch "${FILESDIR}/okio-remove-maven-animal-jre.patch"