dev-java/jdbc-mysql: drop 9.5.0

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/363
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2026-03-19 07:32:01 +01:00
committed by Miroslav Šulc
parent 63489b03ea
commit 2aa69ce345
2 changed files with 0 additions and 91 deletions

View File

@@ -1,3 +1,2 @@
DIST mysql-connector-j-9.5.0.tar.gz 4533369 BLAKE2B 99fd232c72f7711e928a5ea485a444c24fe919e1d438a0f7e1a50ab81717359a1247d19de965076e9b971aab33948e863a1cac8d2a05f319d583be576542832d SHA512 59c7047eeb0ca67f5e41c2950ea4d76400ce1db8d3a299da6547b17d928fa693729d6f4427124a821ac9aed121911a284744d3957be5c638e3d6bb378d0bab68
DIST mysql-connector-j-9.6.0.tar.gz 4535338 BLAKE2B 3c23f3bd0680c17cb6fd524426fdf8908167e722785ff42bc74dd9bf667f976343ef71b06a5657b3ebf08efd8c6c31e06e2d390fc0042a0b6bd6ff0cfb69b323 SHA512 dcad9092b08531b807069eb06b7d442894dbd05e21aa20dfd9be6d914ca8edfb73b78544e57feec2f051221e968f436bc5ae537a52e4d146074f91d992504f82
DIST oci-java-sdk-common-3.66.0.jar 491192 BLAKE2B 9570b3d0ea16348a4cf184bd5e3bce5da7fe0d2bd69386ab92ed8d6ec8889f8db02ea70ebab7aed711dfab8891edc3a7497243424d8d8339587454e051e9afe5 SHA512 eda592ba11769b374631f8a238941736235dc7d29e67490fead6855bd6f7fca000ee8647c860d2d8b0531bf71dc2e51cdd5dd7a2b03e33bf4c29e6c9c8efc960

View File

@@ -1,90 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc source test"
JAVA_TESTING_FRAMEWORKS="junit-jupiter"
MAVEN_ID="com.mysql:mysql-connector-j:9.5.0"
inherit java-pkg-2 java-pkg-simple junit5
# Bundling binary versions of oci-java-sdk-common
# According to src/build/misc/pom.xml
OSC="3.66.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"
S="${WORKDIR}/mysql-connector-j-${PV}"
LICENSE="GPL-2-with-MySQL-FLOSS-exception"
SLOT="0"
KEYWORDS="amd64"
# Most tests fail with:
# Cannot connect to MySQL server on localhost:3,306.
# Make sure that there is a MySQL server running on the machine/port you are trying to
# connect to and that the machine this software is running on is able to connect to
# this host/port (i.e. not firewalled). Also make sure that the server has not been
# started with the --skip-networking flag.
RESTRICT="test"
CP_DEPEND="
dev-java/c3p0:0
dev-java/opentelemetry-java:0
>=dev-java/protobuf-java-4.33.0:0
dev-java/slf4j-api:0
"
DEPEND="
${CP_DEPEND}
>=dev-java/guava-33.5.0:0
dev-java/incap:0
dev-java/javapoet:0
>=virtual/jdk-1.8:*
test? ( >=dev-java/hamcrest-3.0:0 )
"
RDEPEND="
${CP_DEPEND}
>=dev-java/jackson-annotations-2.20:0
>=dev-java/jackson-databind-2.20.0:0
>=dev-java/jakarta-annotation-api-3.0.0:0
>=virtual/jre-1.8:*
"
DOCS=( CHANGES README )
JAVA_CLASSPATH_EXTRA="guava incap javapoet"
JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/oci-java-sdk-common-${OSC}.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"
)
JAVA_TEST_GENTOO_CLASSPATH="hamcrest junit-5"
JAVA_TEST_SRC_DIR="src/test/java"
src_prepare() {
java-pkg-2_src_prepare
mkdir -p src/main/resources/META-INF/services || die "META-INF"
# populate META-INF/services according to line 801 build.xml
echo com.mysql.cj.jdbc.Driver \
> src/main/resources/META-INF/services/java.sql.Driver || die "META-INF"
}
src_install() {
java-pkg-simple_src_install
java-pkg_newjar "${DISTDIR}/oci-java-sdk-common-${OSC}.jar" oci-java-sdk-common.jar
java-pkg_regjar "${ED}/usr/share/jdbc-mysql/lib/oci-java-sdk-common.jar"
java-pkg_register-dependency jackson-annotations,jackson-databind,jakarta-annotation-api
}