summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-22 14:04:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-22 14:04:34 +0100
commit1cbd767db9f242fadb7bb4c6ff53f000087df3f9 (patch)
tree6ca54be94593a0337f7babf62ca68b09a1796b8d /dev-java
parentf617b718d02df7453e1e7094d47081b152744686 (diff)
gentoo auto-resync : 22:10:2022 - 14:04:34
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin55526 -> 55530 bytes
-rw-r--r--dev-java/mockito/Manifest2
-rw-r--r--dev-java/mockito/mockito-4.8.1.ebuild56
-rw-r--r--dev-java/poi/Manifest2
-rw-r--r--dev-java/poi/poi-5.2.3.ebuild61
5 files changed, 121 insertions, 0 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index f8dcce8be0dd..57bf3ba44e9c 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/mockito/Manifest b/dev-java/mockito/Manifest
index b864583505da..edf4853f689d 100644
--- a/dev-java/mockito/Manifest
+++ b/dev-java/mockito/Manifest
@@ -1,7 +1,9 @@
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-4.8.1.tar.gz 1045454 BLAKE2B 82efc18afa8efae2495fdd5b0db58ddde8ea5cae9b7dfb554075924e343f5c0290a7f5d63b18c217b33a11c31a13ac40fcd28a752b0deae737c4bd75ea13c044 SHA512 dd2adc2211637daa86f5174e333744c5a1ff29dcccf9866a33933e2ba945d99781d5860c6059e6fa06a649d9a45417ab13066f8c8e896cb753b6e0869f0e2b03
DIST mockito-core-1.9.5-sources.jar 723074 BLAKE2B e553a923542a1a2574ee0cda5979d168cc3e9644dbbc9fceed2301ae1bac150c4e35dbc4432d50e2479efea2a6cd35ec19c62c3598f61709f1f5dc8959cc0155 SHA512 271e626c3b5be9a7d7c82a2f0bf44077aabd51924b0956a88633ace7fe8c134d8cd1f89ce348ce0d15ccce55a50027e303836d2d2f430500317b6136d308d3d4
EBUILD mockito-1.9.5-r2.ebuild 892 BLAKE2B 5efb72fdf28d793ad9cfd14ee41b58b4ef9d9bdd21b638657ea9ea77444443a68e51177a992b2f3f48e13c56ab68a3821368fd6eb287182d2f60ada628cf6ff0 SHA512 44e08dcbe481a4bcf964227cf2c741403aa799ef98065b7f8f490451d15daa286f01cc944546875cfbc92844427ad2ccb305e44ed5dfa06fa5f04e673146c8a1
EBUILD mockito-1.9.5-r3.ebuild 717 BLAKE2B 604bda2b8dd07260e2ad329f783998a36aad4b1f3c0ce52b28305f6402b7f9fdcac120b2e6224e3f34dd81a503851c68741a2b2416eeed16be340ccc9c991a0b SHA512 17c1adeddc1c0ec4b96f92040464be4ecc4834a0da82ed65124537648423ee2756a2bada388e25f5d41d1f5cc54f4faa83973116e7ccd661dfe064ddb6ef5226
EBUILD mockito-4.8.0.ebuild 1262 BLAKE2B 9098784d33a42e9a43693c75a845d02fd681df71c402f163e121ea70f9f7f30d1383a3eb70c1ec5ca5cc72bc2353659b7f47dab6148dc983513716321825da3f SHA512 3be5f8404cc604eeb1af0aba9d0c78f3d08d43f98f9ab73d3a7175fbe5f0ac7fa2f1aed08c62ae2055e2029a5ad611e031353fadd7c5afb204d794c353da9509
+EBUILD mockito-4.8.1.ebuild 1266 BLAKE2B 863f10a3958a92f41b88e8eb605082f30be2e00ec1faeb44c065afe38ed71ecbd184f2260186f0bb446ca3f24c56973e2da2ccd5e4c2804c7845115413674a0b SHA512 b4fe4f813bbf26fd31c846ad5e346b9639544b2829be1efd9be7450101f2e08aeb41f0c4fcccfb511868c717a5ddc6fd3c91df25e4b68894e81748f07bc8c064
MISC metadata.xml 317 BLAKE2B 209b27a429c1fdeca71c1e215f8fc43bfc66c961b1a3ad3dfcda16d5ea1df51e54cea248f4f152966aa1f91059b91c21fb734c6995f8033150dbda5e1813d121 SHA512 1f7be64d432b4004d2bbf1ec2c6776ec8618875356ea0308b8409f322d48bf3440d692732406ddb3fa7a273c9754c4cc5a6f6cd9808348d0ba8beb7159887a5b
diff --git a/dev-java/mockito/mockito-4.8.1.ebuild b/dev-java/mockito/mockito-4.8.1.ebuild
new file mode 100644
index 000000000000..24aa0f28cc67
--- /dev/null
+++ b/dev-java/mockito/mockito-4.8.1.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.1"
+
+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
+}
diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest
index 59dc5d6db8fc..99bee2b9d9bc 100644
--- a/dev-java/poi/Manifest
+++ b/dev-java/poi/Manifest
@@ -1,3 +1,5 @@
DIST poi-src-5.2.2-20220312.tgz 117042913 BLAKE2B ef2ab433158ac51fc163e9bfa65268d246a686c7892234cdd2332bef526c69b59dd0959bdabc6a486a99e20dfcc144ff6aff775a6412136112bb6a36f10968d3 SHA512 858d6c1af8a29a22aa24bef0422b3c8329141ff026131b8354a97c87acc31ef06c91f1b9cabeb71738b3687ddc8283f19b2ac42865b7e98e91cb0d5aa6b89b40
+DIST poi-src-5.2.3-20220909.tgz 117839114 BLAKE2B 8b62f212dbbb6c7c20900dad97eaee20d416129d1529f42d3f3d15c42dd737af389f3d46c0891f733ba6ce143fa30c73aa921a2f007e68ecbfcd2a61da27baec SHA512 15d1d9387a3003fa30dc77cb42721daefb07a0f8ef1a69873107fd2266d66ae5c0138f47f2867d49154bbde4f28939ac1aa1b49e367230408e67c05099addc1c
EBUILD poi-5.2.2.ebuild 1771 BLAKE2B 86316563c399935d856b4dde69f9c157769e21d830ef001e324a309eea6852aa67caa557d0d248c5c7c38be9a17f4587e69c6278af51d3a4d15ea8588be8f1b0 SHA512 e26b994b3a99b03926be315cffd47da711a4f844139e5b87fad3e84e57a8218ffb969d1607c0143ad30fc430abef838a1cff6c7a72c3eb19e9fb3c912afbbeb9
+EBUILD poi-5.2.3.ebuild 1560 BLAKE2B 1bf512df668bbb384f74e2ca9bf702037cf2464351d683e96a9d14af7f7d4217fa61ca514820c729f54421e9078b5ddf4a3fd22363836db0e63c7914c4986ea0 SHA512 89867ef524657214e96077993c6aec476bf639b0eaa634047a9df77e035baeae41fc3ec980d3d2d32fc7e5d64ce46ef828a78b973e60be9a3bcca58a1d68a16b
MISC metadata.xml 429 BLAKE2B 5de897522625a2c4ff05fcbd8f1ffc1e58bf734febe26f28a23e9f1a3a93d3acb1d099d9cc50d329c14bf9c586e15b74bfe061ccab493ce1627161ebce46a845 SHA512 a8b3da8273c10239b9bde465b67dd818d74910bb9303462b68df5ee9487aaeefbfec324bd0492601c75adb4e9fa163bf99ca7ececf2684f4778a61041a98e75c
diff --git a/dev-java/poi/poi-5.2.3.ebuild b/dev-java/poi/poi-5.2.3.ebuild
new file mode 100644
index 000000000000..4ac75b353fdd
--- /dev/null
+++ b/dev-java/poi/poi-5.2.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# tests depend on junit-jupiter which is not packaged
+# https://github.com/apache/poi/blob/REL_5_2_2/poi/build.gradle#L51-L56
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.apache.poi:poi-main:5.2.2"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Maven build of Apache POI for Sonar checks"
+HOMEPAGE="https://poi.apache.org/"
+RELEASE_DATE="20220909"
+SRC_URI="mirror://apache/poi/release/src/poi-src-${PV}-${RELEASE_DATE}.tgz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+ >=dev-java/commons-codec-1.15-r1:0
+ >=dev-java/commons-collections-4.4-r1:4
+ >=dev-java/commons-io-2.11.0-r1:1
+ >=dev-java/commons-math-3.6.1-r2:3
+ dev-java/log4j-api:2
+ dev-java/sparsebitset:0
+ >=virtual/jdk-11:*
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*"
+
+S="${WORKDIR}/poi-src-${PV}-${RELEASE_DATE}-${PV}"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.poi.poi"
+JAVA_CLASSPATH_EXTRA="
+ commons-codec
+ commons-collections-4
+ commons-io-1
+ commons-math-3
+ log4j-api-2
+ sparsebitset
+ "
+JAVA_RESOURCE_DIRS="poi/src/main/resources"
+JAVA_SRC_DIR=( poi/src/main/java{,9} )
+
+src_prepare() {
+ default
+ sed \
+ -e "s:@VERSION@:${PV}:g" \
+ -e "s:@DSTAMP@:${RELEASE_DATE}:g" \
+ poi/src/main/version/Version.java.template \
+ > poi/src/main/java/org/apache/poi/Version.java || die
+ # Neither log4j-api nor SparseBitSet provide Automatic-Module
+ sed \
+ -e '/SparseBitSet/d' \
+ -e '/org.apache.logging.log4j/d' \
+ -i poi/src/main/java9/module-info.java || die
+}