summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-22 04:04:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-22 04:04:46 +0100
commita15e8dc7444560123d7d4be1bccb19afd5b611d0 (patch)
tree6e26ee0323c09494a66d0f78c4b81e305bb0d096 /dev-java
parent3dc4de6331223493015f198dc61854af604da86c (diff)
gentoo auto-resync : 22:10:2024 - 04:04:46
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin55486 -> 55491 bytes
-rw-r--r--dev-java/jdbc-mysql/Manifest2
-rw-r--r--dev-java/jdbc-mysql/jdbc-mysql-9.1.0.ebuild64
-rw-r--r--dev-java/joda-convert/Manifest2
-rw-r--r--dev-java/joda-convert/joda-convert-2.2.4.ebuild54
-rw-r--r--dev-java/joda-time/Manifest2
-rw-r--r--dev-java/joda-time/joda-time-2.13.0.ebuild85
7 files changed, 209 insertions, 0 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index 800599b087c5..bad5dc46056b 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/jdbc-mysql/Manifest b/dev-java/jdbc-mysql/Manifest
index 2b14cc1ac4c1..52bc17a4e88c 100644
--- a/dev-java/jdbc-mysql/Manifest
+++ b/dev-java/jdbc-mysql/Manifest
@@ -1,6 +1,8 @@
DIST mysql-connector-j-9.0.0.tar.gz 4469329 BLAKE2B 3248d43654c56a2b566bbf515de996ab43f845beb2104f69c3c3c837b8b527d8e9851fe849bcf55fd7eafb061e4780dfaa19b42583a7d12b72367d0a36a61ab3 SHA512 40028f528e8bff686fcd700d165785194e1732a8c2c29efb2ffe67623f8915caaac4d2a9e548b0e9cda4328e25cfd6fe4e008cca1491117e38a4c79af0231475
+DIST mysql-connector-j-9.1.0.tar.gz 4485702 BLAKE2B f382d58f559c6ec10899e32d4370e817f07561b294c1a173856df98a088a3e981952ac117ec3cc0946b8ef43a68eb52880ba45d9bb23b393b8a00a6999d52176 SHA512 042aa06fc5fb84d33b8308731371a29199a68bac5ae0866729fb2881f1bd4f41141f355c56c24764f2084059d99da56d9bba35d6ce3b48d9286bd1294d84ac02
DIST oci-java-sdk-common-3.29.0.jar 453619 BLAKE2B 41a68344a9cf4733c642e3a6e4254f3991f19c13edf57b3c61352b1e6ffdfabfe29cd8dccaa9b128fae618a492fb342007d14ad65b06cd614da572c787cf35ab SHA512 b6def960e114b69d3f34706d5e293f0a05b30c31a1443a92e454631712bb633eaea3795beeeabe4eb1303b8ad42ef2b73d69880b73d360e193f8f1b532bc3430
DIST opentelemetry-api-1.40.0.jar 141734 BLAKE2B 1f14ca7caadd0a3eed615da7ee528e5df72474d9a4eabcf5a820996830cf76c8fa3402de7d283598f1e4bb44b1a15c488b81863c4b5c0685ea35fe65f3fb12c2 SHA512 d4a1af66075b5f147ba297a8133a707716e323800d8aa2debcdace2bbe10046b2fee8a47d87fa9b6f1f11ad30f4da688670c546841990ad8daa7c8c0535498f2
DIST opentelemetry-context-1.40.0.jar 47251 BLAKE2B 7effcc63ec6695184467518686ec8165118cae1e7a4f1a7db273a3cbd1ff0b1e98c2a83252291db9536121e1e2999d1d77734acd7ddb5b272264138af4e6af74 SHA512 14ebc39edce8b603fe9f13d304faf54d7362abe3b1ae574aa84d5bbe37c43b133c8131976efd2bfedc94c646b2487054f7b3cce04e1f09efbce0f4ce5a6d5921
EBUILD jdbc-mysql-9.0.0.ebuild 2150 BLAKE2B 520f0b21982ffefd5e68432df84c39a829f222c0bde1ebef680801cea17ab55173142760c85e4d776e82374564e9d1f5aadafb6a4f0b32e1c9f203109eaf598e SHA512 19826dac5ee57a887e8147b5c6fa6877794b84d720ff887adb8d8409778307224b05fe658cc62c549b428466c523542d8176d60d26acbef9973be891f46ff607
+EBUILD jdbc-mysql-9.1.0.ebuild 2151 BLAKE2B e05622b8dc8b74cbaacb43478feadfee0b7d2bf8be7f12b9b42538e9ef080a0147b67054395b6eca6e5490084dfce023e9c7ddbbcdd0d05f5068b66d45f51d2d SHA512 21760148a38612d14c8b13ce421420a93cb17bb1a29bb2fc2e8454e59de59e95fd4ca586d251fc06d4f064ce60a243b7da5a091dd1c59320ce8423a8148f2162
MISC metadata.xml 325 BLAKE2B e1c3ff68e092bb0e4cd63ed17da632f053f938e8e119a3b5f9a68a3961aac6c1df48a03e281583c22e881576ac9c50b405f0a6b40323bd85a183541a02792a05 SHA512 f855f395f2cc16667e5c524b63c409f754e399d657e50e7aeaebaa99af850480e271a890460a313b8be3c5a66d3e51d26dd2ceaade8828ce3d700232b892fca8
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-9.1.0.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-9.1.0.ebuild
new file mode 100644
index 000000000000..5d19e4a58798
--- /dev/null
+++ b/dev-java/jdbc-mysql/jdbc-mysql-9.1.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# No tests, see bug #902723
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="com.mysql:mysql-connector-j:9.1.0"
+# JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+# Bundling binary versions of oci-java-sdk-common and opentelemetry
+# https://github.com/oracle/oci-java-sdk/blob/v2.47.0/bmc-common/pom.xml
+OSC="3.29.0"
+OAV="1.40.0"
+
+DESCRIPTION="JDBC Type 4 driver for MySQL"
+HOMEPAGE="https://dev.mysql.com/doc/connector-j/en/"
+SRC_URI="https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-j-${PV}.tar.gz
+ https://repo1.maven.org/maven2/com/oracle/oci/sdk/oci-java-sdk-common/${OSC}/oci-java-sdk-common-${OSC}.jar
+ https://repo1.maven.org/maven2/io/opentelemetry/opentelemetry-context/${OAV}/opentelemetry-context-${OAV}.jar
+ https://repo1.maven.org/maven2/io/opentelemetry/opentelemetry-api/${OAV}/opentelemetry-api-${OAV}.jar"
+
+S="${WORKDIR}/mysql-connector-j-${PV}"
+
+LICENSE="GPL-2-with-MySQL-FLOSS-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+
+CP_DEPEND="
+ dev-java/c3p0:0
+ >=dev-java/protobuf-java-4.27.2:0
+ dev-java/slf4j-api:0
+"
+DEPEND="${CP_DEPEND}
+ >=virtual/jdk-1.8:*"
+RDEPEND="${CP_DEPEND}
+ >=virtual/jre-1.8:*"
+
+DOCS=( CHANGES README )
+
+JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/oci-java-sdk-common-${OSC}.jar"
+JAVA_GENTOO_CLASSPATH_EXTRA+=":${DISTDIR}/opentelemetry-context-${OAV}.jar"
+JAVA_GENTOO_CLASSPATH_EXTRA+=":${DISTDIR}/opentelemetry-api-${OAV}.jar"
+JAVA_JAR_FILENAME="mysql-connector-j.jar"
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR=(
+ "src/generated"
+ "src/legacy/java"
+ "src/main/core-api/java"
+ "src/main/core-impl/java"
+ "src/main/protocol-impl/java"
+ "src/main/user-api/java"
+ "src/main/user-impl/java"
+)
+
+src_install() {
+ java-pkg-simple_src_install
+ java-pkg_newjar "${DISTDIR}/oci-java-sdk-common-${OSC}.jar" oci-java-sdk-common.jar
+ java-pkg_newjar "${DISTDIR}/opentelemetry-context-${OAV}.jar" opentelemetry-context.jar
+ java-pkg_newjar "${DISTDIR}/opentelemetry-api-${OAV}.jar" opentelemetry-api.jar
+ java-pkg_regjar "${ED}/usr/share/jdbc-mysql/lib/oci-java-sdk-common.jar"
+}
diff --git a/dev-java/joda-convert/Manifest b/dev-java/joda-convert/Manifest
index 5ccb08d82461..ca6fc75371cb 100644
--- a/dev-java/joda-convert/Manifest
+++ b/dev-java/joda-convert/Manifest
@@ -1,3 +1,5 @@
DIST joda-convert-2.2.2.tar.gz 65476 BLAKE2B 9ef8e3b172d31f4e3b748ba5aae807b1d344c3b6bedeb0bf0b84b93009171495f271d03cd9f7b29147a256ddd1081b3fc9640c1df6b45425080ce1d44e2c0f37 SHA512 9660491373d5f7d415ab47cec7164922fc8901803e759bbf8cf7d0cc58040c2c8b245271f33d641a563ffb25b8e42f8197e297da7d1fe68a5c50ebb61536f3ae
+DIST joda-convert-2.2.4.tar.gz 56778 BLAKE2B 76bcbf6a63461e2a1bb2ce82c38aa65fef1f385cdb9752ef7cffefcbd6b535b822f25a7d21026fd117fb2f40ec15113a6f2884ae21c56d1f49ea182fe9993fae SHA512 4d503328a8424f3992b4ad13f192481268136630426c3d9830d9e4bb4c6b14422d7097654c80b69f9c863b55b8da1938971b1dad5be70293824953c6c3a719ae
EBUILD joda-convert-2.2.2-r2.ebuild 1869 BLAKE2B c52ce7b7bb42053c48c594014b19b0de436a10a6f21cb5115704dda47c2bf075e12b3541bf99060f468e98b310fe14ea848609514b4c65c44969c1aa8348b030 SHA512 9ec7111128899368a55d2cdf26182ee66852e7c8024cd8e408bbca19d13b07f7bd521834c12d24fc20e5331f7954010cd6b8a5e42edd4462ef55933cd0662228
+EBUILD joda-convert-2.2.4.ebuild 1434 BLAKE2B c61cd1a02003977f58480049d81de43a2c6843bc2117d75f9959881aaa11c26336c1389b128dce1e547e649899163690a5f6f7bc76dd5da527defc28294ceb55 SHA512 0d9fa480274c26d30f95816a59c0c5b7b2650fffa4377e92e14aa4a74d0fea697324b0a8c403eea1365e9e50e464e1959e2e04c0375a01c2b507df4d828d6caa
MISC metadata.xml 390 BLAKE2B 50a8eb1f9935a4b0bc775f4c5f069df312da8aec16f6aeb6fb9c66df41f1af3ad4b3a06697e7a2d660275f6cdb19571b99b6d2a9d7418c7d4d9cb177e7660769 SHA512 da06cf231ded50201b189737b5021486c4ec324f6f7e6eb5df1ed2f1ae67a29bd529d4f108eb904c6820994c960c7c6523d69f70378f5d928286736c4ce78cc0
diff --git a/dev-java/joda-convert/joda-convert-2.2.4.ebuild b/dev-java/joda-convert/joda-convert-2.2.4.ebuild
new file mode 100644
index 000000000000..3261f595bb9b
--- /dev/null
+++ b/dev-java/joda-convert/joda-convert-2.2.4.ebuild
@@ -0,0 +1,54 @@
+# 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="org.joda:joda-convert:2.2.4"
+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"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+DEPEND="
+ >=virtual/jdk-11:*
+ test? (
+ dev-java/guava:0
+ )
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( {NOTICE,RELEASE-NOTES}.txt README.md )
+
+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 74b9855175d6..83f06267acb5 100644
--- a/dev-java/joda-time/Manifest
+++ b/dev-java/joda-time/Manifest
@@ -1,4 +1,6 @@
AUX joda-time-2.11.0-test.patch 577 BLAKE2B 072cb890960ae26fef7297e7e7af18ab36f5f2ed3d94f370e1ba4d873c3625ed291ead37b05ad8ac0b53da04c2bd0bef4e7b2e4039a450f6466d58d1f0fec1a8 SHA512 77430e5d0829b1de0d621956731f896c644fb4529b6f3e0fe741266661c7b027a3a3bbe0747875a74746c18f4bb7e31eff185121b21de9cdd5e2210aab5e673f
DIST joda-time-2.11.2.tar.gz 1055885 BLAKE2B 52281dcb530734dd33d0c01b07c9fbc5e7afd507a97e6926f7ef442dc91907d999d126289bc609e6fabf6af4267e47e5a79452d462a3f0561c405e6cd7f5976f SHA512 ea43deea4ef751fc631c35589adec0c5d9d0a5c836c1a24ada5d994cb9310a55b5af69260afd2647516c64fc84b892a2e25fca4bb38e852982c40f7caa5858b3
+DIST joda-time-2.13.0.tar.gz 1076948 BLAKE2B d70be1086175c80f72c7dc945aea24f71d74552e7f8e56bd84a62f308bd9db0e006951ae415dfec6f18cb47485019e179e66a198b6c1adafaa79b3f590318825 SHA512 0e185c433891d6d6a1ac9e93e5ddf6cde4097de4b810881266ab8f149de4cfbe089b857a946e8d36731ad82f84c789e12ffcde1836cd088e9056e3533ce79200
EBUILD joda-time-2.11.2.ebuild 2593 BLAKE2B d6da0b344ee28b387078cbe6ce0e44a2b28ed8ed0089ebd9e4d84dd848e2c8c1eab994498af210708cdf2011c221b13d3b4a127b95ae6b70d1b57946eae99773 SHA512 714fbc61dbadbbf8e23f70a9c29df58d0fb20704ca91c3e7410190bf6559117948e118f1d145c4be847dd535a43da74267169364fdf68ae32741525956d56b5f
+EBUILD joda-time-2.13.0.ebuild 2358 BLAKE2B b7e03b5c924b1be56648e639a47db28d3c770f47df0d34a18c00e53536c93a313adf23a68843a38a3cc05d6888c1441b52d7af5cbe423f223916763ce4309979 SHA512 8b386be94f773ae0e5fff21da26362f48b21c0970bdef3422c4f514ebd58d69371962e94ed40c3d3f051903328692fc3e38f49590d6e8ebc06c67bdbc770a245
MISC metadata.xml 497 BLAKE2B 96303e9c4ee30156cb9f6dc9260155270fbc3aece7c8dcfb1fd796e69ed4ee2f3ec91030f016dcdd53f411a5c216c3d41dd68ea45079c036e0ee55d529548fd2 SHA512 9f5a300ca1ee6a68e555393879c61c6898c5ba22f0cdd83d83c1411d3009af7478ddb0e1087bc88d695b2bab162c4cc62952d3fc29b4902a857db95c2fc2f130
diff --git a/dev-java/joda-time/joda-time-2.13.0.ebuild b/dev-java/joda-time/joda-time-2.13.0.ebuild
new file mode 100644
index 000000000000..687610127fae
--- /dev/null
+++ b/dev-java/joda-time/joda-time-2.13.0.ebuild
@@ -0,0 +1,85 @@
+# 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="joda-time:joda-time:2.13.0"
+JAVA_TESTING_FRAMEWORKS="junit"
+
+inherit edo 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"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND="
+ dev-java/joda-convert:0
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND=">=virtual/jre-1.8:*"
+
+DOCS=( NOTICE.txt README.md RELEASE-NOTES.txt )
+
+JAVA_AUTOMATIC_MODULE_NAME="org.joda.time"
+JAVA_CLASSPATH_EXTRA="joda-convert"
+JAVA_RESOURCE_DIRS="src/main/res"
+JAVA_SRC_DIR="src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit"
+JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_RUN_ONLY="org.joda.time.TestAllPackages"
+JAVA_TEST_SRC_DIR="src/test/java"
+
+src_prepare() {
+ default
+ # move .properties files to JAVA_RESOURCE_DIRS
+ mkdir -p src/main/res/META-INF
+ cp -r src/main/{java/*,res} || die
+ find src/main/res -type f ! -name '*.properties' -exec rm -rf {} + || die
+ mv src/main/res{ources,}/META-INF/native-image || die
+}
+
+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
+ ejavac \
+ -d ZoneInfoCompiler \
+ -cp ${JAVA_SRC_DIR}:$(java-pkg_getjars --build-only joda-convert) \
+ src/main/java/org/joda/time/tz/ZoneInfoCompiler.java || die
+
+ edo "$(java-config -J)" \
+ -cp ZoneInfoCompiler \
+ 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 || die
+
+ java-pkg-simple_src_compile
+}
+
+src_test() {
+ # There was 1 error:
+ # 1) testZoneInfoProviderResourceLoading(org.joda.time.TestDateTimeZone)java.lang.UnsupportedOperationException:
+ # The Security Manager is deprecated and will be removed in a future release
+ local vm_version="$(java-config -g PROVIDES_VERSION)"
+ if ver_test "${vm_version}" -lt 21 ; then
+ java-pkg-simple_src_test
+ else
+ einfo "Tests restricted to <jdk-21"
+ fi
+}