From d1d8adbfd346340c3784c72a9fa0868dde6ff736 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Jul 2022 15:01:59 +0100 Subject: gentoo auto-resync : 27:07:2022 - 15:01:59 --- dev-java/Manifest.gz | Bin 53230 -> 53253 bytes dev-java/angus-activation/Manifest | 1 + .../angus-activation-1.0.0-r1.ebuild | 34 +++++++++ dev-java/jakarta-mail-api/Manifest | 1 + .../jakarta-mail-api-2.1.0-r1.ebuild | 71 ++++++++++++++++++ dev-java/joda-convert/Manifest | 1 + dev-java/joda-convert/joda-convert-2.2.2-r2.ebuild | 65 +++++++++++++++++ dev-java/joda-time/Manifest | 2 + dev-java/joda-time/joda-time-2.10.14.ebuild | 80 +++++++++++++++++++++ 9 files changed, 255 insertions(+) create mode 100644 dev-java/angus-activation/angus-activation-1.0.0-r1.ebuild create mode 100644 dev-java/jakarta-mail-api/jakarta-mail-api-2.1.0-r1.ebuild create mode 100644 dev-java/joda-convert/joda-convert-2.2.2-r2.ebuild create mode 100644 dev-java/joda-time/joda-time-2.10.14.ebuild (limited to 'dev-java') diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz index 75683e457db1..5f3f64ce0f47 100644 Binary files a/dev-java/Manifest.gz and b/dev-java/Manifest.gz differ diff --git a/dev-java/angus-activation/Manifest b/dev-java/angus-activation/Manifest index 7ea7b0f9d9d2..5e6d1a2779b6 100644 --- a/dev-java/angus-activation/Manifest +++ b/dev-java/angus-activation/Manifest @@ -1,3 +1,4 @@ DIST angus-activation-1.0.0.tar.gz 26068 BLAKE2B 45151d8d0bc3c2b1835d2ceab62e9d4ab5294dcfbbf606d3298013f0dd5f27a7bbe950effbd053a6e54ec1179884870c167e8967b3536dd79902dbda506bb8c8 SHA512 e6e7b32f1aab8d293d5855a3e6b155922c18aeddf13b3daab6928c1b95b4af6dd292c5670351a70870723bc80a58ef4366e8b4fe40c5f5b995266751bccfdef6 +EBUILD angus-activation-1.0.0-r1.ebuild 1092 BLAKE2B 13577d553ac56f300eae42991d9c2cbc08c7a1be7bda90998b57b2f08a8119c945e5a2078ec99b603f13fda7666c1ff42f5e8059f42592e3f013cbd6344964eb SHA512 4a8cc1a119e418d79640ba8063efa8b057415be9ddf3a78087aa44da578a02973e937741d24b51b3505a62cbe3e300957ae5750c3ad0b8dee58172eafb3e9b52 EBUILD angus-activation-1.0.0.ebuild 1319 BLAKE2B 7b7f4c64684f3bb5eb2363288f0271aad1e13f5e66afc000ed09eb61f17d536c504a16eb43bfbbeb60bb6105bb04701b8cb0a56d080d827da40b0e9e5110c322 SHA512 5a8262cc7e11123d18f6d8216999a49d6786b504c857800896541b868aa3066252db2334f9b1c0006ce472af9d24d1877c3d3474f7872a44a4e67e02e91a12ed MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/angus-activation/angus-activation-1.0.0-r1.ebuild b/dev-java/angus-activation/angus-activation-1.0.0-r1.ebuild new file mode 100644 index 000000000000..9349e1ca9b70 --- /dev/null +++ b/dev-java/angus-activation/angus-activation-1.0.0-r1.ebuild @@ -0,0 +1,34 @@ +# 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/angus-activation/archive/refs/tags/1.0.0.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild angus-activation-1.0.0-r1.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.eclipse.angus:angus-activation:1.0.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Provides the implementation of the Jakarta Activation Specification" +HOMEPAGE="https://github.com/eclipse-ee4j/angus-activation" +SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +DEPEND=" + dev-java/jakarta-activation-api:2 + >=virtual/jdk-11:*" + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( ../{CONTRIBUTING,NOTICE,README}.md ) + +S="${WORKDIR}/${P}/activation-registry" + +JAVA_CLASSPATH_EXTRA="jakarta-activation-api-2" +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/resources" 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 +} diff --git a/dev-java/joda-convert/Manifest b/dev-java/joda-convert/Manifest index f85523790f0d..5ca218fadc55 100644 --- a/dev-java/joda-convert/Manifest +++ b/dev-java/joda-convert/Manifest @@ -1,3 +1,4 @@ DIST joda-convert-2.2.2.tar.gz 65476 BLAKE2B 9ef8e3b172d31f4e3b748ba5aae807b1d344c3b6bedeb0bf0b84b93009171495f271d03cd9f7b29147a256ddd1081b3fc9640c1df6b45425080ce1d44e2c0f37 SHA512 9660491373d5f7d415ab47cec7164922fc8901803e759bbf8cf7d0cc58040c2c8b245271f33d641a563ffb25b8e42f8197e297da7d1fe68a5c50ebb61536f3ae EBUILD joda-convert-2.2.2-r1.ebuild 2001 BLAKE2B b0f8f4c14595af75f6cb2d55b6a540611070199c41f31d8a92447a0ed04d58f6b879de137d2a4cb18d15ed4afac6af497076b80f8b0087e8b7d6569034c7be5a SHA512 cefbd0b9d04591f08c9a5f69e1e0578f3d4f9761c6a7000854b96fbe52e9506355875e6903d1d161d6ceb7792a227995622b25ca2dfb4eccd47f1f06b2d5504b +EBUILD joda-convert-2.2.2-r2.ebuild 1882 BLAKE2B 790a9b8b041d41f99ff1274bd37b8a0e7cd2432bf38d6eedd778bf527abc2118190a69598f7ffa5d34667b70b8a461845456c5b9a4c51295afdfd0d5756f5d4c SHA512 18f27414113ab91c30d370f5c3127e451b4399cf516a685ac74f3fc3076fd8c2daf53a022d35076c32efcc69c18da2c27959dbd33becdf69945c64db8431b94f MISC metadata.xml 390 BLAKE2B 50a8eb1f9935a4b0bc775f4c5f069df312da8aec16f6aeb6fb9c66df41f1af3ad4b3a06697e7a2d660275f6cdb19571b99b6d2a9d7418c7d4d9cb177e7660769 SHA512 da06cf231ded50201b189737b5021486c4ec324f6f7e6eb5df1ed2f1ae67a29bd529d4f108eb904c6820994c960c7c6523d69f70378f5d928286736c4ce78cc0 diff --git a/dev-java/joda-convert/joda-convert-2.2.2-r2.ebuild b/dev-java/joda-convert/joda-convert-2.2.2-r2.ebuild new file mode 100644 index 000000000000..6c9ea47fa60a --- /dev/null +++ b/dev-java/joda-convert/joda-convert-2.2.2-r2.ebuild @@ -0,0 +1,65 @@ +# 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/JodaOrg/joda-convert/archive/refs/tags/v2.2.2.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild joda-convert-2.2.2.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.joda:joda-convert:2.2.2" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Library to convert Objects to and from String" +HOMEPAGE="https://www.joda.org/joda-convert/" +SRC_URI="https://github.com/JodaOrg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +# Compile dependencies +# POM: pom.xml +# test? com.google.guava:guava:31.0.1-jre -> !!!suitable-mavenVersion-not-found!!! +# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 + +DEPEND=" + >=virtual/jdk-11:* + test? ( + dev-java/guava:0 + ) +" + +RDEPEND=" + >=virtual/jre-1.8:* +" + +DOCS=( {NOTICE,RELEASE-NOTES}.txt README.md ) + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="guava,junit-4" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +JAVA_TEST_EXCLUDES=( + # Upstream: Tests run: 186, Failures: 0, Errors: 0, Skipped: 0 + # All following: No runnable methods + org.joda.convert.test1.Test1Class + org.joda.convert.test1.Test1Interface + org.joda.convert.test2.Test2Class + org.joda.convert.test2.Test2Factory + org.joda.convert.test2.Test2Interface + org.joda.convert.test3.Test3Class + org.joda.convert.test3.Test3Factory + org.joda.convert.test3.Test3Interface + org.joda.convert.test3.Test3SuperClass + org.joda.convert.test4.Test4Class + org.joda.convert.test4.Test4Factory + org.joda.convert.test4.Test4Interface + org.joda.convert.TestRenameHandlerBadInit +) diff --git a/dev-java/joda-time/Manifest b/dev-java/joda-time/Manifest index 8b0047187ad6..6162f9adcabc 100644 --- a/dev-java/joda-time/Manifest +++ b/dev-java/joda-time/Manifest @@ -1,3 +1,5 @@ DIST joda-time-2.10.10.tar.gz 1052384 BLAKE2B 656efddf6b98f10ce6729c6fa4c76ddfeb86dd94971c2637af3ddcb8a3a47f83948dbd58b04a6249445ef2857c5c5edb994a6d56349ed4ff4130ce9aaebd57e9 SHA512 e7917fd28cd10d7fbee02016b1f13a15a80af099b952cc0e8978bfc7fa389109553804670492c206f2b49bcf910ea093fc1838cb45ce4b7a3a885aac2aaf5943 +DIST joda-time-2.10.14.tar.gz 1055876 BLAKE2B c70ad0724ad5e6d6f6a158ed05eb9711095cd353bf72a43a3edaa8ce36db1f92e0c18cd2e2b73c34e4126962d0ef97bf83844f9de924df8aadce7d38ffdb7975 SHA512 061c341c35f5187422fe402500384f5933c1eb0c77963f65b5295b8f9b479adf29f944269173d9a93e4a288c583777b21f085afe4c5da6c695f14801636f0fc1 EBUILD joda-time-2.10.10-r1.ebuild 1966 BLAKE2B 4f7b94c9db701439aaa82d4fd7762181e4e7ca57cf56f5d43fc0c95ad5f252bbb726e66b589041a53ed18b7beaaeb251aa0faef1b25301a75054e1c9d8f07431 SHA512 ee10fa7103410768ddb6f084734f90c2966b692271b1874d9dbe15cdeba6b30fbf532b31534d4d681243a8ed64dd668670e7929a567065d05a63b721b4e68310 +EBUILD joda-time-2.10.14.ebuild 2178 BLAKE2B d6b8531a49a76362dd328ddaa5fc17cd85ab94c1257a4e75920d7a2337aa320df0413f9f14f18f9f4d3865c7dad9bb9d8e7a3e676da3363e27457048ee15a27c SHA512 4108bd37652b5bb590208e7e0d71b9a08dfc2f1f11d62f51aecec390e9541df5a1b7c6cdd064a6f012297fbd7e4c63acb6c8e936a22b3b50fa8e4576bc8cf6d1 MISC metadata.xml 497 BLAKE2B 96303e9c4ee30156cb9f6dc9260155270fbc3aece7c8dcfb1fd796e69ed4ee2f3ec91030f016dcdd53f411a5c216c3d41dd68ea45079c036e0ee55d529548fd2 SHA512 9f5a300ca1ee6a68e555393879c61c6898c5ba22f0cdd83d83c1411d3009af7478ddb0e1087bc88d695b2bab162c4cc62952d3fc29b4902a857db95c2fc2f130 diff --git a/dev-java/joda-time/joda-time-2.10.14.ebuild b/dev-java/joda-time/joda-time-2.10.14.ebuild new file mode 100644 index 000000000000..23de2c024ab5 --- /dev/null +++ b/dev-java/joda-time/joda-time-2.10.14.ebuild @@ -0,0 +1,80 @@ +# 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/JodaOrg/joda-time/archive/v2.10.14.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" --ebuild joda-time-2.10.14.ebuild + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="joda-time:joda-time:2.10.1r40" +JAVA_TESTING_FRAMEWORKS="junit" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Date and time library to replace JDK date handling" +HOMEPAGE="https://www.joda.org/joda-time/" +SRC_URI="https://github.com/JodaOrg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" + +# Common dependencies +# POM: ${P}/pom.xml +# org.joda:joda-convert:1.9.2 -> >=dev-java/joda-convert-2.2.1:0 + +CP_DEPEND=" + >=dev-java/joda-convert-2.2.2-r2:0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND}" + +S="${WORKDIR}/${P}" + +JAVA_SRC_DIR="src/main/java" +JAVA_RESOURCE_DIRS="src/main/res" +JAVA_AUTOMATIC_MODULE_NAME="org.joda.time" + +JAVA_TEST_GENTOO_CLASSPATH="junit" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +src_prepare() { + default + # move .properties files to JAVA_RESOURCE_DIRS + mkdir -p src/main/res + cp -r src/main/{java/*,res} || die + find src/main/res -type f ! -name '*.properties' -exec rm -rf {} + || die +} + +src_compile() { + java-pkg-simple_src_compile + + # Generate the missing "org/joda/time/tz/data/ZoneInfoMap" + # Arguments from https://github.com/JodaOrg/joda-time/blob/v2.10.10/pom.xml#L413-L427 + "$(java-config -J)" \ + -cp ${PN}.jar \ + org.joda.time.tz.ZoneInfoCompiler \ + -src "${JAVA_SRC_DIR}/org/joda/time/tz/src" \ + -dst "src/main/res/org/joda/time/tz/data" \ + africa \ + antarctica \ + asia \ + australasia \ + europe \ + northamerica \ + southamerica \ + etcetera \ + backward + + # add org/joda/time/tz to the jar file + jar -uf joda-time.jar -C src/main/res org/joda/time/tz/data || die +} -- cgit v1.2.3