summaryrefslogtreecommitdiff
path: root/dev-java/jakarta-mail-api
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-27 15:01:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-27 15:01:59 +0100
commitd1d8adbfd346340c3784c72a9fa0868dde6ff736 (patch)
treee10785da8133e519147d7b5fdc5e3b634a041f8b /dev-java/jakarta-mail-api
parentd305208ca7a258fb77809f63c895764345c61919 (diff)
gentoo auto-resync : 27:07:2022 - 15:01:59
Diffstat (limited to 'dev-java/jakarta-mail-api')
-rw-r--r--dev-java/jakarta-mail-api/Manifest1
-rw-r--r--dev-java/jakarta-mail-api/jakarta-mail-api-2.1.0-r1.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/jakarta-mail-api/Manifest b/dev-java/jakarta-mail-api/Manifest
index 43d68071f513..ab6c2307d1e6 100644
--- a/dev-java/jakarta-mail-api/Manifest
+++ b/dev-java/jakarta-mail-api/Manifest
@@ -1,3 +1,4 @@
DIST jakarta-mail-api-2.1.0.tar.gz 1072862 BLAKE2B dcfe0cbbd777dfe2bb703ddc67803402a6a617f6956822e574b7f9b01f2541d0e06eacb3cd192b08205a6ff8151c7a93ad0db758a7df0eec0085e3964a3f88b8 SHA512 38d3e0476073b4faa732e6840d251f9ec90c42a7558b1ac628e83dfdad65f74c8cb3f87b6e1964f15354b5bcfee7fce2d0bdee20fa49073985db0e4401bc7627
+EBUILD jakarta-mail-api-2.1.0-r1.ebuild 2297 BLAKE2B ece6bbcfacd01bd8b5081976b78eb847513902c3ddc9a933850f622b5562d422643cb67b48a5b9edaf11223dca2ba47276e12b9dc6186d5aeebe6d7c55b22c71 SHA512 70820491aa4303053135c6a3d5003df2d975c4c5f549a60e146488f638f79fbadcc135bcb1e97e5608227f51b82a0f9383545208a9736de521547eed2df19978
EBUILD jakarta-mail-api-2.1.0.ebuild 2502 BLAKE2B 8a1b180c3314aedf822d1342c3fd393d5f6148284d5bea3e6d09627ddf12757124406354d2908003cab8fc6ebca3ddbef740b39d45c2abd3cc6cd1f583df6a56 SHA512 1afcb6e0c78e8bcbc72b64b476c592e45edcdedff930c34a1ba8bd792b4176a330fe42bf2763b668c6da05571aba88a4d973b47ae8e0ed23230de5f03eda180d
MISC metadata.xml 461 BLAKE2B aee5455f74a9b1f4befdfca703827933b8684cddb067d08298f6c5697c7d958d421be7e23d48e72979420d42b6d77d1880ad96a6bb6630010b2696f145be5839 SHA512 e13f30a91e3e0f825fe9f32c26747af78c3592eb4b08bfd86f40ba346f1d1f9d66c2ae77d49be884b142885d637af52f1922806262719e4c67ea19d077cfbbbe
diff --git a/dev-java/jakarta-mail-api/jakarta-mail-api-2.1.0-r1.ebuild b/dev-java/jakarta-mail-api/jakarta-mail-api-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..749424a2617f
--- /dev/null
+++ b/dev-java/jakarta-mail-api/jakarta-mail-api-2.1.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/eclipse-ee4j/mail/archive/2.1.0.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jakarta-mail-api-2.1.0-r1.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="jakarta.mail:jakarta.mail-api:2.1.0"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Jakarta Mail API 2.1 Specification API"
+HOMEPAGE="https://eclipse-ee4j.github.io/mail/"
+SRC_URI="https://github.com/eclipse-ee4j/mail/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="EPL-1.0 EPL-2.0 GPL-2-with-classpath-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+# Probably caused by --module-path missing @${test_sources}
+
+# warning: [options] system modules path not set in conjunction with -source 9
+# src/test/java/module-info.java:24: error: package is empty or does not exist: jakarta.mail.event
+# exports jakarta.mail.event;
+# ^
+# src/test/java/module-info.java:29: error: cannot find symbol
+# uses jakarta.mail.Provider;
+# ^
+# symbol: class Provider
+# location: package jakarta.mail
+# src/test/java/module-info.java:30: error: cannot find symbol
+# uses jakarta.mail.util.StreamProvider;
+# ^
+# symbol: class StreamProvider
+# location: package jakarta.mail.util
+# src/test/java/module-info.java:32: error: cannot find symbol
+# provides jakarta.mail.util.StreamProvider with jakarta.mail.util.DummyStreamProvider;
+# ^
+# symbol: class StreamProvider
+# location: package jakarta.mail.util
+# 4 errors
+RESTRICT="test"
+
+DEPEND="
+ dev-java/jakarta-activation-api:2
+ >=virtual/jdk-11:*
+ test? (
+ >=dev-java/angus-activation-1.0.0-r1:0
+ )"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( ../{CONTRIBUTING,NOTICE,README}.md )
+
+S="${WORKDIR}/mail-${PV}/api"
+
+JAVA_CLASSPATH_EXTRA="jakarta-activation-api-2"
+JAVA_SRC_DIR="src/main/"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4,angus-activation"
+JAVA_TEST_SRC_DIR="src/test/java"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+
+src_prepare() {
+ default
+ java-pkg_clean ..
+ java-pkg-2_src_prepare
+}