diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/mockito/mockito-4.6.0-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/mockito/mockito-4.6.0-r1.ebuild b/dev-java/mockito/mockito-4.6.0-r1.ebuild new file mode 100644 index 000000000000..bd3679411683 --- /dev/null +++ b/dev-java/mockito/mockito-4.6.0-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Tests not enabled, wants junit-jupiter. +# "${S}/settings.gradle.kts" +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.mockito:mockito-core:4.6.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Mockito mock objects library core API and implementation" +HOMEPAGE="https://github.com/mockito/mockito" +SRC_URI="https://github.com/mockito/mockito/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +# Common dependencies +# POM: ${PN}-core-${PV}.pom +# net.bytebuddy:byte-buddy:1.12.8 -> >=dev-java/byte-buddy-1.12.8:0 +# net.bytebuddy:byte-buddy-agent:1.12.8 -> >=dev-java/byte-buddy-agent-1.12.8:0 + +CP_DEPEND=" + <=dev-java/byte-buddy-1.12.10:0 + <=dev-java/byte-buddy-agent-1.12.10:0 + dev-java/junit:4 + dev-java/objenesis:0 + dev-java/opentest4j:0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} +" + +# Runtime dependencies +# POM: ${PN}-core-${PV}.pom +# org.objenesis:objenesis:3.2 -> >=dev-java/objenesis-3.2:0 + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main/java" |