diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-04 10:20:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-04 10:20:54 +0100 |
commit | a8a8a3282ed1a28dd4ba31bc9b19914f25761abe (patch) | |
tree | c211cfafe640aee44d9471407d3405abdba38d8f /dev-java/jdbc-mysql/jdbc-mysql-8.1.0.ebuild | |
parent | 2f71c9152cca32c3c062dabc698b3124e64f0702 (diff) |
gentoo auto-resync : 04:09:2023 - 10:20:54
Diffstat (limited to 'dev-java/jdbc-mysql/jdbc-mysql-8.1.0.ebuild')
-rw-r--r-- | dev-java/jdbc-mysql/jdbc-mysql-8.1.0.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/jdbc-mysql/jdbc-mysql-8.1.0.ebuild b/dev-java/jdbc-mysql/jdbc-mysql-8.1.0.ebuild new file mode 100644 index 000000000000..b9e815bc0824 --- /dev/null +++ b/dev-java/jdbc-mysql/jdbc-mysql-8.1.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Tests disabled, see bug #902723 +JAVA_PKG_IUSE="doc source" +MAVEN_ID="com.mysql:mysql-connector-j:8.1.0" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +# Bundling a binary version of oci-java-sdk-common +# https://github.com/oracle/oci-java-sdk/blob/v2.47.0/bmc-common/pom.xml +OSC="2.47.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 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/c3p0:0 + dev-java/protobuf-java: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_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="junit-4" +JAVA_TEST_RESOURCE_DIRS="src/test/config" +JAVA_TEST_SRC_DIR="src/test/java" |