From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jakarta-mail-api/
Date: Sun, 7 Apr 2024 08:19:36 +0000 (UTC) [thread overview]
Message-ID: <1712477972.5d1b0ef975e833cc2f8458f8a3ae662865375f0c.fordfrog@gentoo> (raw)
commit: 5d1b0ef975e833cc2f8458f8a3ae662865375f0c
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Apr 6 07:16:34 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Apr 7 08:19:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1b0ef9
dev-java/jakarta-mail-api: add 2.1.3
Bug: https://bugs.gentoo.org/853151
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/36132
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
dev-java/jakarta-mail-api/Manifest | 1 +
.../jakarta-mail-api/jakarta-mail-api-2.1.3.ebuild | 64 ++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/dev-java/jakarta-mail-api/Manifest b/dev-java/jakarta-mail-api/Manifest
index 501667971499..0c2e67d3398e 100644
--- a/dev-java/jakarta-mail-api/Manifest
+++ b/dev-java/jakarta-mail-api/Manifest
@@ -1 +1,2 @@
DIST jakarta-mail-api-2.1.1.tar.gz 1214949 BLAKE2B d92861ed3c957db8d7fda2ec25269ed7b3ec27d55c6b8865278cd6b1dcdef750ecb126136760f15bf86216c14bb00a856a60719f6121ccb87b41523662754ab1 SHA512 e367c27d85aa9513ab1a4ff0a1eb9ef947b6fad6b0c24263c5f0c0befc8f152e193eedb4a0c9687aa3decac07615094904639e11db395d25dd45c5d9fd8677cc
+DIST jakarta-mail-api-2.1.3.tar.gz 1219840 BLAKE2B 6fff0fc63bcdb9f52e02c957408fffdc77be9733bc612f461500b23212572407b3a26dcef2434043d6b38011f8f8c8983a450a043f540c9217783247cf2bfd2b SHA512 274f8dfac3d228df4161a293ef02ca22cd7e411ee9143216eb6784a8bd049b9d2849566ce78baee0ba8e65ed5a7e84b4e03d8b551ac1e6273de1ed44e7798931
diff --git a/dev-java/jakarta-mail-api/jakarta-mail-api-2.1.3.ebuild b/dev-java/jakarta-mail-api/jakarta-mail-api-2.1.3.ebuild
new file mode 100644
index 000000000000..2f43cfc96efe
--- /dev/null
+++ b/dev-java/jakarta-mail-api/jakarta-mail-api-2.1.3.ebuild
@@ -0,0 +1,64 @@
+# 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="jakarta.mail:jakarta.mail-api:2.1.3"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Jakarta Mail API 2.1 Specification API"
+HOMEPAGE="https://jakartaee.github.io/mail-api/"
+SRC_URI="https://github.com/jakartaee/mail-api/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/mail-api-${PV}/api"
+
+LICENSE="EPL-1.0 EPL-2.0 GPL-2-with-classpath-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+DEPEND="
+ dev-java/jakarta-activation-api:2
+ >=virtual/jdk-11:*
+ test? (
+ dev-java/angus-activation:0
+ )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../{CONTRIBUTING,NOTICE,README}.md )
+
+JAVA_CLASSPATH_EXTRA="jakarta-activation-api-2"
+JAVA_SRC_DIR="src/main/"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,angus-activation"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_test() {
+ # bug #853151 - copying from target/classes as a workaraound
+ # handing of module-info.java in java-pkg-simple_src_test seems not aware of target/classes
+ mkdir -p generated-test/jakarta/mail || die
+ cp -r {target/classes,generated-test}/jakarta/mail/event || die
+ cp -r {target/classes,generated-test}/jakarta/mail/util || die
+ cp -r target/classes/jakarta/mail/Provider* generated-test/jakarta/mail || die
+
+ # These tests need to run separately, otherwise would fail
+ JAVA_TEST_EXCLUDES=(
+ jakarta.mail.internet.ContentDispositionNoStrictTest
+ jakarta.mail.internet.WindowsFileNamesTest
+ jakarta.mail.internet.AppleFileNamesTest
+ )
+ java-pkg-simple_src_test
+
+ JAVA_TEST_RUN_ONLY="jakarta.mail.internet.ContentDispositionNoStrictTest"
+ java-pkg-simple_src_test
+
+ JAVA_TEST_RUN_ONLY="jakarta.mail.internet.WindowsFileNamesTest"
+ java-pkg-simple_src_test
+
+ JAVA_TEST_RUN_ONLY="jakarta.mail.internet.AppleFileNamesTest"
+ java-pkg-simple_src_test
+}
next reply other threads:[~2024-04-07 8:19 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-07 8:19 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-08 9:05 [gentoo-commits] repo/gentoo:master commit in: dev-java/jakarta-mail-api/ Miroslav Šulc
2024-05-07 10:29 Sam James
2024-05-07 10:29 Sam James
2024-05-07 10:05 Sam James
2024-05-07 10:05 Sam James
2023-04-05 10:56 Miroslav Šulc
2023-04-04 8:10 Jakov Smolić
2023-04-04 5:10 Sam James
2023-04-03 19:16 Sam James
2023-04-03 8:11 Jakov Smolić
2023-03-04 12:56 Miroslav Šulc
2022-08-28 5:17 Miroslav Šulc
2022-08-26 23:27 Sam James
2022-08-26 10:23 Arthur Zamarin
2022-08-26 10:08 Sam James
2022-08-26 9:57 Arthur Zamarin
2022-07-27 8:54 Florian Schmaus
2022-07-05 19:43 Arthur Zamarin
2022-06-23 3:55 Miroslav Šulc
2022-06-22 13:25 Agostino Sarubbo
2022-06-22 13:12 Jakov Smolić
2022-06-22 11:40 Jakov Smolić
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=1712477972.5d1b0ef975e833cc2f8458f8a3ae662865375f0c.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