summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-03-24 09:53:56 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2023-03-24 09:53:56 +0100
commit2017b8b56fa86dd2ba1f28e6ef447491b9175e80 (patch)
treed0559659eb29d1f84eec29fb7eecc921ca17ac47 /dev-java/jdbc-postgresql/jdbc-postgresql-42.6.0.ebuild
parentnet-im/dino: bump 0.4.1 → 0.4.2 and 0.3.0-r1 → 0.3.2 (diff)
downloadgentoo-2017b8b56fa86dd2ba1f28e6ef447491b9175e80.tar.gz
gentoo-2017b8b56fa86dd2ba1f28e6ef447491b9175e80.tar.bz2
gentoo-2017b8b56fa86dd2ba1f28e6ef447491b9175e80.zip
dev-java/jdbc-postgresql: bump to 42.6.0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jdbc-postgresql/jdbc-postgresql-42.6.0.ebuild')
-rw-r--r--dev-java/jdbc-postgresql/jdbc-postgresql-42.6.0.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-42.6.0.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-42.6.0.ebuild
new file mode 100644
index 000000000000..a4baf0bb17cd
--- /dev/null
+++ b/dev-java/jdbc-postgresql/jdbc-postgresql-42.6.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 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://jdbc.postgresql.org/download/postgresql-jdbc-42.6.0.src.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild jdbc-postgresql-42.6.0.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.postgresql:postgresql:42.6.0"
+# We don't have junit-vintage and junit-jupiter.
+# JAVA_TESTING_FRAMEWORKS="junit-vintage junit-jupiter junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java JDBC 4.2 (JRE 8+) driver for PostgreSQL database"
+HOMEPAGE="https://jdbc.postgresql.org/"
+SRC_URI="https://jdbc.postgresql.org/download/postgresql-jdbc-${PV}.src.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+# Common dependencies
+# POM: pom.xml
+# com.ongres.scram:client:2.1 -> >=dev-java/scram-2.1:0
+# uk.org.webcompere:system-stubs-jupiter:2.0.1 -> !!!groupId-not-found!!!
+
+CP_DEPEND="dev-java/scram:0"
+
+# Compile dependencies
+# POM: pom.xml
+# test? junit:junit:4.13 -> >=dev-java/junit-4.13.2:4
+# test? org.junit.jupiter:junit-jupiter-api:5.8.2 -> !!!groupId-not-found!!!
+# test? org.junit.jupiter:junit-jupiter-engine:5.8.2 -> !!!groupId-not-found!!!
+# test? org.junit.jupiter:junit-jupiter-params:5.8.2 -> !!!groupId-not-found!!!
+# test? org.junit.vintage:junit-vintage-engine:5.8.2 -> !!!groupId-not-found!!!
+# test? se.jiderhamn:classloader-leak-test-framework:1.1.1 -> !!!groupId-not-found!!!
+
+DEPEND="
+ >=virtual/jdk-1.8:*
+ ${CP_DEPEND}"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+
+S="${WORKDIR}/postgresql-${PV}-jdbc-src"
+
+JAVA_MAIN_CLASS="org.postgresql.util.PGJDBCMain"
+JAVA_SRC_DIR="src/main/java"
+JAVA_RESOURCE_DIRS="src/main/resources"