summaryrefslogtreecommitdiff
path: root/dev-java/poi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-03 12:28:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-03 12:28:20 +0100
commit3f559ef486314f9b3b48d48eb303d6be68463af9 (patch)
tree3b70212f31ce4d000911c001ce13363d0909dfd1 /dev-java/poi
parent20b6ab983b55b022c6e4af317154089e18ad41cb (diff)
gentoo auto-resync : 03:09:2024 - 12:28:20
Diffstat (limited to 'dev-java/poi')
-rw-r--r--dev-java/poi/Manifest3
-rw-r--r--dev-java/poi/poi-5.2.5.ebuild60
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest
index 216cc3e963f2..5fa7aedd61de 100644
--- a/dev-java/poi/Manifest
+++ b/dev-java/poi/Manifest
@@ -1,3 +1,6 @@
DIST poi-src-5.2.3-20220909.tgz 117839114 BLAKE2B 8b62f212dbbb6c7c20900dad97eaee20d416129d1529f42d3f3d15c42dd737af389f3d46c0891f733ba6ce143fa30c73aa921a2f007e68ecbfcd2a61da27baec SHA512 15d1d9387a3003fa30dc77cb42721daefb07a0f8ef1a69873107fd2266d66ae5c0138f47f2867d49154bbde4f28939ac1aa1b49e367230408e67c05099addc1c
+DIST poi-src-5.2.5-20231118.tgz 120325373 BLAKE2B a998b874040ac2fb136b9ffa59d30cf5939434efe59d51fc2e79c63f6fd1f3ad1679b532840f0e1975aa0fe79368951ecf2ddc0259e3dfce9fc2c34d95cb7216 SHA512 d46e94cfadc3a843d8e06033a618098dde738830f20146c6e39abd8f467aa88987719363ee2b91ecf6812e604cdc72a5c0a799676e264a6f9d3799aa4639a6c9
+DIST poi-src-5.2.5-20231118.tgz.asc 488 BLAKE2B 634ed5e3bacd71213a96b9da147348deb3dd2837f6cf47f4d76c254442504815e41b1d9a3facfaa27c927f11f1ba552acf4dc94c4ffbfd11cc70eefd054a1523 SHA512 3588d60ad1c5e59540f19e345f2cfd6600a592fda313ab53bfd280599906e9d3c44aedae8fb72409ebae67c0285b257290bdca9128a632379db894143585dd1e
EBUILD poi-5.2.3.ebuild 1556 BLAKE2B 37fbff909c5dd7dddb27bcd15c68ebdb532f47ded30a074f8dd3a3aed1e9c210dfd3beeac35ed9323d71369e74e41630bd237f2d8de139808336d16b64ced8b3 SHA512 44e6d1c826a9b9decbd1f79668c7166f5e5f4e727bdb123810744e579964acf0d81531c2ca71a811c25cbc1083659c4404e4b704574389cc58a61a3a9f0a4e17
+EBUILD poi-5.2.5.ebuild 1644 BLAKE2B 4c94a3db0d700838da77b67572df54b0761935122fcd2ab581707bc922975e985a397e84a0d7905cca08df8d565103763e15cf1349dc9356eb9922b632599de6 SHA512 e261c124a17779a1aa5c1abc5ee7ed1ef491d5c227dc6aa59a03477d73910573c2e896e5516b70a962d97c29c0342f7cc417ec6c73f2490925e908fbc3b55921
MISC metadata.xml 429 BLAKE2B 5de897522625a2c4ff05fcbd8f1ffc1e58bf734febe26f28a23e9f1a3a93d3acb1d099d9cc50d329c14bf9c586e15b74bfe061ccab493ce1627161ebce46a845 SHA512 a8b3da8273c10239b9bde465b67dd818d74910bb9303462b68df5ee9487aaeefbfec324bd0492601c75adb4e9fa163bf99ca7ececf2684f4778a61041a98e75c
diff --git a/dev-java/poi/poi-5.2.5.ebuild b/dev-java/poi/poi-5.2.5.ebuild
new file mode 100644
index 000000000000..7320886dbe8a
--- /dev/null
+++ b/dev-java/poi/poi-5.2.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# No tests, #839681
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.apache.poi:poi-main:${PV}"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="Maven build of Apache POI for Sonar checks"
+HOMEPAGE="https://poi.apache.org/"
+RELEASE_DATE="20231118"
+SRC_URI="https://archive.apache.org/dist/poi/release/src/poi-src-${PV}-${RELEASE_DATE}.tgz
+ verify-sig? ( https://archive.apache.org/dist/poi/release/src/poi-src-${PV}-${RELEASE_DATE}.tgz.asc )"
+S="${WORKDIR}/poi-src-${PV}-${RELEASE_DATE}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/poi.apache.org.asc"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-poi )"
+DEPEND="
+ dev-java/commons-codec:0
+ dev-java/commons-collections:4
+ dev-java/commons-io:1
+ dev-java/commons-math:3
+ dev-java/log4j-api:2
+ >=dev-java/sparsebitset-1.3:0
+ >=virtual/jdk-11:*
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+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() {
+ java-pkg-2_src_prepare
+ 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
+ # log4j-api does not provide Automatic-Module
+ sed \
+ -e '/org.apache.logging.log4j/d' \
+ -i poi/src/main/java9/module-info.java || die
+}