public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/mockito/
Date: Thu,  8 Sep 2022 08:26:31 +0000 (UTC)	[thread overview]
Message-ID: <1662625239.e626b9d025f9938809b7f1a0301840daf744922c.flow@gentoo> (raw)

commit:     e626b9d025f9938809b7f1a0301840daf744922c
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Aug 13 12:34:20 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Sep  8 08:20:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e626b9d0

dev-java/mockito: add 4.8.0

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/26847
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/mockito/Manifest             |  1 +
 dev-java/mockito/mockito-4.8.0.ebuild | 56 +++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest
index 262e68959c6f..4c502234db5f 100644
--- a/dev-java/mockito/Manifest
+++ b/dev-java/mockito/Manifest
@@ -1,2 +1,3 @@
 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

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
+}


             reply	other threads:[~2022-09-08  8:26 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08  8:26 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-16  7:49 [gentoo-commits] repo/gentoo:master commit in: dev-java/mockito/ Miroslav Šulc
2023-05-09  5:52 Arthur Zamarin
2023-05-07 13:40 Jakov Smolić
2023-05-07 11:45 Sam James
2023-04-07  8:09 Miroslav Šulc
2023-02-10 20:53 Sam James
2023-02-09 18:09 Arthur Zamarin
2023-02-09 18:09 Arthur Zamarin
2023-02-09 18:07 Sam James
2023-02-09 18:07 Sam James
2023-01-10 12:35 Florian Schmaus
2022-11-22  7:15 Miroslav Šulc
2022-11-21 21:48 Sam James
2022-11-21 21:48 Sam James
2022-11-21 17:43 Arthur Zamarin
2022-11-21 17:43 Arthur Zamarin
2022-11-10  8:06 Miroslav Šulc
2022-11-10  0:40 Sam James
2022-11-10  0:28 Sam James
2022-11-10  0:28 Sam James
2022-11-09 18:46 Arthur Zamarin
2022-10-22  6:50 Miroslav Šulc
2022-10-11  9:30 Miroslav Šulc
2022-10-10 10:05 Florian Schmaus
2022-10-09  7:33 Miroslav Šulc
2022-10-08 19:52 Sam James
2022-10-08 19:35 Arthur Zamarin
2022-10-08 12:26 Sam James
2022-10-08 12:26 Sam James
2022-08-23  4:41 Miroslav Šulc
2022-08-22  0:00 Sam James
2022-08-22  0:00 Sam James
2022-08-21 15:46 Arthur Zamarin
2022-08-21 15:46 Arthur Zamarin
2022-07-22 17:36 Florian Schmaus
2022-07-22 17:36 Florian Schmaus
2022-07-22 17:36 Florian Schmaus
2022-07-22 17:36 Florian Schmaus
2022-07-07 16:20 Arthur Zamarin
2022-07-07 14:29 Arthur Zamarin
2022-07-05 17:54 Sam James
2022-07-03 12:22 Jakov Smolić
2022-07-03 12:11 Jakov Smolić
2022-06-20  7:41 Florian Schmaus
2022-06-17 12:45 Arthur Zamarin
2022-06-16 15:15 Sam James
2022-06-16 15:15 Sam James
2022-06-03  8:54 Florian Schmaus
2022-04-10 15:16 Florian Schmaus
2021-11-25  4:14 Sam James
2021-06-18  6:34 Miroslav Šulc
2021-06-18  6:28 Agostino Sarubbo
2021-06-17  0:17 Sam James
2021-06-17  0:17 Sam James
2021-06-16  8:17 Miroslav Šulc
2021-06-11 10:04 Miroslav Šulc
2017-07-13 20:42 Alexis Ballier
2015-09-01 19:04 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1662625239.e626b9d025f9938809b7f1a0301840daf744922c.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox