[arch-commits] Commit in opensearch-sql-plugin/repos/community-x86_64 (2 files)
Justin Kromlinger
hashworks at gemini.archlinux.org
Sat May 28 02:57:52 UTC 2022
Date: Saturday, May 28, 2022 @ 02:57:52
Author: hashworks
Revision: 1210920
archrelease: copy trunk to community-x86_64
Added:
opensearch-sql-plugin/repos/community-x86_64/PKGBUILD
(from rev 1210919, opensearch-sql-plugin/trunk/PKGBUILD)
Deleted:
opensearch-sql-plugin/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-28 02:57:49 UTC (rev 1210919)
+++ PKGBUILD 2022-05-28 02:57:52 UTC (rev 1210920)
@@ -1,41 +0,0 @@
-# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
-
-pkgname=opensearch-sql-plugin
-pkgver=1.3.2.0
-pkgrel=1
-_opensearchver=1.3.2
-_jdkver=11
-pkgdesc="OpenSearch SQL Plugin"
-arch=('x86_64')
-url="https://opensearch.org/docs/latest/search-plugins/sql"
-license=('Apache')
-depends=("opensearch=${_opensearchver}")
-makedepends=("java-environment=${_jdkver}" 'unzip')
-source=(
- "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/sql/archive/${pkgver}.tar.gz"
-)
-sha256sums=('44d5b518a23e80b8b0d446ca2a026c3274d8dc8e6a1418e3f31249629a1bf4d0')
-
-build() {
- cd "sql-${pkgver}"
- export JAVA_HOME="/usr/lib/jvm/java-${_jdkver}-openjdk"
- export PATH="/usr/lib/jvm/java-${_jdkver}-openjdk/bin:$PATH"
- export GRADLE_OPTS="-Dbuild.snapshot=false -Dopensearch.version=${_opensearchver}"
- # :doctest requires python 3.7
- # :sql:build and :integ-test (reaper) require JDK 14
- ./gradlew build \
- --exclude-task ":doctest:bootstrap" \
- --exclude-task ":doctest:stopOpenSearch" \
- --exclude-task ":doctest:doctest" \
- --exclude-task ":jacocoTestReport" \
- --exclude-task ":sql:build" \
- --exclude-task ":integ-test:integTest"
-}
-
-package() {
- install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-sql"
- cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-sql"
- unzip "${srcdir}/sql-${pkgver}/plugin/build/distributions/opensearch-sql-${pkgver}.zip"
-
- install -Dm644 "${srcdir}/sql-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
Copied: opensearch-sql-plugin/repos/community-x86_64/PKGBUILD (from rev 1210919, opensearch-sql-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-28 02:57:52 UTC (rev 1210920)
@@ -0,0 +1,41 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+
+pkgname=opensearch-sql-plugin
+pkgver=2.0.0.0
+pkgrel=1
+_opensearchver=2.0.0
+_jdkver=11
+pkgdesc="OpenSearch SQL Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/search-plugins/sql"
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+ "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/sql/archive/${pkgver}.tar.gz"
+)
+sha256sums=('97283f4e9cf3ad766d6c343afad7738c10008ce0c31e8764758d4e564ed9e99b')
+
+build() {
+ cd "sql-${pkgver}"
+ export JAVA_HOME="/usr/lib/jvm/java-${_jdkver}-openjdk"
+ export PATH="/usr/lib/jvm/java-${_jdkver}-openjdk/bin:$PATH"
+ export GRADLE_OPTS="-Dbuild.snapshot=false -Dopensearch.version=${_opensearchver}"
+ # :doctest requires python 3.7
+ # :sql:build and :integ-test (reaper) require JDK 14
+ ./gradlew build \
+ --exclude-task ":doctest:bootstrap" \
+ --exclude-task ":doctest:stopOpenSearch" \
+ --exclude-task ":doctest:doctest" \
+ --exclude-task ":jacocoTestReport" \
+ --exclude-task ":sql:build" \
+ --exclude-task ":integ-test:integTest"
+}
+
+package() {
+ install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-sql"
+ cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-sql"
+ unzip "${srcdir}/sql-${pkgver}/plugin/build/distributions/opensearch-sql-${pkgver}.zip"
+
+ install -Dm644 "${srcdir}/sql-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}
More information about the arch-commits
mailing list