summaryrefslogtreecommitdiff
path: root/dev-java/mockito
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-16 13:07:24 +0100
commit0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch)
tree464c922e949c7e4d5d891fb2cdda5daee5612537 /dev-java/mockito
parente68d405c5d712af4387159df07e226217bdda049 (diff)
gentoo resync : 16.04.2022
Diffstat (limited to 'dev-java/mockito')
-rw-r--r--dev-java/mockito/Manifest2
-rw-r--r--dev-java/mockito/mockito-4.4.0.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest
index 6f1da2317dde..4e1ed65cee79 100644
--- a/dev-java/mockito/Manifest
+++ b/dev-java/mockito/Manifest
@@ -1,3 +1,5 @@
DIST mockito-1.9.5.zip 6453870 BLAKE2B b577c4a82f03b5c345462ecc10e9fe25c03836d08d57d633d95a1eaba17f52d4306603f50f332df360d0a4880c85c65bad4503503df0acad8f7b437694a2b887 SHA512 93768992c74fbc2e2653b46b3afb526ab816b9c707cb5f9608564299ffd206e256182be146c590b4777a624379f576d7117ed7d43b11f8d2974e87c402eede51
+DIST mockito-4.4.0.tar.gz 1030274 BLAKE2B 41b64456b8bf083f69889fdf7fb891a0bb790af8eb897fd0ba5ceca47050944fec102c33badcf6a68621a9fadc33439405b9ca307794f865637c3143c474ba3d SHA512 f0f4c3f585aad63a357d8b8f924124961e7fffdf95607945ae073ab32a05be6ff08794d3edfc60dea21b65ef7c827a4872315c2372d6a9aa822cf8700a08025f
EBUILD mockito-1.9.5-r2.ebuild 892 BLAKE2B 5efb72fdf28d793ad9cfd14ee41b58b4ef9d9bdd21b638657ea9ea77444443a68e51177a992b2f3f48e13c56ab68a3821368fd6eb287182d2f60ada628cf6ff0 SHA512 44e08dcbe481a4bcf964227cf2c741403aa799ef98065b7f8f490451d15daa286f01cc944546875cfbc92844427ad2ccb305e44ed5dfa06fa5f04e673146c8a1
+EBUILD mockito-4.4.0.ebuild 1238 BLAKE2B 1e7ec3663d07e3eaa70b452a8f91fe19dc3a357e7d2203fd0464d6773d4b4b0b577f0494af57af86c2c767c5edb8c633e2a65c3b54be54cd6577c331e4560732 SHA512 f9054dce19d3ba277c00c937296df0e454b96cfb92c22e4771811ed4e80ee12c60db38f1a6cc7b75b7a3153f30a460d2cd848ff7caa535c1869db733ecfeb407
MISC metadata.xml 369 BLAKE2B 020d7c2b9c3074a24bb20151033dcf3deec8c5b27b9aa42da5d1aec9e25a8e405ff13d79fe3491110f22dba9ab7840305a65f523ac35a6882f5c6b9b18cbce13 SHA512 699c652ccd5437fa7449fc8433d3760a9b515db6bdc692ca88166757abbe8330cda485cd8c545cd95c844507400bfc7a1576310275609cf0100bd245ff8a8ca8
diff --git a/dev-java/mockito/mockito-4.4.0.ebuild b/dev-java/mockito/mockito-4.4.0.ebuild
new file mode 100644
index 000000000000..f8a554b3ba6b
--- /dev/null
+++ b/dev-java/mockito/mockito-4.4.0.ebuild
@@ -0,0 +1,55 @@
+# 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.4.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://codeload.github.com/mockito/mockito/tar.gz/v${PV} -> ${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:0
+ dev-java/byte-buddy-agent: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"
+
+src_install() {
+ java-pkg-simple_src_install
+ einstalldocs # https://bugs.gentoo.org/789582
+}