diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-07 12:30:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-07 12:30:41 +0100 |
commit | 3c7931f8c6c90aa813912d87c684d742e0c29a05 (patch) | |
tree | fe70317ba47324f028de7df8ce1d13394263950f /dev-java/jakarta-mail-api | |
parent | 7336b11bd5bd8f1cc6d445b150a6c466736c3d9d (diff) |
gentoo auto-resync : 07:04:2024 - 12:30:41
Diffstat (limited to 'dev-java/jakarta-mail-api')
-rw-r--r-- | dev-java/jakarta-mail-api/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jakarta-mail-api/jakarta-mail-api-2.1.3.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/jakarta-mail-api/Manifest b/dev-java/jakarta-mail-api/Manifest index e58d719a6bee..b99a25559b17 100644 --- a/dev-java/jakarta-mail-api/Manifest +++ b/dev-java/jakarta-mail-api/Manifest @@ -1,3 +1,5 @@ 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 EBUILD jakarta-mail-api-2.1.1.ebuild 1960 BLAKE2B c565b2472138787093cb687bac8eb13be959dee3813cf111780fe12a520145918b7a57b03ef6579818ad300337495087e8aaf7befd95dae5b9fe4077d91d4cf4 SHA512 15e693d6655c8e0d68c03bf4e4a166311823cbdfb24e0e0b72399da7add47b7d9f5af3a8c1e9ee1398ef2c0af02b1fffaf31b2a9429ad4bad0a84cfefadc42ec +EBUILD jakarta-mail-api-2.1.3.ebuild 1949 BLAKE2B b84efe71313b9f295952c5e437b8dc78ab4e4270455579b46309d0f70ecdd3d0af81cc63a310187997253b05ecad29b2a8e2ba76e2d7942d9047abb5df6feca1 SHA512 900d03defc0eff871f473f90b500ac644c92b0426d7708f6fae4dd867d586722efea6ec8d04b59fd27b044d63064f43521d2598d25b93878142d44c93474facd MISC metadata.xml 541 BLAKE2B 4cef0be3e1f59957b3e9c4d1fcabd325f72da186319c5637c7c39f77e1413a3d93c8735bcd197d9bb9503affe9a9fc3e1ec594af0c1007a56b63a97061b11d5e SHA512 834f676928f44a0d0a72c3726a90f7992ead5678e0215e5706501facc75e50fce4b630b09640562329417676a82e8b1c1a357c512517d72d28c37d4d8d939eed 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 +} |