From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19828158041 for ; Sun, 7 Apr 2024 08:19:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41A84E29FF; Sun, 7 Apr 2024 08:19:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D035E29FF for ; Sun, 7 Apr 2024 08:19:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27DF83432A7 for ; Sun, 7 Apr 2024 08:19:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69D68AB7 for ; Sun, 7 Apr 2024 08:19:36 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1712477972.5d1b0ef975e833cc2f8458f8a3ae662865375f0c.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jakarta-mail-api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/jakarta-mail-api/Manifest dev-java/jakarta-mail-api/jakarta-mail-api-2.1.3.ebuild X-VCS-Directories: dev-java/jakarta-mail-api/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 5d1b0ef975e833cc2f8458f8a3ae662865375f0c X-VCS-Branch: master Date: Sun, 7 Apr 2024 08:19:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3a8373f4-4e56-4988-a437-619d8d84c0f1 X-Archives-Hash: 757aef97f47c9436e1836ee54b0336b9 commit: 5d1b0ef975e833cc2f8458f8a3ae662865375f0c Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Sat Apr 6 07:16:34 2024 +0000 Commit: Miroslav Šulc gentoo 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 pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/36132 Signed-off-by: Miroslav Šulc 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 +}