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

Leonidas Spyropoulos artafinde at gemini.archlinux.org
Mon Jul 11 09:14:45 UTC 2022


    Date: Monday, July 11, 2022 @ 09:14:45
  Author: artafinde
Revision: 1249515

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards-observability-plugin/repos/community-x86_64/PKGBUILD
    (from rev 1249514, opensearch-dashboards-observability-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-dashboards-observability-plugin/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-11 09:14:41 UTC (rev 1249514)
+++ PKGBUILD	2022-07-11 09:14:45 UTC (rev 1249515)
@@ -1,50 +0,0 @@
-# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
-
-pkgname='opensearch-dashboards-observability-plugin'
-_pluginname='observability-dashboards-plugin'
-pkgver=2.0.1.0
-_dashboardsver=2.0.1
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Observability Plugin'
-url='https://opensearch.org/docs/latest/observability/index/'
-arch=('x86_64')
-license=('Apache')
-depends=("opensearch-dashboards=${_dashboardsver}" 'gnuplot')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/observability.git#tag=${pkgver}"
-  "git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}"
-)
-sha256sums=('SKIP'
-            'SKIP')
-
-prepare() {
-  nodeVersion="$(node -v)"
-  # Yes, you support this version. You just don't know it yet.
-  sed -i "s/    \"node\": \"[0-9\.]*\",/    \"node\": \"${nodeVersion:1}\",/" "OpenSearch-Dashboards/package.json"
-}
-
-build() {
-  mv "observability/dashboards-observability" "OpenSearch-Dashboards/plugins/${_pluginname}"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn build --skip-archive
-}
-
-# TODO: Fix tests
-#check() {
-#  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-#  yarn test
-#}
-
-package() {
-  install -Dm644 "${srcdir}/observability/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}/build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete
-}
-
-# vim: ts=2 sw=2 et:

Copied: opensearch-dashboards-observability-plugin/repos/community-x86_64/PKGBUILD (from rev 1249514, opensearch-dashboards-observability-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-11 09:14:45 UTC (rev 1249515)
@@ -0,0 +1,50 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+
+pkgname='opensearch-dashboards-observability-plugin'
+_pluginname='observability-dashboards-plugin'
+pkgver=2.1.0.0
+_dashboardsver=2.1.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Observability Plugin'
+url='https://opensearch.org/docs/latest/observability/index/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}" 'gnuplot')
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/observability.git#tag=${pkgver}"
+  "git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}"
+)
+sha256sums=('SKIP'
+            'SKIP')
+
+prepare() {
+  nodeVersion="$(node -v)"
+  # Yes, you support this version. You just don't know it yet.
+  sed -i "s/    \"node\": \"[0-9\.]*\",/    \"node\": \"${nodeVersion:1}\",/" "OpenSearch-Dashboards/package.json"
+}
+
+build() {
+  mv "observability/dashboards-observability" "OpenSearch-Dashboards/plugins/${_pluginname}"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn build --skip-archive
+}
+
+# TODO: Fix tests
+#check() {
+#  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+#  yarn test
+#}
+
+package() {
+  install -Dm644 "${srcdir}/observability/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}/build/opensearch-dashboards/"* "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  find "${pkgdir}/usr/share/opensearch-dashboards/plugins" -type d -empty -delete
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list