[arch-commits] Commit in opensearch-notifications-plugin/repos/community-x86_64 (2 files)

Justin Kromlinger hashworks at gemini.archlinux.org
Thu Sep 1 21:01:57 UTC 2022


    Date: Thursday, September 1, 2022 @ 21:01:57
  Author: hashworks
Revision: 1290464

archrelease: copy trunk to community-x86_64

Added:
  opensearch-notifications-plugin/repos/community-x86_64/PKGBUILD
    (from rev 1290463, opensearch-notifications-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-notifications-plugin/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 50 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-01 21:01:54 UTC (rev 1290463)
+++ PKGBUILD	2022-09-01 21:01:57 UTC (rev 1290464)
@@ -1,45 +0,0 @@
-# Maintainer: Justin Kronotificationsinger <hashworks at archlinux.org>
-
-pkgname=opensearch-notifications-plugin
-pkgver=2.1.0.0
-pkgrel=1
-_opensearchver=2.1.0
-_jdkver=11
-pkgdesc="OpenSearch Notifications Plugin"
-arch=('x86_64')
-url="https://opensearch.org/docs/latest/notifications-plugin/index/"
-license=('Apache')
-depends=("opensearch=${_opensearchver}")
-makedepends=("java-environment=${_jdkver}" 'unzip')
-source=(
-  "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/notifications/archive/${pkgver}.tar.gz"
-)
-sha256sums=('2997b57eeacf6bf614570830d215e4464176eea4e514a738c117446f434e2858')
-
-build() {
-  cd "notifications-${pkgver}/notifications"
-  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}"
-  ./gradlew build \
-    --exclude-task "notifications:jacocoTestCoverageVerification" \
-    --exclude-task "opensearch-notifications-core:jacocoTestCoverageVerification" \
-    --exclude-task "opensearch-notifications-core-spi:jacocoTestCoverageVerification" \
-    --exclude-task "notifications:jacocoTestReport" \
-    --exclude-task "opensearch-notifications-core:jacocoTestReport" \
-    --exclude-task "opensearch-notifications-core-spi:jacocoTestReport"
-#    --exclude-task ":notifications:notificationsBwcCluster" # 2.2.0.0
-}
-
-package() {
-  install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications"
-  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications"
-  unzip "${srcdir}/notifications-${pkgver}/notifications/notifications/build/distributions/opensearch-notifications-${pkgver}.zip"
-
-  install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications-core"
-  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications-core"
-  unzip "${srcdir}/notifications-${pkgver}/notifications/core/build/distributions/opensearch-notifications-core-${pkgver}.zip"
-
-
-  install -Dm644 "${srcdir}/notifications-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: opensearch-notifications-plugin/repos/community-x86_64/PKGBUILD (from rev 1290463, opensearch-notifications-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-01 21:01:57 UTC (rev 1290464)
@@ -0,0 +1,50 @@
+# Maintainer: Justin Kronotificationsinger <hashworks at archlinux.org>
+
+pkgname=opensearch-notifications-plugin
+pkgver=2.2.1.0
+pkgrel=1
+_opensearchver=2.2.1
+_jdkver=11
+pkgdesc="OpenSearch Notifications Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/notifications-plugin/index/"
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  "${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/notifications/archive/${pkgver}.tar.gz"
+)
+sha256sums=('ec3a5dbdd99183715a28188ba4d238b5e4a25cafad906c44696cd378cf789b36')
+
+build() {
+  cd "notifications-${pkgver}/notifications"
+  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}"
+  ./gradlew build \
+    --exclude-task "notifications:jacocoTestCoverageVerification" \
+    --exclude-task "opensearch-notifications-core:jacocoTestCoverageVerification" \
+    --exclude-task "opensearch-notifications-core-spi:jacocoTestCoverageVerification" \
+    --exclude-task "notifications:jacocoTestReport" \
+    --exclude-task "opensearch-notifications-core:jacocoTestReport" \
+    --exclude-task "opensearch-notifications-core-spi:jacocoTestReport" \
+    --exclude-task ":notifications:notificationsBwcCluster#fullRestartClusterTask" \
+    --exclude-task ":notifications:notificationsBwcCluster#mixedClusterTask" \
+    --exclude-task ":notifications:notificationsBwcCluster#oldVersionClusterTask0" \
+    --exclude-task ":notifications:notificationsBwcCluster#oldVersionClusterTask1" \
+    --exclude-task ":notifications:notificationsBwcCluster#rollingUpgradeClusterTask" \
+    --exclude-task ":notifications:notificationsBwcCluster#twoThirdsUpgradedClusterTask"
+}
+
+package() {
+  install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications"
+  unzip "${srcdir}/notifications-${pkgver}/notifications/notifications/build/distributions/opensearch-notifications-${pkgver}.zip"
+
+  install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications-core"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-notifications-core"
+  unzip "${srcdir}/notifications-${pkgver}/notifications/core/build/distributions/opensearch-notifications-core-${pkgver}.zip"
+
+
+  install -Dm644 "${srcdir}/notifications-${pkgver}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list