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/commons-codec/
Date: Wed, 25 Sep 2024 07:06:18 +0000 (UTC)	[thread overview]
Message-ID: <1727247975.358cad06bf40859e562e09818fb32375da49b93e.fordfrog@gentoo> (raw)

commit:     358cad06bf40859e562e09818fb32375da49b93e
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Sep 24 09:49:30 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Sep 25 07:06:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=358cad06

dev-java/commons-codec: add 1.17.1

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

 dev-java/commons-codec/Manifest                    |  2 +
 dev-java/commons-codec/commons-codec-1.17.1.ebuild | 58 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-java/commons-codec/Manifest b/dev-java/commons-codec/Manifest
index 6493f8c68cff..3b39fd494027 100644
--- a/dev-java/commons-codec/Manifest
+++ b/dev-java/commons-codec/Manifest
@@ -1,2 +1,4 @@
 DIST commons-codec-1.16.1-src.tar.gz 450009 BLAKE2B da06c823fae5e106c27b10274fb159e3de62827fe1bb1ace8d65377da26d012534636a8ac58a558b653ba3a7e868bb2f7d94b2ea820b5ddc6400fd4d288c6ba9 SHA512 8e2d40ae625c04e61b0dd7473dea0b32fdd13a6d3aad47b8b052952ca46f57d3df4917133f523ea147305a1c7ed9267cce7c4fa34d901496e36e9d5de9856e61
 DIST commons-codec-1.16.1-src.tar.gz.asc 488 BLAKE2B d3f193b602339714728875189ae90a49f70f9efb70076e73bdc460ccca99aea832a7cf0b18ecd212b016787f8cc96a1e30f9cb0af7b83f05db2dfba00d71c144 SHA512 a0716601374f17add25698eb5abd111c560c258f4ab18278b6bd857b2bf32916b5e4e590ce8c39a0bdef3b83e16e9330ce84268dec810db7dfab1679cace85af
+DIST commons-codec-1.17.1-src.tar.gz 456746 BLAKE2B 9bf33c183d4344bdccdffa1c573f9b2cfe34db227cbcffa66a7baed85778a516339a736ddade637859989055e2ab86abb5464ab9bc57782e3c972cc8ed2c4dbd SHA512 c98456664396d4d9cb794c185a479e6bb4a5055ed1f526a8e358fe3a59409c057dbb16f59c251bb52976995dbca14d8f15857074c9d19fbc7bdfed625a13abf0
+DIST commons-codec-1.17.1-src.tar.gz.asc 488 BLAKE2B 63bd00bcf69ab41e58e1eb2b2e56749211aa044e769a16fe2eea6acdeeac85d59c7465597aaec671b6efe22c68b05cd64c2e7a4bd2dc2f7f2b235dd27a125153 SHA512 6e9475773162193ce005635a5af926e0c7bfbaaca4c801a66bdabe73de0a2d17ec489a77d904d7d69e5749bc2af07d5b0b97d5aef2a319c614a3f1db632d424c

diff --git a/dev-java/commons-codec/commons-codec-1.17.1.ebuild b/dev-java/commons-codec/commons-codec-1.17.1.ebuild
new file mode 100644
index 000000000000..fe0b70801518
--- /dev/null
+++ b/dev-java/commons-codec/commons-codec-1.17.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="commons-codec:commons-codec:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="Implementations of common encoders and decoders in Java"
+HOMEPAGE="https://commons.apache.org/proper/commons-codec/"
+SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz
+	verify-sig? ( https://downloads.apache.org/commons/codec/source/${P}-src.tar.gz.asc )"
+S="${WORKDIR}/${P}-src"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+RESTRICT="test" #839681
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
+DEPEND="
+	>=virtual/jdk-1.8:*
+	test? (
+		dev-java/commons-lang:3.6
+		dev-java/hamcrest:0
+		dev-java/junit:5[migration-support]
+	)
+"
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="
+	junit-4
+	junit-5
+	commons-lang-3.6
+	hamcrest
+"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_compile() {
+	JAVA_JAR_FILENAME="org.apache.${PN}.jar"
+	java-pkg-simple_src_compile	# creates a legacy jar file without module-info
+
+	jdeps --generate-module-info \
+		src/main/java \
+		--multi-release 9 \
+		"${JAVA_JAR_FILENAME}" || die
+
+	JAVA_JAR_FILENAME="${PN}.jar"
+	java-pkg-simple_src_compile	# creates the final jar file including module-info
+}


             reply	other threads:[~2024-09-25  7:06 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25  7:06 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-15  7:43 [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-codec/ Miroslav Šulc
2024-12-13 21:28 Arthur Zamarin
2024-12-13 21:18 Arthur Zamarin
2024-09-26  7:26 Miroslav Šulc
2024-04-14 20:25 Miroslav Šulc
2024-04-14 18:43 Arthur Zamarin
2024-04-14 17:26 Arthur Zamarin
2024-04-14 13:39 Arthur Zamarin
2024-04-14 13:39 Arthur Zamarin
2024-03-15 10:12 Miroslav Šulc
2023-11-18  8:34 Miroslav Šulc
2023-11-18  2:29 Sam James
2023-11-18  2:29 Sam James
2023-11-18  2:29 Sam James
2023-11-18  2:29 Sam James
2023-10-19  7:53 Miroslav Šulc
2023-10-19  7:53 Miroslav Šulc
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-08-23 16:32 Arthur Zamarin
2022-07-24 17:00 Florian Schmaus
2022-01-07 20:40 Arthur Zamarin
2021-05-17  7:38 Miroslav Šulc
2021-05-17  3:02 Sam James
2021-05-16 18:58 Sam James
2021-04-25  5:19 Sam James
2021-04-20 12:46 Miroslav Šulc
2021-04-20 12:43 Miroslav Šulc
2021-04-20 12:43 Miroslav Šulc
2021-04-19 17:57 Miroslav Šulc
2018-03-01  8:39 Michał Górny

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=1727247975.358cad06bf40859e562e09818fb32375da49b93e.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