public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/poi/
Date: Sat, 22 Oct 2022 09:31:42 +0000 (UTC)	[thread overview]
Message-ID: <1666431100.35c727aacf33bcea29b38ae01757eaadadd282fd.fordfrog@gentoo> (raw)

commit:     35c727aacf33bcea29b38ae01757eaadadd282fd
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Oct 22 08:13:41 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Oct 22 09:31:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c727aa

dev-java/poi: add 5.2.3

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/27891
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/poi/Manifest         |  1 +
 dev-java/poi/poi-5.2.3.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-java/poi/Manifest b/dev-java/poi/Manifest
index 446c7ed3e502..8554a4c8a5fc 100644
--- a/dev-java/poi/Manifest
+++ b/dev-java/poi/Manifest
@@ -1 +1,2 @@
 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

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


             reply	other threads:[~2022-10-22  9:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-22  9:31 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-10  8:47 [gentoo-commits] repo/gentoo:master commit in: dev-java/poi/ Miroslav Šulc
2024-10-09  7:15 Arthur Zamarin
2024-10-01 23:32 Sam James
2024-10-01 23:32 Sam James
2024-10-01 23:32 Sam James
2024-09-03  8:20 Miroslav Šulc
2022-11-22  7:15 Miroslav Šulc
2022-11-22  1:08 Sam James
2022-11-21 21:48 Sam James
2022-11-21 17:43 Arthur Zamarin
2022-11-21 17:43 Arthur Zamarin
2022-08-23 18:53 Arthur Zamarin
2022-08-23 18:26 Sam James
2022-08-23 18:26 Sam James
2022-08-23 16:32 Arthur Zamarin
2022-07-30 11:28 Arthur Zamarin
2022-07-24 17:00 Florian Schmaus
2022-07-10 19:08 Arthur Zamarin
2021-05-17  3:02 Sam James
2021-05-16 18:58 Sam James
2021-05-06  7:22 Sergei Trofimovich
2021-04-25  5:19 Sam James
2021-04-20 13:28 Miroslav Šulc
2021-04-20 13:28 Miroslav Šulc

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=1666431100.35c727aacf33bcea29b38ae01757eaadadd282fd.fordfrog@gentoo \
    --to=fordfrog@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