summaryrefslogtreecommitdiff
path: root/dev-java/mockito
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-08 10:38:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-08 10:38:04 +0100
commitc02f0a2cafa1964dc62d8ef9312083b606a9b7c5 (patch)
treed45fcdd0335c79bdb4ce02ec5b5e6c681939881e /dev-java/mockito
parent8bba0fff0bc9709d45aeb68336998e11d118ab05 (diff)
gentoo auto-resync : 08:09:2022 - 10:38:04
Diffstat (limited to 'dev-java/mockito')
-rw-r--r--dev-java/mockito/Manifest2
-rw-r--r--dev-java/mockito/mockito-4.8.0.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest
index f64fce51b0f0..205ac6f577c4 100644
--- a/dev-java/mockito/Manifest
+++ b/dev-java/mockito/Manifest
@@ -1,5 +1,7 @@
DIST mockito-1.9.5.zip 6453870 BLAKE2B b577c4a82f03b5c345462ecc10e9fe25c03836d08d57d633d95a1eaba17f52d4306603f50f332df360d0a4880c85c65bad4503503df0acad8f7b437694a2b887 SHA512 93768992c74fbc2e2653b46b3afb526ab816b9c707cb5f9608564299ffd206e256182be146c590b4777a624379f576d7117ed7d43b11f8d2974e87c402eede51
DIST mockito-4.6.1.tar.gz 1031362 BLAKE2B 52768ead8770c701f5e5b698f9c35e8e189b57979d90b231b434aba57f6f1f167e5f1491eec53280ce29410add31ac41e81b3637257f58709162cc3c5307ed27 SHA512 f16454f3baba2e55a6da229d7719359357b2641cf4abaf3c0e5f5cac6999325ac4a9c08d815a02939c1ef62831745162935bb8d03177a27b0d972600a92fc1f7
+DIST mockito-4.8.0.tar.gz 1044264 BLAKE2B cbd8fa0db3b652ad882c6bb8c5f86116cf21772869814ddabe88532ff2522e399e8d7e9d68935b10844c0c496755834dee66c88dc7b2e0231757f7c79233c1fb SHA512 1f1ea9aac907d8ba42874eb6a6870cd5cb46b80a4a9f841c7eca8ff8f651e13baa92a4c3512d95d6596dd7da60e627a606c74e4b1dc56d11b06a14f44e3d53f3
EBUILD mockito-1.9.5-r2.ebuild 892 BLAKE2B 5efb72fdf28d793ad9cfd14ee41b58b4ef9d9bdd21b638657ea9ea77444443a68e51177a992b2f3f48e13c56ab68a3821368fd6eb287182d2f60ada628cf6ff0 SHA512 44e08dcbe481a4bcf964227cf2c741403aa799ef98065b7f8f490451d15daa286f01cc944546875cfbc92844427ad2ccb305e44ed5dfa06fa5f04e673146c8a1
EBUILD mockito-4.6.1-r1.ebuild 1188 BLAKE2B faf2ac72eb6eb5044c56a4def310778bcc652db2646245666c453dc4d4cd5709c5b97e843ad795238c9e6c925349529bb7aa8395cf4960e7d7f002f14f5f4fc2 SHA512 f996dec945f78f95d973dc720103d9292d971cd1ea181889ee4636f86e581d8e6263f8d6fe4fb6e319a137442f08f8d3bb8308740e0f531a3267d8e1b6999f38
+EBUILD mockito-4.8.0.ebuild 1266 BLAKE2B 6a974266696c625e3845ee5861f2b5d528aac1eaea917ba9a4ab5955f7fa643b4b4222bc967a5152319b2db601427fe0d9287aac8b15fcbca269009eadd21e36 SHA512 7f0afd4389df8aff0a068e83c8ec205f8ea0fa75aaeb991e87bc36bccce6d4cb3f89e93be36445b9946c09266fd1d20438aee74f50d1f31e06eb00d51589d60d
MISC metadata.xml 317 BLAKE2B 209b27a429c1fdeca71c1e215f8fc43bfc66c961b1a3ad3dfcda16d5ea1df51e54cea248f4f152966aa1f91059b91c21fb734c6995f8033150dbda5e1813d121 SHA512 1f7be64d432b4004d2bbf1ec2c6776ec8618875356ea0308b8409f322d48bf3440d692732406ddb3fa7a273c9754c4cc5a6f6cd9808348d0ba8beb7159887a5b
diff --git a/dev-java/mockito/mockito-4.8.0.ebuild b/dev-java/mockito/mockito-4.8.0.ebuild
new file mode 100644
index 000000000000..fd356a4881a4
--- /dev/null
+++ b/dev-java/mockito/mockito-4.8.0.ebuild
@@ -0,0 +1,56 @@
+# 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.8.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"
+
+CP_DEPEND="
+ dev-java/asm:9
+ >=dev-java/byte-buddy-1.12.13:0
+ dev-java/objenesis:0
+"
+
+DEPEND="
+ dev-java/junit:4
+ >=dev-java/opentest4j-1.2.0-r1:0
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+"
+
+S="${WORKDIR}/${P}"
+
+JAVA_CLASSPATH_EXTRA="
+ junit-4
+ opentest4j
+"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_AUTOMATIC_MODULE_NAME="org.mockito"
+
+src_prepare() {
+ default
+ # dev-java/byte-buddy is built from byte-buddy-dep without shaded stuff.
+ sed \
+ -e 's:net.bytebuddy.jar.asm:org.objectweb.asm:' \
+ -i src/main/java/org/mockito/internal/creation/bytebuddy/MockMethodAdvice.java \
+ -i src/main/java/org/mockito/internal/creation/bytebuddy/InlineBytecodeGenerator.java || die
+}