diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-09-13 09:30:31 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-10-10 12:05:14 +0200 |
commit | 0e57ea5ff3af3996ef07d5300cba69ddef8b416b (patch) | |
tree | a159e41f9700a08849ae5593acc195727f162462 /dev-java | |
parent | app-mobilephone/scrcpy: drop 1.22, 1.23 (diff) | |
download | gentoo-0e57ea5ff3af3996ef07d5300cba69ddef8b416b.tar.gz gentoo-0e57ea5ff3af3996ef07d5300cba69ddef8b416b.tar.bz2 gentoo-0e57ea5ff3af3996ef07d5300cba69ddef8b416b.zip |
dev-java/mockito: fix SRC_URI (slot 0), allow higher Java versions
* downloads from repo1.maven.org/maven2/org/mockito/mockito-core
(sources from Github have compile errors)
* removes restriction to jdk:1.8
* updates EAPI 7 -> 8
Closes: https://bugs.gentoo.org/869920
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27233
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/mockito/Manifest | 1 | ||||
-rw-r--r-- | dev-java/mockito/mockito-1.9.5-r3.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest index ba934fec78a0..197b8087d98e 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.8.0.tar.gz 1044264 BLAKE2B cbd8fa0db3b652ad882c6bb8c5f86116cf21772869814ddabe88532ff2522e399e8d7e9d68935b10844c0c496755834dee66c88dc7b2e0231757f7c79233c1fb SHA512 1f1ea9aac907d8ba42874eb6a6870cd5cb46b80a4a9f841c7eca8ff8f651e13baa92a4c3512d95d6596dd7da60e627a606c74e4b1dc56d11b06a14f44e3d53f3 +DIST mockito-core-1.9.5-sources.jar 723074 BLAKE2B e553a923542a1a2574ee0cda5979d168cc3e9644dbbc9fceed2301ae1bac150c4e35dbc4432d50e2479efea2a6cd35ec19c62c3598f61709f1f5dc8959cc0155 SHA512 271e626c3b5be9a7d7c82a2f0bf44077aabd51924b0956a88633ace7fe8c134d8cd1f89ce348ce0d15ccce55a50027e303836d2d2f430500317b6136d308d3d4 diff --git a/dev-java/mockito/mockito-1.9.5-r3.ebuild b/dev-java/mockito/mockito-1.9.5-r3.ebuild new file mode 100644 index 000000000000..14eb55169855 --- /dev/null +++ b/dev-java/mockito/mockito-1.9.5-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.mockito:mockito-core:1.9.5" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A mocking framework for Java" +HOMEPAGE="https://github.com/mockito/mockito" +SRC_URI="https://repo1.maven.org/maven2/org/mockito/mockito-core/${PV}/mockito-core-${PV}-sources.jar" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/ant-core:0 + dev-java/hamcrest-core:0 + dev-java/junit:4 + dev-java/objenesis:0 +" +DEPEND=">=virtual/jdk-1.8:* + ${CP_DEPEND}" +RDEPEND=">=virtual/jre-1.8:* + ${CP_DEPEND}" +BDEPEND="app-arch/unzip" |