mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
dev-java/jdbc-mysql: drop 9.4.0
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://github.com/gentoo/gentoo/pull/44765 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
committed by
Arthur Zamarin
parent
4f33c818d1
commit
820396372c
@@ -1,3 +1,2 @@
|
||||
DIST mysql-connector-j-9.4.0.tar.gz 4493403 BLAKE2B ea07fc61ff4b2f6c4e70e5263a2702eab62ca54ee0b98015c5a506ad6c0651815e5d379519fd71168764d228130f7f20542ecf6b78c90063792879ceb81cf11a SHA512 57db259a45b6b060c93f8252d5e9d1998534033db9b0ade8409bb72890701017d411482c8b11eb25c84d18bf8301c57ca200177b2e3e019f1be32e17304bc2fd
|
||||
DIST mysql-connector-j-9.5.0.tar.gz 4533369 BLAKE2B 99fd232c72f7711e928a5ea485a444c24fe919e1d438a0f7e1a50ab81717359a1247d19de965076e9b971aab33948e863a1cac8d2a05f319d583be576542832d SHA512 59c7047eeb0ca67f5e41c2950ea4d76400ce1db8d3a299da6547b17d928fa693729d6f4427124a821ac9aed121911a284744d3957be5c638e3d6bb378d0bab68
|
||||
DIST oci-java-sdk-common-3.66.0.jar 491192 BLAKE2B 9570b3d0ea16348a4cf184bd5e3bce5da7fe0d2bd69386ab92ed8d6ec8889f8db02ea70ebab7aed711dfab8891edc3a7497243424d8d8339587454e051e9afe5 SHA512 eda592ba11769b374631f8a238941736235dc7d29e67490fead6855bd6f7fca000ee8647c860d2d8b0531bf71dc2e51cdd5dd7a2b03e33bf4c29e6c9c8efc960
|
||||
|
||||
@@ -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.4.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.31.1:0
|
||||
dev-java/slf4j-api:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CP_DEPEND}
|
||||
>=dev-java/guava-33.4.8:0
|
||||
dev-java/incap:0
|
||||
dev-java/javapoet:0
|
||||
>=virtual/jdk-1.8:*
|
||||
test? ( dev-java/hamcrest:0 )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${CP_DEPEND}
|
||||
>=dev-java/bcpkix-1.80:0
|
||||
>=dev-java/bcprov-1.80: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 bcpkix,bcprov,jakarta-annotation-api
|
||||
}
|
||||
Reference in New Issue
Block a user