[arch-commits] Commit in nerdctl/repos/community-x86_64 (4 files)

2022-03-25 Thread George Rawlinson via arch-commits
Date: Saturday, March 26, 2022 @ 04:01:47
  Author: grawlinson
Revision: 1176800

archrelease: copy trunk to community-x86_64

Added:
  nerdctl/repos/community-x86_64/PKGBUILD
(from rev 1176799, nerdctl/trunk/PKGBUILD)
  nerdctl/repos/community-x86_64/skip-failing-test.patch
(from rev 1176799, nerdctl/trunk/skip-failing-test.patch)
Deleted:
  nerdctl/repos/community-x86_64/PKGBUILD
  nerdctl/repos/community-x86_64/skip-failing-test.patch

-+
 PKGBUILD|  156 +++---
 skip-failing-test.patch |   60 -
 2 files changed, 108 insertions(+), 108 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-26 04:00:56 UTC (rev 1176799)
+++ PKGBUILD2022-03-26 04:01:47 UTC (rev 1176800)
@@ -1,78 +0,0 @@
-# Maintainer: George Rawlinson 
-
-pkgname=nerdctl
-pkgver=0.17.1
-pkgrel=2
-pkgdesc="Docker-compatible CLI for containerd"
-arch=('x86_64')
-url="https://github.com/containerd/nerdctl;
-license=('Apache')
-depends=('containerd')
-makedepends=('git' 'go')
-optdepends=(
-  'buildkit: to build OCI images'
-  'cni-plugins: to run OCI images'
-  'rootlesskit: for rootless mode'
-  'slirp4netns: for rootless mode'
-)
-options=('!lto')
-_commit='20233c26d26f11ca73a9a775fba87ca884ab14d2' # v0.17.1
-source=(
-  "$pkgname::git+$url.git#commit=$_commit"
-  'skip-failing-test.patch'
-)
-sha512sums=('SKIP'
-
'c168de6147edcebf31df4b2e22dc830cad62b81780d10105aada8e17347523747d413c4398bec3840f079a37177b6f9c3ca87c8f0119f4f651f7e4c6462eb8b3')
-b2sums=('SKIP'
-
'c4dd2803d0fb6ef0067ee2ec3fb34f606618e157264e03f9b607629900b11a774f484c8cb320054f90911400bb436ca65f024bf5d63f39766e5b7f19fd8814e5')
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod download
-
-  # skip failing unit test
-  patch -p1 -i ../skip-failing-test.patch
-}
-
-build() {
-  cd "$pkgname"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
--trimpath \
--buildmode=pie \
--mod=readonly \
--modcacherw \
--ldflags "-linkmode external -extldflags ${LDFLAGS} \
--X github.com/containerd/nerdctl/pkg/version.Version=$pkgver \
--X github.com/containerd/nerdctl/pkg/version.Revision=$(git rev-parse 
HEAD)" \
--o build \
-./cmd/...
-}
-
-check() {
-  cd "$pkgname"
-
-  go test -v ./pkg/...
-}
-
-package() {
-  cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" build/nerdctl
-}

Copied: nerdctl/repos/community-x86_64/PKGBUILD (from rev 1176799, 
nerdctl/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-26 04:01:47 UTC (rev 1176800)
@@ -0,0 +1,78 @@
+# Maintainer: George Rawlinson 
+
+pkgname=nerdctl
+pkgver=0.18.0
+pkgrel=1
+pkgdesc="Docker-compatible CLI for containerd"
+arch=('x86_64')
+url="https://github.com/containerd/nerdctl;
+license=('Apache')
+depends=('containerd')
+makedepends=('git' 'go')
+optdepends=(
+  'buildkit: to build OCI images'
+  'cni-plugins: to run OCI images'
+  'rootlesskit: for rootless mode'
+  'slirp4netns: for rootless mode'
+)
+options=('!lto')
+_commit='77276ff0fffad3f855ab9f2f5a4ad5527ef76485'
+source=(
+  "$pkgname::git+$url.git#commit=$_commit"
+  'skip-failing-test.patch'
+)
+sha512sums=('SKIP'
+
'c168de6147edcebf31df4b2e22dc830cad62b81780d10105aada8e17347523747d413c4398bec3840f079a37177b6f9c3ca87c8f0119f4f651f7e4c6462eb8b3')
+b2sums=('SKIP'
+
'c4dd2803d0fb6ef0067ee2ec3fb34f606618e157264e03f9b607629900b11a774f484c8cb320054f90911400bb436ca65f024bf5d63f39766e5b7f19fd8814e5')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+
+  # skip failing unit test
+  patch -p1 -i ../skip-failing-test.patch
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+-trimpath \
+-buildmode=pie \
+-mod=readonly \
+-modcacherw \
+-ldflags "-linkmode external -extldflags ${LDFLAGS} \
+-X github.com/containerd/nerdctl/pkg/version.Version=$pkgver \
+-X github.com/containerd/nerdctl/pkg/version.Revision=$(git rev-parse 
HEAD)" \
+-o build \
+./cmd/...
+}
+
+check() {
+  cd "$pkgname"
+
+  go test -v ./pkg/...
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" build/nerdctl
+}

Deleted: skip-failing-test.patch
===
--- skip-failing-test.patch 

[arch-commits] Commit in nerdctl/trunk (PKGBUILD)

2022-03-25 Thread George Rawlinson via arch-commits
Date: Saturday, March 26, 2022 @ 04:00:56
  Author: grawlinson
Revision: 1176799

upgpkg: nerdctl 0.18.0-1

New upstream release.

Modified:
  nerdctl/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 03:58:37 UTC (rev 1176798)
+++ PKGBUILD2022-03-26 04:00:56 UTC (rev 1176799)
@@ -1,8 +1,8 @@
 # Maintainer: George Rawlinson 
 
 pkgname=nerdctl
-pkgver=0.17.1
-pkgrel=2
+pkgver=0.18.0
+pkgrel=1
 pkgdesc="Docker-compatible CLI for containerd"
 arch=('x86_64')
 url="https://github.com/containerd/nerdctl;
@@ -16,7 +16,7 @@
   'slirp4netns: for rootless mode'
 )
 options=('!lto')
-_commit='20233c26d26f11ca73a9a775fba87ca884ab14d2' # v0.17.1
+_commit='77276ff0fffad3f855ab9f2f5a4ad5527ef76485'
 source=(
   "$pkgname::git+$url.git#commit=$_commit"
   'skip-failing-test.patch'



[arch-commits] Commit in dbmate/repos/community-x86_64 (PKGBUILD PKGBUILD)

2022-03-25 Thread George Rawlinson via arch-commits
Date: Saturday, March 26, 2022 @ 03:58:37
  Author: grawlinson
Revision: 1176798

archrelease: copy trunk to community-x86_64

Added:
  dbmate/repos/community-x86_64/PKGBUILD
(from rev 1176797, dbmate/trunk/PKGBUILD)
Deleted:
  dbmate/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  134 ++---
 1 file changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-26 03:57:58 UTC (rev 1176797)
+++ PKGBUILD2022-03-26 03:58:37 UTC (rev 1176798)
@@ -1,67 +0,0 @@
-# Maintainer: George Rawlinson 
-# Contributor: Marco A Rojas 
-
-pkgname=dbmate
-pkgver=1.14.0
-pkgrel=1
-pkgdesc="A lightweight, framework-agnostic database migration tool"
-arch=('x86_64')
-url="https://github.com/amacneil/dbmate;
-license=('MIT')
-depends=('glibc')
-makedepends=('git' 'go')
-optdepends=(
-  'mariadb: for local MariaDB instance'
-  'postgresql: for local PostgreSQL instance'
-  'sqlite: for local SQLite instance'
-)
-options=('!lto')
-_commit='519f186c8a3daec086608b2c21677c672eda56db'
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod download
-}
-
-build() {
-  cd "$pkgname"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
--trimpath \
--buildmode=pie \
--mod=readonly \
--modcacherw \
--ldflags "-linkmode external -extldflags ${LDFLAGS}" \
--o build \
-.
-}
-
-package() {
-  cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" "build/$pkgname"
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: dbmate/repos/community-x86_64/PKGBUILD (from rev 1176797, 
dbmate/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-26 03:58:37 UTC (rev 1176798)
@@ -0,0 +1,67 @@
+# Maintainer: George Rawlinson 
+# Contributor: Marco A Rojas 
+
+pkgname=dbmate
+pkgver=1.15.0
+pkgrel=1
+pkgdesc="A lightweight, framework-agnostic database migration tool"
+arch=('x86_64')
+url="https://github.com/amacneil/dbmate;
+license=('MIT')
+depends=('glibc')
+makedepends=('git' 'go')
+optdepends=(
+  'mariadb: for local MariaDB instance'
+  'postgresql: for local PostgreSQL instance'
+  'sqlite: for local SQLite instance'
+)
+options=('!lto')
+_commit='c0555a1df809cabd0eb3a4b796b9ab78e653c871'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+-trimpath \
+-buildmode=pie \
+-mod=readonly \
+-modcacherw \
+-ldflags "-linkmode external -extldflags ${LDFLAGS}" \
+-o build \
+.
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "build/$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}



[arch-commits] Commit in dbmate/trunk (PKGBUILD)

2022-03-25 Thread George Rawlinson via arch-commits
Date: Saturday, March 26, 2022 @ 03:57:58
  Author: grawlinson
Revision: 1176797

upgpkg: dbmate 1.15.0-1

New upstream release.

Modified:
  dbmate/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 01:12:54 UTC (rev 1176796)
+++ PKGBUILD2022-03-26 03:57:58 UTC (rev 1176797)
@@ -2,7 +2,7 @@
 # Contributor: Marco A Rojas 
 
 pkgname=dbmate
-pkgver=1.14.0
+pkgver=1.15.0
 pkgrel=1
 pkgdesc="A lightweight, framework-agnostic database migration tool"
 arch=('x86_64')
@@ -16,7 +16,7 @@
   'sqlite: for local SQLite instance'
 )
 options=('!lto')
-_commit='519f186c8a3daec086608b2c21677c672eda56db'
+_commit='c0555a1df809cabd0eb3a4b796b9ab78e653c871'
 source=("$pkgname::git+$url.git#commit=$_commit")
 b2sums=('SKIP')
 



[arch-commits] Commit in clash-ghc/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 01:12:54
  Author: felixonmars
Revision: 1176796

archrelease: copy trunk to community-staging-x86_64

Added:
  clash-ghc/repos/community-staging-x86_64/
  clash-ghc/repos/community-staging-x86_64/PKGBUILD
(from rev 1176795, clash-ghc/trunk/PKGBUILD)

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Copied: clash-ghc/repos/community-staging-x86_64/PKGBUILD (from rev 1176795, 
clash-ghc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-26 01:12:54 UTC (rev 1176796)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+pkgname=clash-ghc
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="CAES Language for Synchronous Hardware"
+url="https://clash-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-clash-lib' 'haskell-clash-prelude' 
'haskell-concurrent-supply'
+ 'haskell-data-binary-ieee754' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-hashable'
+ 'haskell-lens' 'haskell-primitive' 'haskell-reflection' 
'haskell-split' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc')
+conflicts=('clash')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('3a4b1bae4bb9debda2987579baa8c60e546c588ab969a6ae9ee1c847c3fc83cd7bb43cf16b8334499ac7c70ff56ed409d575b1f2ada2c1a28601b12b2508ee67')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in clash-ghc/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 01:12:43
  Author: felixonmars
Revision: 1176795

upgpkg: clash-ghc 1.6.1-1: rebuild with clash-ghc 1.6.1, clash-lib 1.6.1, 
clash-prelude 1.6.1

Modified:
  clash-ghc/trunk/PKGBUILD

--+
 PKGBUILD |   17 ++---
 1 file changed, 6 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 01:10:51 UTC (rev 1176794)
+++ PKGBUILD2022-03-26 01:12:43 UTC (rev 1176795)
@@ -1,27 +1,22 @@
 # Maintainer: Felix Yan 
 
 pkgname=clash-ghc
-pkgver=1.4.7
-pkgrel=27
+pkgver=1.6.1
+pkgrel=1
 pkgdesc="CAES Language for Synchronous Hardware"
 url="https://clash-lang.org/;
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-bifunctors' 'haskell-clash-lib' 
'haskell-clash-prelude'
- 'haskell-concurrent-supply' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
+depends=('ghc-libs' 'haskell-clash-lib' 'haskell-clash-prelude' 
'haskell-concurrent-supply'
+ 'haskell-data-binary-ieee754' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-typelits-extra'
  'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-hashable'
  'haskell-lens' 'haskell-primitive' 'haskell-reflection' 
'haskell-split' 'haskell-uniplate'
  'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector')
-makedepends=('ghc' 'uusi')
+makedepends=('ghc')
 conflicts=('clash')
 
source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha512sums=('f8f0cee5f465583627d098d7eef1e57dcbd86134b1b70cd89f804cba6a1da63a4e1d01b8b360a3ae81758ee884daa0950d6e5d6b16ac2f5e53f9eeb7d0b1c306')
+sha512sums=('3a4b1bae4bb9debda2987579baa8c60e546c588ab969a6ae9ee1c847c3fc83cd7bb43cf16b8334499ac7c70ff56ed409d575b1f2ada2c1a28601b12b2508ee67')
 
-prepare() {
-  cd $pkgname-$pkgver
-  uusi -u ghc-bignum $pkgname.cabal
-}
-
 build() {
   cd $pkgname-$pkgver
 



[arch-commits] Commit in haskell-clash-lib/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 01:10:51
  Author: felixonmars
Revision: 1176794

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-lib/repos/community-staging-x86_64/
  haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD
(from rev 1176793, haskell-clash-lib/trunk/PKGBUILD)

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD (from rev 
1176793, haskell-clash-lib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-26 01:10:51 UTC (rev 1176794)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-lib
+pkgname=haskell-clash-lib
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="Clash: a functional hardware description language - As a library"
+url="https://clash-lang.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal' 'haskell-async'
+ 'haskell-attoparsec' 'haskell-base16-bytestring' 
'haskell-clash-prelude'
+ 'haskell-concurrent-supply' 'haskell-cryptohash-sha256' 
'haskell-data-binary-ieee754'
+ 'haskell-data-default' 'haskell-dlist' 'haskell-extra' 'haskell-ghc' 
'haskell-glob'
+ 'haskell-hashable' 'haskell-src-meta' 'haskell-hint' 
'haskell-interpolate' 'haskell-lens'
+ 'haskell-ordered-containers' 'haskell-pretty-show' 
'haskell-prettyprinter'
+ 'haskell-primitive' 'haskell-stringsearch' 'haskell-temporary' 
'haskell-terminal-size'
+ 'haskell-trifecta' 'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-yaml')
+makedepends=('ghc' 'haskell-ghc-typelits-knownnat' 'haskell-quickcheck-text' 
'haskell-src-exts'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('0e92170df5bf0f4c67327d7d8a54645d4bba4f9f16ced610dfabc85b70a3babe4e431894c1035e8a73860fa24b5cbe75b355a6273ec0f1cd709e7916661484fa')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-clash-lib/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 01:10:40
  Author: felixonmars
Revision: 1176793

upgpkg: haskell-clash-lib 1.6.1-1: rebuild with clash-ghc 1.6.1, clash-lib 
1.6.1, clash-prelude 1.6.1

Modified:
  haskell-clash-lib/trunk/PKGBUILD

--+
 PKGBUILD |   26 ++
 1 file changed, 10 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 01:04:52 UTC (rev 1176792)
+++ PKGBUILD2022-03-26 01:10:40 UTC (rev 1176793)
@@ -2,32 +2,26 @@
 
 _hkgname=clash-lib
 pkgname=haskell-clash-lib
-pkgver=1.4.7
-pkgrel=27
+pkgver=1.6.1
+pkgrel=1
 pkgdesc="Clash: a functional hardware description language - As a library"
 url="https://clash-lang.org/;
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal' 'haskell-async'
  'haskell-attoparsec' 'haskell-base16-bytestring' 
'haskell-clash-prelude'
  'haskell-concurrent-supply' 'haskell-cryptohash-sha256' 
'haskell-data-binary-ieee754'
- 'haskell-data-default' 'haskell-dlist' 'haskell-errors' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-data-default' 'haskell-dlist' 'haskell-extra' 'haskell-ghc' 
'haskell-glob'
  'haskell-hashable' 'haskell-src-meta' 'haskell-hint' 
'haskell-interpolate' 'haskell-lens'
- 'haskell-ordered-containers' 'haskell-parsers' 'haskell-pretty-show'
- 'haskell-prettyprinter' 'haskell-primitive' 'haskell-reducers' 
'haskell-temporary'
- 'haskell-terminal-size' 'haskell-text-show' 'haskell-trifecta'
- 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector'
- 'haskell-vector-binary-instances')
-makedepends=('ghc' 'uusi' 'haskell-ghc-typelits-knownnat' 
'haskell-quickcheck-text' 'haskell-src-exts'
+ 'haskell-ordered-containers' 'haskell-pretty-show' 
'haskell-prettyprinter'
+ 'haskell-primitive' 'haskell-stringsearch' 'haskell-temporary' 
'haskell-terminal-size'
+ 'haskell-trifecta' 'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-yaml')
+makedepends=('ghc' 'haskell-ghc-typelits-knownnat' 'haskell-quickcheck-text' 
'haskell-src-exts'
  'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
-sha512sums=('587ab6f6d11289bbf0d3ad7da9b425316758e0c093186638afe8fe562af7534c679b654274670b854e0c2a8ae444992ac3d65d791c2cb94c48cec3ea3c730416')
+sha512sums=('0e92170df5bf0f4c67327d7d8a54645d4bba4f9f16ced610dfabc85b70a3babe4e431894c1035e8a73860fa24b5cbe75b355a6273ec0f1cd709e7916661484fa')
 
-prepare() {
-  cd $_hkgname-$pkgver
-  uusi -u ghc-bignum $_hkgname.cabal
-}
-
 build() {
   cd $_hkgname-$pkgver
 



[arch-commits] Commit in haskell-clash-prelude/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 01:04:52
  Author: felixonmars
Revision: 1176792

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-prelude/repos/community-staging-x86_64/
  haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD
(from rev 1176791, haskell-clash-prelude/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD (from rev 
1176791, haskell-clash-prelude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-26 01:04:52 UTC (rev 1176792)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-prelude
+pkgname=haskell-clash-prelude
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="Clash: a functional hardware description language - Prelude library"
+url="https://github.com/clash-lang/clash-prelude;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-arrows' 'haskell-constraints' 
'haskell-data-binary-ieee754'
+ 'haskell-data-default-class' 'haskell-extra' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-half'
+ 'haskell-hashable' 'haskell-interpolate' 'haskell-lens' 
'haskell-quickcheck'
+ 'haskell-recursion-schemes' 'haskell-reflection' 'haskell-singletons'
+ 'haskell-th-abstraction' 'haskell-th-lift' 'haskell-th-orphans' 
'haskell-type-errors'
+ 'haskell-uniplate' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-doctest-parallel' 'haskell-hedgehog' 
'haskell-hint'
+ 'haskell-quickcheck-classes-base' 'haskell-tasty' 
'haskell-tasty-hedgehog'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-th')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('362274232a9afb85acfacb9563af3837c9b81c5a7ec7dc42884192f533971ca16ea4b4fd0eafdbe05d2a2805085d3c25c6bb2927c13beba7af5a3effdfff429e')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u hedgehog $_hkgname.cabal
+gen-setup
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# TODO
+runhaskell Setup test --show-details=direct || warning "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-clash-prelude/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 01:04:41
  Author: felixonmars
Revision: 1176791

upgpkg: haskell-clash-prelude 1.6.1-1: rebuild with clash-ghc 1.6.1, clash-lib 
1.6.1, clash-prelude 1.6.1

Modified:
  haskell-clash-prelude/trunk/PKGBUILD

--+
 PKGBUILD |   30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 01:00:11 UTC (rev 1176790)
+++ PKGBUILD2022-03-26 01:04:41 UTC (rev 1176791)
@@ -2,29 +2,29 @@
 
 _hkgname=clash-prelude
 pkgname=haskell-clash-prelude
-pkgver=1.4.7
-pkgrel=27
+pkgver=1.6.1
+pkgrel=1
 pkgdesc="Clash: a functional hardware description language - Prelude library"
 url="https://github.com/clash-lang/clash-prelude;
 license=('BSD')
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-arrows' 'haskell-bifunctors' 'haskell-constraints'
- 'haskell-data-binary-ieee754' 'haskell-data-default-class' 
'haskell-extra'
- 'haskell-ghc-typelits-extra' 'haskell-ghc-typelits-knownnat'
- 'haskell-ghc-typelits-natnormalise' 'haskell-half' 'haskell-hashable' 
'haskell-interpolate'
- 'haskell-lens' 'haskell-quickcheck' 'haskell-recursion-schemes' 
'haskell-reflection'
- 'haskell-singletons' 'haskell-th-abstraction' 'haskell-th-lift' 
'haskell-text-show'
- 'haskell-th-orphans' 'haskell-type-errors' 'haskell-uniplate' 
'haskell-vector')
-makedepends=('ghc' 'uusi' 'haskell-cabal-doctest' 'haskell-doctest' 
'haskell-hedgehog'
- 'haskell-hint' 'haskell-quickcheck-classes-base' 'haskell-tasty'
- 'haskell-tasty-hedgehog' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
- 'haskell-tasty-th')
+depends=('ghc-libs' 'haskell-arrows' 'haskell-constraints' 
'haskell-data-binary-ieee754'
+ 'haskell-data-default-class' 'haskell-extra' 
'haskell-ghc-typelits-extra'
+ 'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 
'haskell-half'
+ 'haskell-hashable' 'haskell-interpolate' 'haskell-lens' 
'haskell-quickcheck'
+ 'haskell-recursion-schemes' 'haskell-reflection' 'haskell-singletons'
+ 'haskell-th-abstraction' 'haskell-th-lift' 'haskell-th-orphans' 
'haskell-type-errors'
+ 'haskell-uniplate' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-doctest-parallel' 'haskell-hedgehog' 
'haskell-hint'
+ 'haskell-quickcheck-classes-base' 'haskell-tasty' 
'haskell-tasty-hedgehog'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-th')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('8e8d35aa7795fcb38886b11b5ffd62185c5f731beb9c4ca9aebbc9dd3c77aa7558a1fb09655668974ef69bbc8ffa06abddf9558feefc065dbd149caa583a6151')
+sha512sums=('362274232a9afb85acfacb9563af3837c9b81c5a7ec7dc42884192f533971ca16ea4b4fd0eafdbe05d2a2805085d3c25c6bb2927c13beba7af5a3effdfff429e')
 
 prepare() {
 cd $_hkgname-$pkgver
-uusi -u doctest -u hedgehog $_hkgname.cabal
+uusi -u hedgehog $_hkgname.cabal
+gen-setup
 }
 
 build() {



[arch-commits] Commit in rustypaste/trunk (4 files)

2022-03-25 Thread Frederik Schwan via arch-commits
Date: Saturday, March 26, 2022 @ 00:16:00
  Author: freswa
Revision: 1176787

remove unused systemd files

Deleted:
  rustypaste/trunk/rustypaste.env
  rustypaste/trunk/rustypaste.service
  rustypaste/trunk/rustypaste.sysusers
  rustypaste/trunk/rustypaste.tmpfiles

-+
 rustypaste.env  |2 --
 rustypaste.service  |   31 ---
 rustypaste.sysusers |1 -
 rustypaste.tmpfiles |1 -
 4 files changed, 35 deletions(-)

Deleted: rustypaste.env
===
--- rustypaste.env  2022-03-26 00:08:55 UTC (rev 1176786)
+++ rustypaste.env  2022-03-26 00:16:00 UTC (rev 1176787)
@@ -1,2 +0,0 @@
-# To enable basic HTTP auth, set the AUTH_TOKEN
-AUTH_TOKEN=""

Deleted: rustypaste.service
===
--- rustypaste.service  2022-03-26 00:08:55 UTC (rev 1176786)
+++ rustypaste.service  2022-03-26 00:16:00 UTC (rev 1176787)
@@ -1,31 +0,0 @@
-[Unit]
-Description=Rustypaste server
-After=network-online.target
-Wants=network-online.target systemd-networkd-wait-online.service
-
-[Service]
-User=rustypaste
-Group=rustypaste
-ExecStart=/usr/bin/rustypaste
-ReadWritePaths=/var/lib/rustypaste
-ReadOnlyPaths=/etc/rustypaste
-
-WorkingDirectory=/var/lib/rustypaste
-Environment="CONFIG=/etc/rustypaste/config.toml"
-EnvironmentFile=/etc/rustypaste/rustypaste.env
-
-# Hardening options
-CapabilityBoundingSet=
-AmbientCapabilities=
-NoNewPrivileges=true
-ProtectHome=true
-ProtectSystem=strict
-ProtectKernelTunables=true
-ProtectKernelModules=true
-ProtectControlGroups=true
-PrivateTmp=true
-PrivateDevices=true
-LockPersonality=true
-
-[Install]
-WantedBy=multi-user.target

Deleted: rustypaste.sysusers
===
--- rustypaste.sysusers 2022-03-26 00:08:55 UTC (rev 1176786)
+++ rustypaste.sysusers 2022-03-26 00:16:00 UTC (rev 1176787)
@@ -1 +0,0 @@
-u rustypaste - "Minimal file upload/pastebin service" /var/lib/rustypaste

Deleted: rustypaste.tmpfiles
===
--- rustypaste.tmpfiles 2022-03-26 00:08:55 UTC (rev 1176786)
+++ rustypaste.tmpfiles 2022-03-26 00:16:00 UTC (rev 1176787)
@@ -1 +0,0 @@
-d /var/lib/rustypaste 0750 rustypaste rustypaste



[arch-commits] Commit in xmobar/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 00:07:54
  Author: felixonmars
Revision: 1176784

archrelease: copy trunk to community-staging-x86_64

Added:
  xmobar/repos/community-staging-x86_64/
  xmobar/repos/community-staging-x86_64/PKGBUILD
(from rev 1176783, xmobar/trunk/PKGBUILD)

--+
 PKGBUILD |   69 +
 1 file changed, 69 insertions(+)

Copied: xmobar/repos/community-staging-x86_64/PKGBUILD (from rev 1176783, 
xmobar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-26 00:07:54 UTC (rev 1176784)
@@ -0,0 +1,69 @@
+# Maintainer: Levente Polyak 
+# Maintainer: Jelle van der Waa 
+# Contributer: Sergej Pupykin 
+# Contributor: Arch Haskell Team 
+
+pkgname=xmobar
+pkgver=0.39
+pkgrel=120
+pkgdesc='Minimalistic Text Based Status Bar'
+url='https://hackage.haskell.org/package/xmobar'
+license=('BSD')
+arch=('x86_64')
+depends=('libxft' 'libxinerama' 'libxrandr' 'libxpm' 'ghc-libs' 'haskell-x11'
+ 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-network-uri'
+ 'haskell-hinotify' 'haskell-parsec-numbers'
+ 'haskell-regex-compat' 'haskell-old-locale'
+ 'haskell-http' 'haskell-dbus' 'haskell-libmpd' 'haskell-cereal' 
'haskell-netlink'
+ 'haskell-async' 'haskell-aeson'
+ 'haskell-timezone-olson' 'haskell-timezone-series' 'alsa-lib'
+ 'haskell-extensible-exceptions' 'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-http-client-tls' 'haskell-alsa-core' 
'haskell-alsa-mixer')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-temporary')
+source=(https://github.com/jaor/xmobar/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('a47d7cf16fdea4bece1d622db1c2ac76acc9d9369043eec6ff41a22c1f59c9757932fbcebfe804a636c783e9a66317bb3aaf72edc4a373c48e7db3c9292d9658')
+
+prepare() {
+  cd xmobar-${pkgver}
+  uusi -u base xmobar.cabal
+}
+
+build() {
+  cd xmobar-${pkgver}
+
+  _flags=(with_xft with_utf8 with_inotify with_mpd with_alsa with_nl80211
+  with_datezone with_mpris with_dbus with_xpm with_threaded
+  with_rtsopts with_weather)
+
+  runhaskell setup configure -O \
+--enable-shared \
+--enable-executable-dynamic \
+--disable-library-vanilla \
+--prefix=/usr \
+--dynlibdir=/usr/lib \
+--libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' \
+--flags="${_flags[*]}" \
+--enable-tests
+  runhaskell setup build
+  runhaskell setup register --gen-script
+  runhaskell setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd xmobar-${pkgver}
+  runhaskell setup test
+}
+
+package() {
+  cd xmobar-${pkgver}
+  install -Dm 744 register.sh   
"${pkgdir}/usr/share/haskell/register/xmobar.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/xmobar.sh"
+  runhaskell setup copy --destdir="${pkgdir}"
+  install -Dm 644 license -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in eslint/trunk (PKGBUILD)

2022-03-25 Thread Daniel M. Capella via arch-commits
Date: Saturday, March 26, 2022 @ 00:08:33
  Author: polyzen
Revision: 1176785

upgpkg: eslint 8.12.0-1

Modified:
  eslint/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 00:07:54 UTC (rev 1176784)
+++ PKGBUILD2022-03-26 00:08:33 UTC (rev 1176785)
@@ -2,7 +2,7 @@
 # Maintainer: Daniel M. Capella 
 
 pkgname=eslint
-pkgver=8.11.0
+pkgver=8.12.0
 pkgrel=1
 pkgdesc='An AST-based pattern checker for JavaScript'
 arch=('any')
@@ -12,7 +12,7 @@
 makedepends=('npm' 'rsync')
 options=('!emptydirs')
 
source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-b2sums=('fe80db0438b961c2ba29207444a3e1712fc98217bb56c0c468cab8c22c412f814dee123cb0092793ef9043470988e02858dcfb0c7d58e544ab7ae8e96107edbb')
+b2sums=('fec6008d2747c3a4bda1389476d3a2f84db6c783611f8c442fdbd655ed2a218bbc4a84fd61865d25f6794bec73949e9fe870da07a2ae32e61a4e3f987c3d9576')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -31,7 +31,7 @@
 
   _npmdir=/usr/lib/node_modules/$pkgname
   install -d "$pkgdir"/usr/bin
-  ln $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
+  ln -s $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
   install -Dt "$pkgdir"/$_npmdir/bin bin/$pkgname.js
   rsync -r --exclude .cache conf lib messages node_modules package.json \
 "$pkgdir"/$_npmdir



[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)

2022-03-25 Thread Daniel M. Capella via arch-commits
Date: Saturday, March 26, 2022 @ 00:08:55
  Author: polyzen
Revision: 1176786

archrelease: copy trunk to community-any

Added:
  eslint/repos/community-any/PKGBUILD
(from rev 1176785, eslint/trunk/PKGBUILD)
Deleted:
  eslint/repos/community-any/PKGBUILD

--+
 PKGBUILD |   85 ++---
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-26 00:08:33 UTC (rev 1176785)
+++ PKGBUILD2022-03-26 00:08:55 UTC (rev 1176786)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Daniel M. Capella 
-
-pkgname=eslint
-pkgver=8.11.0
-pkgrel=1
-pkgdesc='An AST-based pattern checker for JavaScript'
-arch=('any')
-url='https://eslint.org'
-license=('MIT')
-depends=('acorn' 'nodejs')
-makedepends=('npm' 'rsync')
-options=('!emptydirs')
-source=("https://github.com/eslint/eslint/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
-b2sums=('fe80db0438b961c2ba29207444a3e1712fc98217bb56c0c468cab8c22c412f814dee123cb0092793ef9043470988e02858dcfb0c7d58e544ab7ae8e96107edbb')
-
-prepare() {
-  cd eslint-$pkgver
-  npm install
-}
-
-check() {
-  cd eslint-$pkgver
-  node Makefile mocha
-}
-
-package() {
-  cd eslint-$pkgver
-
-  npm prune --production
-
-  install -d "$pkgdir"/usr/bin
-  ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
-  install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js
-  rsync -r --exclude .cache conf lib messages node_modules package.json \
-"$pkgdir"/usr/lib/node_modules/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-
-  # Experimental dedup
-  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/acorn
-}

Copied: eslint/repos/community-any/PKGBUILD (from rev 1176785, 
eslint/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-26 00:08:55 UTC (rev 1176786)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Maintainer: Daniel M. Capella 
+
+pkgname=eslint
+pkgver=8.12.0
+pkgrel=1
+pkgdesc='An AST-based pattern checker for JavaScript'
+arch=('any')
+url='https://eslint.org'
+license=('MIT')
+depends=('acorn' 'nodejs')
+makedepends=('npm' 'rsync')
+options=('!emptydirs')
+source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+b2sums=('fec6008d2747c3a4bda1389476d3a2f84db6c783611f8c442fdbd655ed2a218bbc4a84fd61865d25f6794bec73949e9fe870da07a2ae32e61a4e3f987c3d9576')
+
+prepare() {
+  cd $pkgname-$pkgver
+  npm install
+}
+
+check() {
+  cd $pkgname-$pkgver
+  node Makefile mocha
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  npm prune --production
+
+  _npmdir=/usr/lib/node_modules/$pkgname
+  install -d "$pkgdir"/usr/bin
+  ln -s $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
+  install -Dt "$pkgdir"/$_npmdir/bin bin/$pkgname.js
+  rsync -r --exclude .cache conf lib messages node_modules package.json \
+"$pkgdir"/$_npmdir
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+
+  # Experimental dedup
+  rm -r "$pkgdir"/$_npmdir/node_modules/acorn
+}



[arch-commits] Commit in xmobar/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 00:07:44
  Author: felixonmars
Revision: 1176783

upgpkg: xmobar 0.39-120: rebuild with timezone-series 0.1.13

Modified:
  xmobar/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 00:06:12 UTC (rev 1176782)
+++ PKGBUILD2022-03-26 00:07:44 UTC (rev 1176783)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.39
-pkgrel=119
+pkgrel=120
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')



[arch-commits] Commit in haskell-timezone-olson/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 00:06:12
  Author: felixonmars
Revision: 1176782

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-timezone-olson/repos/community-staging-x86_64/
  haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD
(from rev 1176781, haskell-timezone-olson/trunk/PKGBUILD)

--+
 PKGBUILD |   53 +
 1 file changed, 53 insertions(+)

Copied: haskell-timezone-olson/repos/community-staging-x86_64/PKGBUILD (from 
rev 1176781, haskell-timezone-olson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-26 00:06:12 UTC (rev 1176782)
@@ -0,0 +1,53 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=timezone-olson
+pkgname=haskell-${_hkgname}
+pkgver=0.2.0
+pkgrel=7
+pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files'
+url='http://projects.haskell.org/time-ng/'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extensible-exceptions' 'haskell-timezone-series')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('8f57c369a72c4da5ba546d6e62370567e835cc2f6da406fd00e8dbb48e803b2d')
+sha512sums=('06c73b24b23caa41f3dce472bca384e3ee7ba02a3dd8bc4458bc758bc6aabdeca9be299f16419702e860f38ea213fd62d90e63fc4746dc2015c0e06b15aba6dd')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+runhaskell Setup configure -O \
+  --enable-shared \
+  --enable-executable-dynamic \
+  --disable-library-vanilla \
+  --prefix=/usr \
+  --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+  --dynlibdir=/usr/lib \
+  --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+  --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+  --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup haddock
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd ${_hkgname}-${pkgver}
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in haskell-timezone-olson/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 00:06:01
  Author: felixonmars
Revision: 1176781

upgpkg: haskell-timezone-olson 0.2.0-7: rebuild with timezone-series 0.1.13

Modified:
  haskell-timezone-olson/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-26 00:05:23 UTC (rev 1176780)
+++ PKGBUILD2022-03-26 00:06:01 UTC (rev 1176781)
@@ -3,7 +3,7 @@
 _hkgname=timezone-olson
 pkgname=haskell-${_hkgname}
 pkgver=0.2.0
-pkgrel=6
+pkgrel=7
 pkgdesc='Pure Haskell parser and renderer for binary Olson timezone files'
 url='http://projects.haskell.org/time-ng/'
 license=('BSD')
@@ -21,7 +21,7 @@
   --enable-executable-dynamic \
   --disable-library-vanilla \
   --prefix=/usr \
-  --docdir=/usr/share/doc/$pkgname \
+  --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
   --dynlibdir=/usr/lib \
   --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
   --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \



[arch-commits] Commit in haskell-timezone-series/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 00:05:23
  Author: felixonmars
Revision: 1176780

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-timezone-series/repos/community-staging-x86_64/
  haskell-timezone-series/repos/community-staging-x86_64/PKGBUILD
(from rev 1176779, haskell-timezone-series/trunk/PKGBUILD)

--+
 PKGBUILD |   53 +
 1 file changed, 53 insertions(+)

Copied: haskell-timezone-series/repos/community-staging-x86_64/PKGBUILD (from 
rev 1176779, haskell-timezone-series/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-26 00:05:23 UTC (rev 1176780)
@@ -0,0 +1,53 @@
+# Maintainer: Levente Polyak 
+
+_hkgname=timezone-series
+pkgname=haskell-${_hkgname}
+pkgver=0.1.13
+pkgrel=1
+pkgdesc='Enhanced timezone handling for Data.Time'
+url='http://projects.haskell.org/time-ng/'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha256sums=('28efb715e3b7c25cbc13c468ab847d3a7b7bca0f5787b56bc1da53dee5e1c6a2')
+sha512sums=('7e98bf1030f9df88d031f8fe28e56f50bd8e5da7615165324b5132a77aecc70da5906e2068afa43a819d711725c4c6cae8f6d17e7803f50b31038eb1634d4992')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+runhaskell Setup configure -O \
+  --enable-shared \
+  --enable-executable-dynamic \
+  --disable-library-vanilla \
+  --prefix=/usr \
+  --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+  --dynlibdir=/usr/lib \
+  --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+  --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+  --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup haddock
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd ${_hkgname}-${pkgver}
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd ${_hkgname}-${pkgver}
+  install -Dm 744 register.sh 
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -Dm 744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+  runhaskell Setup copy --destdir="$pkgdir"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/${pkgname}/html 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:



[arch-commits] Commit in haskell-timezone-series/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Saturday, March 26, 2022 @ 00:05:12
  Author: felixonmars
Revision: 1176779

upgpkg: haskell-timezone-series 0.1.13-1: rebuild with timezone-series 0.1.13

Modified:
  haskell-timezone-series/trunk/PKGBUILD

--+
 PKGBUILD |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:59:50 UTC (rev 1176778)
+++ PKGBUILD2022-03-26 00:05:12 UTC (rev 1176779)
@@ -2,8 +2,8 @@
 
 _hkgname=timezone-series
 pkgname=haskell-${_hkgname}
-pkgver=0.1.9
-pkgrel=12
+pkgver=0.1.13
+pkgrel=1
 pkgdesc='Enhanced timezone handling for Data.Time'
 url='http://projects.haskell.org/time-ng/'
 license=('BSD')
@@ -11,8 +11,8 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha256sums=('e5d35df5dc2408803120602b0a66ed63439e36b38dd0895f3e2159fcbd7d9cae')
-sha512sums=('9a716223270dfcb0ed39e2dcfb460e3540c0f2444f703c466cbd48ad5664e689aa3f6595f32e59b96fef7891aafabc03c9925367a26c2c043cb6adca2dad7a88')
+sha256sums=('28efb715e3b7c25cbc13c468ab847d3a7b7bca0f5787b56bc1da53dee5e1c6a2')
+sha512sums=('7e98bf1030f9df88d031f8fe28e56f50bd8e5da7615165324b5132a77aecc70da5906e2068afa43a819d711725c4c6cae8f6d17e7803f50b31038eb1634d4992')
 
 build() {
   cd ${_hkgname}-${pkgver}
@@ -21,7 +21,7 @@
   --enable-executable-dynamic \
   --disable-library-vanilla \
   --prefix=/usr \
-  --docdir=/usr/share/doc/$pkgname \
+  --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
   --dynlibdir=/usr/lib \
   --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
   --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \



[arch-commits] Commit in opensearch-sql-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:45
  Author: hashworks
Revision: 1176777

archrelease: copy trunk to community-x86_64

Added:
  opensearch-sql-plugin/repos/community-x86_64/
  opensearch-sql-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176776, opensearch-sql-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: opensearch-sql-plugin/repos/community-x86_64/PKGBUILD (from rev 
1176776, opensearch-sql-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:59:45 UTC (rev 1176777)
@@ -0,0 +1,41 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-sql-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.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=('9978dd3d70b668cd1f1248faaff138139622731caf401f442c48e64e9569b9e3')
+
+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"
+}



[arch-commits] Commit in opensearch-sql-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:50
  Author: hashworks
Revision: 1176778

Removed community-any for opensearch-sql-plugin

Deleted:
  opensearch-sql-plugin/repos/community-any/



[arch-commits] Commit in opensearch-security-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:28
  Author: hashworks
Revision: 1176774

archrelease: copy trunk to community-x86_64

Added:
  opensearch-security-plugin/repos/community-x86_64/
  opensearch-security-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176773, opensearch-security-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Copied: opensearch-security-plugin/repos/community-x86_64/PKGBUILD (from rev 
1176773, opensearch-security-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:59:28 UTC (rev 1176774)
@@ -0,0 +1,34 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-security-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Security Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/security-plugin;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip' 'git')
+source=("git+https://github.com/opensearch-project/security.git#tag=${pkgver};)
 # Build requires git
+sha256sums=('SKIP')
+
+build() {
+  cd "security"
+  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}"
+
+  # Currently the tests don't provide a way to skip the integration tests
+  # … so we skip them entirely for now
+  ./gradlew assemble
+}
+
+package() {
+  install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-security"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-security"
+  unzip 
"${srcdir}/security/build/distributions/opensearch-security-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/security/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



[arch-commits] Commit in opensearch-sql-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:42
  Author: hashworks
Revision: 1176776

upgpkg: opensearch-sql-plugin 1.3.0.0-1

Modified:
  opensearch-sql-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:59:38 UTC (rev 1176775)
+++ PKGBUILD2022-03-25 23:59:42 UTC (rev 1176776)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch SQL Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/search-plugins/sql;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-security-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:25
  Author: hashworks
Revision: 1176773

upgpkg: opensearch-security-plugin 1.3.0.0-1

Modified:
  opensearch-security-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:59:20 UTC (rev 1176772)
+++ PKGBUILD2022-03-25 23:59:25 UTC (rev 1176773)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Security Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/security-plugin;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-security-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:38
  Author: hashworks
Revision: 1176775

Removed community-any for opensearch-security-plugin

Deleted:
  opensearch-security-plugin/repos/community-any/



[arch-commits] Commit in opensearch-performance-analyzer-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:02
  Author: hashworks
Revision: 1176768

archrelease: copy trunk to community-x86_64

Added:
  opensearch-performance-analyzer-plugin/repos/community-x86_64/
  opensearch-performance-analyzer-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176767, opensearch-performance-analyzer-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: opensearch-performance-analyzer-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176767, opensearch-performance-analyzer-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:59:02 UTC (rev 1176768)
@@ -0,0 +1,36 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-performance-analyzer-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Performance Analyzer Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/monitoring-plugins/pa;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/performance-analyzer/archive/${pkgver}.tar.gz;
+)
+sha256sums=('e1c3b0588aa3ff74257476911cf0d49b12195f777355dd5dc9f9c523eed17ed6')
+
+build() {
+  cd "performance-analyzer-${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}"
+  # integTest (Reaper) requires JDK 14
+  ./gradlew assemble \
+--exclude-task ":integTest" \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-performance-analyzer"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-performance-analyzer"
+  unzip 
"${srcdir}/performance-analyzer-${pkgver}/build/distributions/opensearch-performance-analyzer-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/performance-analyzer-${pkgver}/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



[arch-commits] Commit in opensearch-reports-scheduler-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:17
  Author: hashworks
Revision: 1176771

archrelease: copy trunk to community-x86_64

Added:
  opensearch-reports-scheduler-plugin/repos/community-x86_64/
  opensearch-reports-scheduler-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176770, opensearch-reports-scheduler-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Copied: opensearch-reports-scheduler-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176770, opensearch-reports-scheduler-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:59:17 UTC (rev 1176771)
@@ -0,0 +1,34 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-reports-scheduler-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Reports Scheduler Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/dashboards/reporting;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/dashboards-reports/archive/${pkgver}.tar.gz;
+)
+sha256sums=('218273313fdcda9ddc2488758f4738a88582b7089e79c2985c180cb27e7f8e63')
+
+build() {
+  cd "dashboards-reports-${pkgver}/reports-scheduler"
+  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 assemble \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-reports-scheduler"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-reports-scheduler"
+  unzip 
"${srcdir}/dashboards-reports-${pkgver}/reports-scheduler/build/distributions/opensearch-reports-scheduler-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/dashboards-reports-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



[arch-commits] Commit in opensearch-reports-scheduler-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:14
  Author: hashworks
Revision: 1176770

upgpkg: opensearch-reports-scheduler-plugin 1.3.0.0-1

Modified:
  opensearch-reports-scheduler-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:59:09 UTC (rev 1176769)
+++ PKGBUILD2022-03-25 23:59:14 UTC (rev 1176770)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Reports Scheduler Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/dashboards/reporting;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-reports-scheduler-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:20
  Author: hashworks
Revision: 1176772

Removed community-any for opensearch-reports-scheduler-plugin

Deleted:
  opensearch-reports-scheduler-plugin/repos/community-any/



[arch-commits] Commit in opensearch-observability-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:50
  Author: hashworks
Revision: 1176766

Removed community-any for opensearch-observability-plugin

Deleted:
  opensearch-observability-plugin/repos/community-any/



[arch-commits] Commit in opensearch-performance-analyzer-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:59
  Author: hashworks
Revision: 1176767

upgpkg: opensearch-performance-analyzer-plugin 1.3.0.0-1

Modified:
  opensearch-performance-analyzer-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:58:50 UTC (rev 1176766)
+++ PKGBUILD2022-03-25 23:58:59 UTC (rev 1176767)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Performance Analyzer Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/monitoring-plugins/pa;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-observability-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:46
  Author: hashworks
Revision: 1176764

upgpkg: opensearch-observability-plugin 1.3.0.0-1

Modified:
  opensearch-observability-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:58:40 UTC (rev 1176763)
+++ PKGBUILD2022-03-25 23:58:46 UTC (rev 1176764)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Observability Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://github.com/opensearch-project/observability;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-performance-analyzer-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:59:09
  Author: hashworks
Revision: 1176769

Removed community-any for opensearch-performance-analyzer-plugin

Deleted:
  opensearch-performance-analyzer-plugin/repos/community-any/



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:48
  Author: hashworks
Revision: 1176765

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Copied: opensearch-observability-plugin/repos/community-x86_64/PKGBUILD (from 
rev 1176764, opensearch-observability-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:58:48 UTC (rev 1176765)
@@ -0,0 +1,34 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-observability-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Observability Plugin"
+arch=('x86_64')
+url="https://github.com/opensearch-project/observability;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/observability/archive/${pkgver}.tar.gz;
+)
+sha256sums=('3a69f1116a16b58f2617a8b555864d52106ee10653f81c0ff9020e4d270b09a9')
+
+build() {
+  cd "observability-${pkgver}/opensearch-observability"
+  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 assemble \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-observability"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-observability"
+  unzip 
"${srcdir}/observability-${pkgver}/opensearch-observability/build/distributions/opensearch-observability-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/observability-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



[arch-commits] Commit in opensearch-knn-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:39
  Author: hashworks
Revision: 1176762

archrelease: copy trunk to community-x86_64

Added:
  opensearch-knn-plugin/repos/community-x86_64/
  opensearch-knn-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176761, opensearch-knn-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: opensearch-knn-plugin/repos/community-x86_64/PKGBUILD (from rev 
1176761, opensearch-knn-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:58:39 UTC (rev 1176762)
@@ -0,0 +1,36 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-knn-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Index Management Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/search-plugins/knn;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/k-NN/archive/${pkgver}.tar.gz;
+)
+sha256sums=('9f734e77566331e7a8613a4d47e090be0b0e197dd7b20b72c2a949557024a300')
+
+build() {
+  cd "k-NN-${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}"
+  # integTest (Reaper) requires JDK 14
+  ./gradlew assemble \
+--exclude-task ":integTest" \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-knn"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-knn"
+  unzip 
"${srcdir}/k-NN-${pkgver}/build/distributions/opensearch-knn-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/k-NN-${pkgver}/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



[arch-commits] Commit in opensearch-knn-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:36
  Author: hashworks
Revision: 1176761

upgpkg: opensearch-knn-plugin 1.3.0.0-1

Modified:
  opensearch-knn-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:58:27 UTC (rev 1176760)
+++ PKGBUILD2022-03-25 23:58:36 UTC (rev 1176761)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Index Management Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/search-plugins/knn;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-knn-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:40
  Author: hashworks
Revision: 1176763

Removed community-any for opensearch-knn-plugin

Deleted:
  opensearch-knn-plugin/repos/community-any/



[arch-commits] Commit in opensearch-job-scheduler-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:26
  Author: hashworks
Revision: 1176759

archrelease: copy trunk to community-x86_64

Added:
  opensearch-job-scheduler-plugin/repos/community-x86_64/
  opensearch-job-scheduler-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176758, opensearch-job-scheduler-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Copied: opensearch-job-scheduler-plugin/repos/community-x86_64/PKGBUILD (from 
rev 1176758, opensearch-job-scheduler-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:58:26 UTC (rev 1176759)
@@ -0,0 +1,34 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-job-scheduler-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Job Scheduler Plugin"
+arch=('x86_64')
+url="https://github.com/opensearch-project/job-scheduler;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/job-scheduler/archive/${pkgver}.tar.gz;
+)
+sha256sums=('7bc025924f46e6ed1b56746e22728dd79cf71f80f12d5aa29460f9fc08c1b951')
+
+build() {
+  cd "job-scheduler-${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}"
+  ./gradlew assemble \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-job-scheduler"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-job-scheduler"
+  unzip 
"${srcdir}/job-scheduler-${pkgver}/build/distributions/opensearch-job-scheduler-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/job-scheduler-${pkgver}/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



[arch-commits] Commit in opensearch-job-scheduler-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:27
  Author: hashworks
Revision: 1176760

Removed community-any for opensearch-job-scheduler-plugin

Deleted:
  opensearch-job-scheduler-plugin/repos/community-any/



[arch-commits] Commit in opensearch-index-management-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:14
  Author: hashworks
Revision: 1176757

Removed community-any for opensearch-index-management-plugin

Deleted:
  opensearch-index-management-plugin/repos/community-any/



[arch-commits] Commit in opensearch-job-scheduler-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:23
  Author: hashworks
Revision: 1176758

upgpkg: opensearch-job-scheduler-plugin 1.3.0.0-1

Modified:
  opensearch-job-scheduler-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:58:14 UTC (rev 1176757)
+++ PKGBUILD2022-03-25 23:58:23 UTC (rev 1176758)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Job Scheduler Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://github.com/opensearch-project/job-scheduler;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-cross-cluster-replication-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:02
  Author: hashworks
Revision: 1176753

archrelease: copy trunk to community-x86_64

Added:
  opensearch-cross-cluster-replication-plugin/repos/community-x86_64/
  opensearch-cross-cluster-replication-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176752, 
opensearch-cross-cluster-replication-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: 
opensearch-cross-cluster-replication-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176752, opensearch-cross-cluster-replication-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:58:02 UTC (rev 1176753)
@@ -0,0 +1,36 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-cross-cluster-replication-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Cross-Cluster Replication Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/replication-plugin;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/cross-cluster-replication/archive/${pkgver}.tar.gz;
+)
+sha256sums=('830e432b7fa3db4de1f6043662e825ce87fb6ab26059c2da46dbfe951a4473af')
+
+build() {
+  cd "cross-cluster-replication-${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}"
+  # integTest (Reaper) requires JDK 14
+  ./gradlew assemble \
+--exclude-task ":integTest" \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-cross-cluster-replication"
+  cd 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-cross-cluster-replication"
+  unzip 
"${srcdir}/cross-cluster-replication-${pkgver}/build/distributions/opensearch-cross-cluster-replication-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/cross-cluster-replication-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



[arch-commits] Commit in opensearch-asynchronous-search-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:51
  Author: hashworks
Revision: 1176751

Removed community-any for opensearch-asynchronous-search-plugin

Deleted:
  opensearch-asynchronous-search-plugin/repos/community-any/



[arch-commits] Commit in opensearch-index-management-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:11
  Author: hashworks
Revision: 1176756

archrelease: copy trunk to community-x86_64

Added:
  opensearch-index-management-plugin/repos/community-x86_64/
  opensearch-index-management-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176755, opensearch-index-management-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: opensearch-index-management-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176755, opensearch-index-management-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:58:11 UTC (rev 1176756)
@@ -0,0 +1,36 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-index-management-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Index Management Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/im-plugin;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/index-management/archive/${pkgver}.tar.gz;
+)
+sha256sums=('ef8ff38efbb1f89a9d928911a0da2e7c632e2c29ce77f09360636f96bce47c9c')
+
+build() {
+  cd "index-management-${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}"
+  # integTest (Reaper) requires JDK 14
+  ./gradlew assemble \
+--exclude-task ":integTest" \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-index-management"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-index-management"
+  unzip 
"${srcdir}/index-management-${pkgver}/build/distributions/opensearch-index-management-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/index-management-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



[arch-commits] Commit in opensearch-cross-cluster-replication-plugin/repos (1 file)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:04
  Author: hashworks
Revision: 1176754

Removed community-any for opensearch-cross-cluster-replication-plugin

Deleted:
  opensearch-cross-cluster-replication-plugin/repos/community-any/



[arch-commits] Commit in opensearch-index-management-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:58:08
  Author: hashworks
Revision: 1176755

upgpkg: opensearch-index-management-plugin 1.3.0.0-1

Modified:
  opensearch-index-management-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:58:04 UTC (rev 1176754)
+++ PKGBUILD2022-03-25 23:58:08 UTC (rev 1176755)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Index Management Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/im-plugin;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-cross-cluster-replication-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:59
  Author: hashworks
Revision: 1176752

upgpkg: opensearch-cross-cluster-replication-plugin 1.3.0.0-1

Modified:
  opensearch-cross-cluster-replication-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:57:51 UTC (rev 1176751)
+++ PKGBUILD2022-03-25 23:57:59 UTC (rev 1176752)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Cross-Cluster Replication Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/replication-plugin;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-asynchronous-search-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:49
  Author: hashworks
Revision: 1176750

archrelease: copy trunk to community-x86_64

Added:
  opensearch-asynchronous-search-plugin/repos/community-x86_64/
  opensearch-asynchronous-search-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176749, opensearch-asynchronous-search-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: opensearch-asynchronous-search-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176749, opensearch-asynchronous-search-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:57:49 UTC (rev 1176750)
@@ -0,0 +1,36 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-asynchronous-search-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Asynchronous Search Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/search-plugins/async;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/asynchronous-search/archive/${pkgver}.tar.gz;
+)
+sha256sums=('8c821a0c3fcb178f2ae3b2d47893c129e7f92b74842a455a82897497e31f6cff')
+
+build() {
+  cd "asynchronous-search-${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}"
+  # integTest (Reaper) requires JDK 14
+  ./gradlew assemble \
+--exclude-task ":integTest" \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-asynchronous-search"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-asynchronous-search"
+  unzip 
"${srcdir}/asynchronous-search-${pkgver}/build/distributions/opensearch-asynchronous-search-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/asynchronous-search-${pkgver}/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



[arch-commits] Commit in opensearch-asynchronous-search-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:47
  Author: hashworks
Revision: 1176749

upgpkg: opensearch-asynchronous-search-plugin 1.3.0.0-1

Modified:
  opensearch-asynchronous-search-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:57:43 UTC (rev 1176748)
+++ PKGBUILD2022-03-25 23:57:47 UTC (rev 1176749)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Asynchronous Search Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/search-plugins/async;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-anomaly-detection-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:37
  Author: hashworks
Revision: 1176746

upgpkg: opensearch-anomaly-detection-plugin 1.3.0.0-1

Modified:
  opensearch-anomaly-detection-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:57:32 UTC (rev 1176745)
+++ PKGBUILD2022-03-25 23:57:37 UTC (rev 1176746)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Anomaly Detection Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/latest/monitoring-plugins/ad;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch-anomaly-detection-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:39
  Author: hashworks
Revision: 1176747

archrelease: copy trunk to community-x86_64

Added:
  opensearch-anomaly-detection-plugin/repos/community-x86_64/
  opensearch-anomaly-detection-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176746, opensearch-anomaly-detection-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Copied: opensearch-anomaly-detection-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176746, opensearch-anomaly-detection-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:57:39 UTC (rev 1176747)
@@ -0,0 +1,36 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-anomaly-detection-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Anomaly Detection Plugin"
+arch=('x86_64')
+url="https://opensearch.org/docs/latest/monitoring-plugins/ad;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/anomaly-detection/archive/${pkgver}.tar.gz;
+)
+sha256sums=('4fc7e3800cddad8777557095b15800533155652c530df1e2542212485458e404')
+
+build() {
+  cd "anomaly-detection-${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}"
+  # integTest (Reaper) requires JDK 14
+  ./gradlew assemble \
+--exclude-task ":integTest" \
+--exclude-task ":jacocoTestReport"
+}
+
+package() {
+  install -dm755 
"${pkgdir}/usr/share/opensearch/plugins/opensearch-anomaly-detection"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-anomaly-detection"
+  unzip 
"${srcdir}/anomaly-detection-${pkgver}/build/distributions/opensearch-anomaly-detection-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/anomaly-detection-${pkgver}/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



[arch-commits] Commit in opensearch-anomaly-detection-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:43
  Author: hashworks
Revision: 1176748

Removed community-any for opensearch-anomaly-detection-plugin

Deleted:
  opensearch-anomaly-detection-plugin/repos/community-any/



[arch-commits] Commit in opensearch-alerting-plugin/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:32
  Author: hashworks
Revision: 1176745

Removed community-any for opensearch-alerting-plugin

Deleted:
  opensearch-alerting-plugin/repos/community-any/



[arch-commits] Commit in opensearch-alerting-plugin/repos (2 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:28
  Author: hashworks
Revision: 1176744

archrelease: copy trunk to community-x86_64

Added:
  opensearch-alerting-plugin/repos/community-x86_64/
  opensearch-alerting-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176743, opensearch-alerting-plugin/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: opensearch-alerting-plugin/repos/community-x86_64/PKGBUILD (from rev 
1176743, opensearch-alerting-plugin/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:57:28 UTC (rev 1176744)
@@ -0,0 +1,42 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname=opensearch-alerting-plugin
+pkgver=1.3.0.0
+pkgrel=1
+_opensearchver=1.3.0
+_jdkver=11
+pkgdesc="OpenSearch Alerting Plugin"
+arch=('x86_64')
+url="https://docs-beta.opensearch.org/monitoring-plugins/alerting;
+license=('Apache')
+depends=("opensearch=${_opensearchver}")
+makedepends=("java-environment=${_jdkver}" 'unzip')
+source=(
+  
"${pkgname}-${pkgver}.tar.gz::https://github.com/opensearch-project/alerting/archive/${pkgver}.tar.gz;
+)
+sha256sums=('a3ce691482137fe6481ce644f5552be2ef4e9f074627caa84f41977910f40c62')
+
+build() {
+  cd "alerting-${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}"
+  # alertingBwcCluster and integTest (Reaper) requires JDK 14
+  ./gradlew build \
+--exclude-task ":alerting:alertingBwcCluster#fullRestartClusterTask" \
+--exclude-task ":alerting:alertingBwcCluster#mixedClusterTask" \
+--exclude-task ":alerting:alertingBwcCluster#oldVersionClusterTask0" \
+--exclude-task ":alerting:alertingBwcCluster#oldVersionClusterTask1" \
+--exclude-task ":alerting:alertingBwcCluster#rollingUpgradeClusterTask" \
+--exclude-task ":alerting:alertingBwcCluster#twoThirdsUpgradedClusterTask" 
\
+--exclude-task ":alerting:integTest" \
+--exclude-task ":alerting:jacocoTestReport"
+}
+
+package() {
+  install -dm755 "${pkgdir}/usr/share/opensearch/plugins/opensearch-alerting"
+  cd "${pkgdir}/usr/share/opensearch/plugins/opensearch-alerting"
+  unzip 
"${srcdir}/alerting-${pkgver}/alerting/build/distributions/opensearch-alerting-${pkgver}.zip"
+
+  install -Dm644 "${srcdir}/alerting-${pkgver}/LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



[arch-commits] Commit in opensearch-alerting-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:57:26
  Author: hashworks
Revision: 1176743

upgpkg: opensearch-alerting-plugin 1.3.0.0-1

Modified:
  opensearch-alerting-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:40:27 UTC (rev 1176742)
+++ PKGBUILD2022-03-25 23:57:26 UTC (rev 1176743)
@@ -6,7 +6,7 @@
 _opensearchver=1.3.0
 _jdkver=11
 pkgdesc="OpenSearch Alerting Plugin"
-arch=('any')
+arch=('x86_64')
 url="https://docs-beta.opensearch.org/monitoring-plugins/alerting;
 license=('Apache')
 depends=("opensearch=${_opensearchver}")



[arch-commits] Commit in opensearch/repos (community-any)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:40:27
  Author: hashworks
Revision: 1176742

Removed community-any for opensearch

Deleted:
  opensearch/repos/community-any/



[arch-commits] Commit in opensearch/repos (11 files)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:39:37
  Author: hashworks
Revision: 1176741

archrelease: copy trunk to community-x86_64

Added:
  opensearch/repos/community-x86_64/
  opensearch/repos/community-x86_64/PKGBUILD
(from rev 1176740, opensearch/trunk/PKGBUILD)
  opensearch/repos/community-x86_64/opensearch-keystore.service
(from rev 1176740, opensearch/trunk/opensearch-keystore.service)
  opensearch/repos/community-x86_64/opensearch-keystore@.service
(from rev 1176740, opensearch/trunk/opensearch-keystore@.service)
  opensearch/repos/community-x86_64/opensearch-sysctl.conf
(from rev 1176740, opensearch/trunk/opensearch-sysctl.conf)
  opensearch/repos/community-x86_64/opensearch-tmpfile.conf
(from rev 1176740, opensearch/trunk/opensearch-tmpfile.conf)
  opensearch/repos/community-x86_64/opensearch-user.conf
(from rev 1176740, opensearch/trunk/opensearch-user.conf)
  opensearch/repos/community-x86_64/opensearch.default
(from rev 1176740, opensearch/trunk/opensearch.default)
  opensearch/repos/community-x86_64/opensearch.service
(from rev 1176740, opensearch/trunk/opensearch.service)
  opensearch/repos/community-x86_64/opensearch@.service
(from rev 1176740, opensearch/trunk/opensearch@.service)
  opensearch/repos/community-x86_64/remove-systemd-distribution-check.patch
(from rev 1176740, opensearch/trunk/remove-systemd-distribution-check.patch)

-+
 PKGBUILD|  325 ++
 opensearch-keystore.service |   10 
 opensearch-keystore@.service|   11 +
 opensearch-sysctl.conf  |1 
 opensearch-tmpfile.conf |   14 +
 opensearch-user.conf|1 
 opensearch.default  |   13 +
 opensearch.service  |   66 ++
 opensearch@.service |   67 ++
 remove-systemd-distribution-check.patch |   17 +
 10 files changed, 525 insertions(+)

Copied: opensearch/repos/community-x86_64/PKGBUILD (from rev 1176740, 
opensearch/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:39:37 UTC (rev 1176741)
@@ -0,0 +1,325 @@
+# Maintainer: Justin Kromlinger 
+# Contributor: Massimiliano Torromeo 
+# Contributor: Marcello "mererghost" Rocha 
+# Contributor: Blaž "Speed" Hrastnik 
+
+pkgbase=opensearch
+pkgname=(
+  opensearch
+  opensearch-analysis-icu-plugin
+  opensearch-analysis-kuromoji-plugin
+  opensearch-analysis-nori-plugin
+  opensearch-analysis-phonetic-plugin
+  opensearch-analysis-smartcn-plugin
+  opensearch-analysis-stempel-plugin
+  opensearch-analysis-ukrainian-plugin
+  opensearch-discovery-azure-classic-plugin
+  opensearch-discovery-ec2-plugin
+  opensearch-discovery-gce-plugin
+  opensearch-ingest-attachment-plugin
+  opensearch-mapper-annotated-text-plugin
+  opensearch-mapper-murmur3-plugin
+  opensearch-mapper-size-plugin
+  opensearch-repository-azure-plugin
+  opensearch-repository-gcs-plugin
+  opensearch-repository-hdfs-plugin
+  opensearch-repository-s3-plugin
+  opensearch-store-smb-plugin
+  opensearch-transport-nio-plugin
+)
+pkgver=1.3.0
+pkgrel=1
+# See 
https://github.com/opensearch-project/OpenSearch/blob/main/.ci/java-versions.properties
+_jrever=11
+_jdkver=11
+arch=('x86_64')
+url="https://opensearch.org/docs/opensearch/index/;
+license=('Apache')
+makedepends=("jdk${_jdkver}-openjdk" 'unzip')
+source=(
+  
"OpenSearch-${pkgver}.tar.gz::https://github.com/opensearch-project/OpenSearch/archive/${pkgver}.tar.gz;
+  opensearch.service
+  opensearch@.service
+  opensearch-keystore.service
+  opensearch-keystore@.service
+  opensearch-sysctl.conf
+  opensearch-user.conf
+  opensearch-tmpfile.conf
+  opensearch.default
+  remove-systemd-distribution-check.patch
+)
+sha256sums=('9ab025597532348ea7404eb43cce629f668eff17f23e9fb736a0089049c9b295'
+  'b59d064ce8e348f22b969cc2b7522a1c7b64d4b4e3fd98d9ad1f01d842e94d46'
+  '02bfe1e723f6522d7b5bf72d43c7847c4d9329d105b543583aa5b9c952e7d54d'
+  '097de1fc6ef1f12e99d2b3def9c9803cf0dd8609aeace608048d599a2cb85c5c'
+  'a133b8944d57d81224caf03f8d0e5b127f2570123b2a1e2d2f6eb199446448ae'
+  'b3feb1e9c7e7ce6b33cea6c727728ed700332aae942ca475c3bcc1d56b9f113c'
+  '79cb5856b7105da7f25c6da2a25be88ccba2b849fd92cc32c3204e2fad530efc'
+  '12c4feb01c5c42e98e53f9d6fd457727ec0bf0b19bf9c4bc2ee216f31afe7afc'
+  '66401172f710e80e1f715c89bc6ed5a6d0ad567c58ad03101e59556c52245158'
+  '0d158e9fc2ac6375ae9c140eb79e0308794c1a0220d3634a2b98e94b37b6f8dc')
+
+prepare() {
+  cd "OpenSearch-${pkgver}"
+  patch -Np1 -i "${srcdir}/remove-systemd-distribution-check.patch"
+}
+
+build() {
+  cd "OpenSearch-${pkgver}"
+  export JAVA_HOME="/usr/lib/jvm/java-${_jdkver}-openjdk"
+  export PATH="/usr/lib/jvm/java-${_jdkver}-openjdk/bin:$PATH"
+  

[arch-commits] Commit in opensearch/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:39:13
  Author: hashworks
Revision: 1176740

upgpkg: opensearch 1.3.0-1

Modified:
  opensearch/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:31:59 UTC (rev 1176739)
+++ PKGBUILD2022-03-25 23:39:13 UTC (rev 1176740)
@@ -32,7 +32,7 @@
 # See 
https://github.com/opensearch-project/OpenSearch/blob/main/.ci/java-versions.properties
 _jrever=11
 _jdkver=11
-arch=('any')
+arch=('x86_64')
 url="https://opensearch.org/docs/opensearch/index/;
 license=('Apache')
 makedepends=("jdk${_jdkver}-openjdk" 'unzip')



[arch-commits] Commit in eslint/trunk (PKGBUILD)

2022-03-25 Thread Daniel M. Capella via arch-commits
Date: Friday, March 25, 2022 @ 23:31:59
  Author: polyzen
Revision: 1176739

Style touch ups

- Split out _npmdir

- Uniform use of $pkgname

Modified:
  eslint/trunk/PKGBUILD

--+
 PKGBUILD |   17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:25:11 UTC (rev 1176738)
+++ PKGBUILD2022-03-25 23:31:59 UTC (rev 1176739)
@@ -11,32 +11,33 @@
 depends=('acorn' 'nodejs')
 makedepends=('npm' 'rsync')
 options=('!emptydirs')
-source=("https://github.com/eslint/eslint/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
 
b2sums=('fe80db0438b961c2ba29207444a3e1712fc98217bb56c0c468cab8c22c412f814dee123cb0092793ef9043470988e02858dcfb0c7d58e544ab7ae8e96107edbb')
 
 prepare() {
-  cd eslint-$pkgver
+  cd $pkgname-$pkgver
   npm install
 }
 
 check() {
-  cd eslint-$pkgver
+  cd $pkgname-$pkgver
   node Makefile mocha
 }
 
 package() {
-  cd eslint-$pkgver
+  cd $pkgname-$pkgver
 
   npm prune --production
 
+  _npmdir=/usr/lib/node_modules/$pkgname
   install -d "$pkgdir"/usr/bin
-  ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
-  install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js
+  ln $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
+  install -Dt "$pkgdir"/$_npmdir/bin bin/$pkgname.js
   rsync -r --exclude .cache conf lib messages node_modules package.json \
-"$pkgdir"/usr/lib/node_modules/$pkgname
+"$pkgdir"/$_npmdir
   install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 
   # Experimental dedup
-  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/acorn
+  rm -r "$pkgdir"/$_npmdir/node_modules/acorn
 }



[arch-commits] Commit in ndisc6/repos/community-x86_64 (8 files)

2022-03-25 Thread Sébastien Luttringer via arch-commits
Date: Friday, March 25, 2022 @ 23:25:11
  Author: seblu
Revision: 1176738

archrelease: copy trunk to community-x86_64

Added:
  ndisc6/repos/community-x86_64/PKGBUILD
(from rev 1176737, ndisc6/trunk/PKGBUILD)
  ndisc6/repos/community-x86_64/ndisc6.install
(from rev 1176737, ndisc6/trunk/ndisc6.install)
  ndisc6/repos/community-x86_64/rdnssd@.service
(from rev 1176737, ndisc6/trunk/rdnssd@.service)
  ndisc6/repos/community-x86_64/resolvconf-hook
(from rev 1176737, ndisc6/trunk/resolvconf-hook)
Deleted:
  ndisc6/repos/community-x86_64/PKGBUILD
  ndisc6/repos/community-x86_64/ndisc6.install
  ndisc6/repos/community-x86_64/rdnssd@.service
  ndisc6/repos/community-x86_64/resolvconf-hook

-+
 PKGBUILD|  132 +++---
 ndisc6.install  |   28 +--
 rdnssd@.service |   20 
 resolvconf-hook |   10 ++--
 4 files changed, 95 insertions(+), 95 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:25:04 UTC (rev 1176737)
+++ PKGBUILD2022-03-25 23:25:11 UTC (rev 1176738)
@@ -1,66 +0,0 @@
-# Maintainer: Sébastien Luttringer
-# Contributor: Chris Brannon 
-# Contributor: Mark Smith 
-
-pkgname=ndisc6
-pkgver=1.0.4
-pkgrel=2
-pkgdesc='Collection of IPv6 networking utilities'
-arch=('x86_64')
-url='https://www.remlab.net/ndisc6/'
-license=('GPL')
-depends=('glibc' 'perl')
-makedepends=('glibc' 'gcc' 'systemd')
-options=('!emptydirs')
-install=$pkgname.install
-source=("https://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2"{,.asc}
- 'rdnssd@.service'
-'resolvconf-hook')
-validpgpkeys=('9480583353E334D2F03FE80CC3EC6DBEDD6D12BD') # Rémi 
Denis-Courmont 
-md5sums=('a796350c1629aa3e438a2bb55be1b792'
- 'SKIP'
- '58b44cbe6d38082fb299eb136754bf31'
- '48d0a77ed9536cd0d4642e1f1ca0b255')
-
-prepare() {
-  cd $pkgname-$pkgver
-  # apply patch from the source array (should be a pacman feature)
-  local src
-  for src in "${source[@]}"; do
-src="${src%%::*}"
-src="${src##*/}"
-[[ $src = *.patch ]] || continue
-msg2 "Applying patch $src..."
-patch -Np1 < "../$src"
-  done
-  # patch invalid path
-  sed -ri 's,^PATH=.*,PATH=/usr/local/sbin:/usr/local/bin:/usr/bin,' 
rdnss/merge-hook.in
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure \
---prefix=/usr \
---sbindir=/usr/bin \
---localstatedir=/var \
---sysconfdir=/etc
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  popd
-
-  # service
-  install -Dm644 "$srcdir/rdnssd@.service" 
"$pkgdir/usr/lib/systemd/system/rdnssd@.service"
-
-  # tmpfiles
-  install -Dm644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
-  echo 'd /run/rdnssd 0755 nobody root' > 
"$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
-
-  # resolvconf merge hook
-  install -Dm755 "$srcdir/resolvconf-hook" "$pkgdir/etc/rdnssd/resolvconf-hook"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ndisc6/repos/community-x86_64/PKGBUILD (from rev 1176737, 
ndisc6/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:25:11 UTC (rev 1176738)
@@ -0,0 +1,66 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Chris Brannon 
+# Contributor: Mark Smith 
+
+pkgname=ndisc6
+pkgver=1.0.5
+pkgrel=1
+pkgdesc='Collection of IPv6 networking utilities'
+arch=('x86_64')
+url='https://www.remlab.net/ndisc6/'
+license=('GPL')
+depends=('glibc' 'perl')
+makedepends=('glibc' 'gcc' 'systemd')
+options=('!emptydirs')
+install=$pkgname.install
+source=("https://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2;
+ 'rdnssd@.service'
+'resolvconf-hook')
+#Contacted by mail, Rémi was not able to provide its public key.
+#He suggested to only rely on https to trust the source.
+sha256sums=('36932f9fc47e2844abcda7550fa1343b3af4b4208dfb61e0c9d9224aad5df351'
+'7b3055a55b6367691cc42e6ba30879f6a2690629ad66211448649a6e7a81758c'
+'c485bb8e5ee480dca2897f950ba9854f8b9deaf782480072536fa4f2d0152d24')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local src
+  for src in "${source[@]}"; do
+src="${src%%::*}"
+src="${src##*/}"
+[[ $src = *.patch ]] || continue
+echo "Applying patch $src..."
+patch -Np1 < "../$src"
+  done
+  # patch invalid path
+  sed -ri 's,^PATH=.*,PATH=/usr/local/sbin:/usr/local/bin:/usr/bin,' 
rdnss/merge-hook.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/usr \
+--sbindir=/usr/bin \
+--localstatedir=/var \
+--sysconfdir=/etc
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  popd
+
+  # service
+  install -Dm644 "$srcdir/rdnssd@.service" 
"$pkgdir/usr/lib/systemd/system/rdnssd@.service"
+
+  # tmpfiles
+  install -Dm644 /dev/null 

[arch-commits] Commit in ndisc6/trunk (PKGBUILD)

2022-03-25 Thread Sébastien Luttringer via arch-commits
Date: Friday, March 25, 2022 @ 23:25:04
  Author: seblu
Revision: 1176737

upgpkg: ndisc6 1.0.5-1

Modified:
  ndisc6/trunk/PKGBUILD

--+
 PKGBUILD |   16 
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:23:00 UTC (rev 1176736)
+++ PKGBUILD2022-03-25 23:25:04 UTC (rev 1176737)
@@ -3,8 +3,8 @@
 # Contributor: Mark Smith 
 
 pkgname=ndisc6
-pkgver=1.0.4
-pkgrel=2
+pkgver=1.0.5
+pkgrel=1
 pkgdesc='Collection of IPv6 networking utilities'
 arch=('x86_64')
 url='https://www.remlab.net/ndisc6/'
@@ -13,14 +13,14 @@
 makedepends=('glibc' 'gcc' 'systemd')
 options=('!emptydirs')
 install=$pkgname.install
-source=("https://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2"{,.asc}
+source=("https://www.remlab.net/files/ndisc6/$pkgname-$pkgver.tar.bz2;
  'rdnssd@.service'
 'resolvconf-hook')
-validpgpkeys=('9480583353E334D2F03FE80CC3EC6DBEDD6D12BD') # Rémi 
Denis-Courmont 
-md5sums=('a796350c1629aa3e438a2bb55be1b792'
- 'SKIP'
- '58b44cbe6d38082fb299eb136754bf31'
- '48d0a77ed9536cd0d4642e1f1ca0b255')
+#Contacted by mail, Rémi was not able to provide its public key.
+#He suggested to only rely on https to trust the source.
+sha256sums=('36932f9fc47e2844abcda7550fa1343b3af4b4208dfb61e0c9d9224aad5df351'
+'7b3055a55b6367691cc42e6ba30879f6a2690629ad66211448649a6e7a81758c'
+'c485bb8e5ee480dca2897f950ba9854f8b9deaf782480072536fa4f2d0152d24')
 
 prepare() {
   cd $pkgname-$pkgver



[arch-commits] Commit in haskell-doctest-parallel/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 23:23:00
  Author: felixonmars
Revision: 1176736

archrelease: copy trunk to community-x86_64

Added:
  haskell-doctest-parallel/repos/community-x86_64/
  haskell-doctest-parallel/repos/community-x86_64/PKGBUILD
(from rev 1176735, haskell-doctest-parallel/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-doctest-parallel/repos/community-x86_64/PKGBUILD (from rev 
1176735, haskell-doctest-parallel/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2022-03-25 23:23:00 UTC (rev 1176736)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+
+_hkgname=doctest-parallel
+pkgname=haskell-doctest-parallel
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/martijnbastiaan/doctest-parallel#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob' 'haskell-base-compat' 'haskell-code-page' 
'haskell-extra'
+ 'haskell-ghc' 'haskell-ghc-paths' 'haskell-random' 'haskell-syb'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'expac' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-hspec' 'haskell-hspec-core'
+ 'haskell-hspec-discover' 'haskell-mockery' 'haskell-setenv' 
'haskell-silently'
+ 'haskell-stringbuilder')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('de3930a4fbb5ff62172bac9696af049cdec234c9a4f529100af9ec2111dcbd54')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  # == An ugly hack to generate .ghc.environment without cabal-install ==
+  # doctest-parallel relies on this cabal-install feature to configure GHCi.
+  # https://github.com/martijnbastiaan/doctest-parallel/issues/22
+  _ghc_env_filename=.ghc.environment.$CARCH-linux-$(expac %v ghc | cut -d - -f 
1)
+  echo -e "package-db dist/package.conf.inplace" > $_ghc_env_filename
+  ls dist/package.conf.inplace/*.conf | sed 's|.*/\(.*\).conf$|package-id \1|' 
>> $_ghc_env_filename
+  ls /usr/lib/ghc-9.0.2/package.conf.d/*.conf | sed 
's|.*/\(.*\).conf$|package-id \1|' >> $_ghc_env_filename
+
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in (4 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 23:22:45
  Author: felixonmars
Revision: 1176735

addpkg: haskell-doctest-parallel 0.2.2-1

Added:
  haskell-doctest-parallel/
  haskell-doctest-parallel/repos/
  haskell-doctest-parallel/trunk/
  haskell-doctest-parallel/trunk/PKGBUILD

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Added: haskell-doctest-parallel/trunk/PKGBUILD
===
--- haskell-doctest-parallel/trunk/PKGBUILD (rev 0)
+++ haskell-doctest-parallel/trunk/PKGBUILD 2022-03-25 23:22:45 UTC (rev 
1176735)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+
+_hkgname=doctest-parallel
+pkgname=haskell-doctest-parallel
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="Test interactive Haskell examples"
+url="https://github.com/martijnbastiaan/doctest-parallel#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-glob' 'haskell-base-compat' 'haskell-code-page' 
'haskell-extra'
+ 'haskell-ghc' 'haskell-ghc-paths' 'haskell-random' 'haskell-syb'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'expac' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-hspec' 'haskell-hspec-core'
+ 'haskell-hspec-discover' 'haskell-mockery' 'haskell-setenv' 
'haskell-silently'
+ 'haskell-stringbuilder')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('de3930a4fbb5ff62172bac9696af049cdec234c9a4f529100af9ec2111dcbd54')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  # == An ugly hack to generate .ghc.environment without cabal-install ==
+  # doctest-parallel relies on this cabal-install feature to configure GHCi.
+  # https://github.com/martijnbastiaan/doctest-parallel/issues/22
+  _ghc_env_filename=.ghc.environment.$CARCH-linux-$(expac %v ghc | cut -d - -f 
1)
+  echo -e "package-db dist/package.conf.inplace" > $_ghc_env_filename
+  ls dist/package.conf.inplace/*.conf | sed 's|.*/\(.*\).conf$|package-id \1|' 
>> $_ghc_env_filename
+  ls /usr/lib/ghc-9.0.2/package.conf.d/*.conf | sed 
's|.*/\(.*\).conf$|package-id \1|' >> $_ghc_env_filename
+
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in libnetfilter_conntrack/repos (3 files)

2022-03-25 Thread Sébastien Luttringer via arch-commits
Date: Friday, March 25, 2022 @ 23:20:34
  Author: seblu
Revision: 440683

db-move: moved libnetfilter_conntrack from [testing] to [core] (x86_64)

Added:
  libnetfilter_conntrack/repos/core-x86_64/PKGBUILD
(from rev 440682, libnetfilter_conntrack/repos/testing-x86_64/PKGBUILD)
Deleted:
  libnetfilter_conntrack/repos/core-x86_64/PKGBUILD
  libnetfilter_conntrack/repos/testing-x86_64/

--+
 /PKGBUILD|   31 +++
 core-x86_64/PKGBUILD |   31 ---
 2 files changed, 31 insertions(+), 31 deletions(-)

Deleted: core-x86_64/PKGBUILD
===
--- core-x86_64/PKGBUILD2022-03-25 19:53:41 UTC (rev 440682)
+++ core-x86_64/PKGBUILD2022-03-25 23:20:34 UTC (rev 440683)
@@ -1,31 +0,0 @@
-# Maintainer: Sébastien "Seblu" Luttringer 
-# Contributor: Sergej Pupykin 
-# Contributor: Alessandro Sagratini 
-# Contributor: Kevin Edmonds 
-
-pkgname=libnetfilter_conntrack
-pkgver=1.0.8
-pkgrel=1
-pkgdesc='Library providing an API to the in-kernel connection tracking state 
table'
-arch=('x86_64')
-depends=('libnfnetlink' 'libmnl')
-url='https://www.netfilter.org/projects/libnetfilter_conntrack/'
-license=('GPL')
-validpgpkeys=('C09DB2063F1D7034BA6152ADAB4655A126D292E4') # Netfilter Core Team
-source=("https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig})
-sha256sums=('0cd13be008923528687af6c6b860f35392d49251c04ee0648282d36b1faec1cf'
-'SKIP')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}
-
-
-# vim:set ts=2 sw=2 et:

Copied: libnetfilter_conntrack/repos/core-x86_64/PKGBUILD (from rev 440682, 
libnetfilter_conntrack/repos/testing-x86_64/PKGBUILD)
===
--- core-x86_64/PKGBUILD(rev 0)
+++ core-x86_64/PKGBUILD2022-03-25 23:20:34 UTC (rev 440683)
@@ -0,0 +1,31 @@
+# Maintainer: Sébastien "Seblu" Luttringer 
+# Contributor: Sergej Pupykin 
+# Contributor: Alessandro Sagratini 
+# Contributor: Kevin Edmonds 
+
+pkgname=libnetfilter_conntrack
+pkgver=1.0.9
+pkgrel=1
+pkgdesc='Library providing an API to the in-kernel connection tracking state 
table'
+arch=('x86_64')
+depends=('libnfnetlink' 'libmnl')
+url='https://www.netfilter.org/projects/libnetfilter_conntrack/'
+license=('GPL')
+validpgpkeys=('37D964ACC04981C75500FB9BD55D978A8A1420E4') # Netfilter Core Team
+source=("https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2"{,.sig})
+sha256sums=('67bd9df49fe34e8b82144f6dfb93b320f384a8ea59727e92ff8d18b5f4b579a8'
+'SKIP')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}
+
+
+# vim:set ts=2 sw=2 et:



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:20:31
  Author: hashworks
Revision: 1176734

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  108 ++---
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:20:29 UTC (rev 1176733)
+++ PKGBUILD2022-03-25 23:20:31 UTC (rev 1176734)
@@ -1,54 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-reports-plugin'
-_pluginname='dashboards-reports'
-pkgver=1.2.2.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Reports Plugin'
-url='https://opensearch.org/docs/latest/dashboards/reporting'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards' 'coffeescript')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/${_pluginname}.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 "${_pluginname}/${_pluginname}" 
"OpenSearch-Dashboards/plugins/${_pluginname}"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn build --skip-archive
-}
-
-# TODO: Fix tests. Seem to include integration tests.
-#check() {
-#  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-#  yarn test
-#}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "${srcdir}/dashboards-reports/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "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-reports-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176733, opensearch-dashboards-reports-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:20:31 UTC (rev 1176734)
@@ -0,0 +1,54 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-reports-plugin'
+_pluginname='dashboards-reports'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Reports Plugin'
+url='https://opensearch.org/docs/latest/dashboards/reporting'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/${_pluginname}.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 "${_pluginname}/${_pluginname}" 
"OpenSearch-Dashboards/plugins/${_pluginname}"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn build --skip-archive
+}
+
+# TODO: Fix tests. Seem to include integration tests.
+#check() {
+#  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+#  yarn test
+#}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "${srcdir}/dashboards-reports/LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "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:



[arch-commits] Commit in opensearch-dashboards-reports-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:20:29
  Author: hashworks
Revision: 1176733

upgpkg: opensearch-dashboards-reports-plugin 1.3.0.0-1

Modified:
  opensearch-dashboards-reports-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:19:00 UTC (rev 1176732)
+++ PKGBUILD2022-03-25 23:20:29 UTC (rev 1176733)
@@ -2,14 +2,14 @@
 
 pkgname='opensearch-dashboards-reports-plugin'
 _pluginname='dashboards-reports'
-pkgver=1.2.2.0
-_dashboardsver=1.2.0
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Reports Plugin'
 url='https://opensearch.org/docs/latest/dashboards/reporting'
 arch=('x86_64')
 license=('Apache')
-depends=('opensearch-dashboards' 'coffeescript')
+depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
 makedepends=('yarn' 'python' 'git')
 options=('!strip' 'emptydirs')
 source=(
@@ -16,8 +16,10 @@
   "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver};
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver};
 )
-sha256sums=('SKIP'
-'SKIP')
+sha256sums=(
+  'SKIP'
+  'SKIP'
+)
 
 prepare() {
   nodeVersion="$(node -v)"



[arch-commits] Commit in linux-tools/repos/community-x86_64 (18 files)

2022-03-25 Thread Sébastien Luttringer via arch-commits
Date: Friday, March 25, 2022 @ 23:19:00
  Author: seblu
Revision: 1176732

archrelease: copy trunk to community-x86_64

Added:
  linux-tools/repos/community-x86_64/PKGBUILD
(from rev 1176731, linux-tools/trunk/PKGBUILD)
  linux-tools/repos/community-x86_64/cpupower.default
(from rev 1176731, linux-tools/trunk/cpupower.default)
  linux-tools/repos/community-x86_64/cpupower.install
(from rev 1176731, linux-tools/trunk/cpupower.install)
  linux-tools/repos/community-x86_64/cpupower.service
(from rev 1176731, linux-tools/trunk/cpupower.service)
  linux-tools/repos/community-x86_64/cpupower.systemd
(from rev 1176731, linux-tools/trunk/cpupower.systemd)
  linux-tools/repos/community-x86_64/hv_fcopy_daemon.service
(from rev 1176731, linux-tools/trunk/hv_fcopy_daemon.service)
  linux-tools/repos/community-x86_64/hv_kvp_daemon.service
(from rev 1176731, linux-tools/trunk/hv_kvp_daemon.service)
  linux-tools/repos/community-x86_64/hv_vss_daemon.service
(from rev 1176731, linux-tools/trunk/hv_vss_daemon.service)
  linux-tools/repos/community-x86_64/usbipd.service
(from rev 1176731, linux-tools/trunk/usbipd.service)
Deleted:
  linux-tools/repos/community-x86_64/PKGBUILD
  linux-tools/repos/community-x86_64/cpupower.default
  linux-tools/repos/community-x86_64/cpupower.install
  linux-tools/repos/community-x86_64/cpupower.service
  linux-tools/repos/community-x86_64/cpupower.systemd
  linux-tools/repos/community-x86_64/hv_fcopy_daemon.service
  linux-tools/repos/community-x86_64/hv_kvp_daemon.service
  linux-tools/repos/community-x86_64/hv_vss_daemon.service
  linux-tools/repos/community-x86_64/usbipd.service

-+
 PKGBUILD|  622 +++---
 cpupower.default|   58 ++--
 cpupower.install|   26 -
 cpupower.service|   24 -
 cpupower.systemd|   64 ++--
 hv_fcopy_daemon.service |   18 -
 hv_kvp_daemon.service   |   18 -
 hv_vss_daemon.service   |   18 -
 usbipd.service  |   18 -
 9 files changed, 434 insertions(+), 432 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:18:50 UTC (rev 1176731)
+++ PKGBUILD2022-03-25 23:19:00 UTC (rev 1176732)
@@ -1,310 +0,0 @@
-# Maintainer: Sébastien Luttringer
-
-pkgbase=linux-tools
-pkgname=(
-  'bootconfig'
-  'bpf'
-  'cgroup_event_listener'
-  'cpupower'
-  'hyperv'
-  'linux-tools-meta'
-  'perf'
-#  'python-perf'
-  'tmon'
-  'turbostat'
-  'usbip'
-  'x86_energy_perf_policy'
-)
-pkgver=5.16
-pkgrel=1
-license=('GPL2')
-arch=('x86_64')
-url='https://www.kernel.org'
-options=('!strip')
-makedepends=('git')
-# split packages need all package dependencies set manually in makedepends
-# kernel source deps
-makedepends+=('asciidoc' 'xmlto')
-# perf deps
-makedepends+=('perl' 'python' 'slang' 'elfutils' 'libunwind' 'numactl' 'audit' 
'zstd' 'libcap')
-# cpupower deps
-makedepends+=('pciutils')
-# usbip deps
-makedepends+=('glib2' 'sysfsutils' 'udev')
-# tmon deps
-makedepends+=('ncurses')
-# bpf deps
-makedepends+=('readline' 'zlib' 'libelf' 'libcap' 'python-docutils')
-# turbostat deps
-makedepends+=('libcap')
-groups=("$pkgbase")
-source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver//_/-}?signed;
-#"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz;
-'cpupower.default'
-'cpupower.systemd'
-'cpupower.service'
-'usbipd.service'
-'hv_fcopy_daemon.service'
-'hv_kvp_daemon.service'
-'hv_vss_daemon.service')
-validpgpkeys=(
-  'ABAF11C65A2970B130ABE3C479BE3E4300411886'  # Linus Torvalds
-  '647F28654894E3BD457199BE38DBBDC86092693E'  # Greg Kroah-Hartman
-)
-sha256sums=('SKIP'
-'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f'
-'b692f4859ed3fd9831a058a450a84d8c409bf7e3e45aac1c2896a14bb83f3d7a'
-'42d2ec9f1d9cc255ee7945a27301478364ef482f5a6ddfc960189f03725ccec2'
-'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f'
-'16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8'
-'b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61'
-'2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af')
-
-prepare() {
-  cd linux
-
-  # apply patch from the source array (should be a pacman feature)
-  local src
-  for src in "${source[@]}"; do
-src="${src%%::*}"
-src="${src##*/}"
-src="${src%.xz}"
-[[ $src = *.patch || $src = patch-* ]] || continue
-echo ":: Applying patch $src"
-patch -p1 -N -i "$srcdir/$src"
-  done
-}
-
-build() {
-  echo ':: perf'
-  pushd linux/tools/perf
-  make -f Makefile.perf \
-prefix=/usr \
-lib=lib/perf \
-perfexecdir=lib/perf \
-NO_SDT=1 \
-PYTHON=python \
-PYTHON_CONFIG=python-config \
-PERF_VERSION=$pkgver-$pkgrel \
-

[arch-commits] Commit in linux-tools/trunk (PKGBUILD)

2022-03-25 Thread Sébastien Luttringer via arch-commits
Date: Friday, March 25, 2022 @ 23:18:50
  Author: seblu
Revision: 1176731

upgpkg: linux-tools 5.17-1

Modified:
  linux-tools/trunk/PKGBUILD

--+
 PKGBUILD |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:15:03 UTC (rev 1176730)
+++ PKGBUILD2022-03-25 23:18:50 UTC (rev 1176731)
@@ -15,7 +15,7 @@
   'usbip'
   'x86_energy_perf_policy'
 )
-pkgver=5.16
+pkgver=5.17
 pkgrel=1
 license=('GPL2')
 arch=('x86_64')
@@ -37,6 +37,8 @@
 makedepends+=('readline' 'zlib' 'libelf' 'libcap' 'python-docutils')
 # turbostat deps
 makedepends+=('libcap')
+# bpftool
+makedepends+=('llvm' 'clang')
 groups=("$pkgbase")
 
source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver//_/-}?signed;
 #"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz;



[arch-commits] Commit in opensearch-dashboards-query-workbench-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:58
  Author: hashworks
Revision: 1176728

upgpkg: opensearch-dashboards-query-workbench-plugin 1.3.0.0-1

Modified:
  opensearch-dashboards-query-workbench-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:52 UTC (rev 1176727)
+++ PKGBUILD2022-03-25 23:14:58 UTC (rev 1176728)
@@ -2,14 +2,14 @@
 
 pkgname='opensearch-dashboards-query-workbench-plugin'
 _pluginname='query-workbench-dashboards-plugin'
-pkgver=1.2.2.0
-_dashboardsver=1.2.0
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Query Workbench Plugin'
 url='https://opensearch.org/docs/latest/query-workbench/index/'
 arch=('x86_64')
 license=('Apache')
-depends=('opensearch-dashboards')
+depends=("opensearch-dashboards=${_dashboardsver}")
 makedepends=('yarn' 'python' 'git')
 options=('!strip' 'emptydirs')
 source=(
@@ -16,10 +16,8 @@
   "git+https://github.com/opensearch-project/sql.git#tag=${pkgver};
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver};
 )
-sha256sums=(
-  'SKIP'
-  'SKIP'
-)
+sha256sums=('SKIP'
+'SKIP')
 
 prepare() {
   nodeVersion="$(node -v)"



[arch-commits] Commit in opensearch-dashboards-reports-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:15:03
  Author: hashworks
Revision: 1176730

upgpkg: opensearch-dashboards-reports-plugin 1.2.2.0-1

Modified:
  opensearch-dashboards-reports-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:15:00 UTC (rev 1176729)
+++ PKGBUILD2022-03-25 23:15:03 UTC (rev 1176730)
@@ -16,10 +16,8 @@
   "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver};
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver};
 )
-sha256sums=(
-  'SKIP'
-  'SKIP'
-)
+sha256sums=('SKIP'
+'SKIP')
 
 prepare() {
   nodeVersion="$(node -v)"



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:15:00
  Author: hashworks
Revision: 1176729

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards-query-workbench-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176728, 
opensearch-dashboards-query-workbench-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-dashboards-query-workbench-plugin/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  106 +
 1 file changed, 52 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:58 UTC (rev 1176728)
+++ PKGBUILD2022-03-25 23:15:00 UTC (rev 1176729)
@@ -1,54 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-query-workbench-plugin'
-_pluginname='query-workbench-dashboards-plugin'
-pkgver=1.2.2.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Query Workbench Plugin'
-url='https://opensearch.org/docs/latest/query-workbench/index/'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/sql.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" \
-"sql/workbench/package.json"
-}
-
-build() {
-  mv "sql/workbench" "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}"
-#  NODE_PATH=../../node_modules yarn test:jest
-#}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "LICENSE.TXT" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "build/opensearch-dashboards/"* 
"${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-}
-
-# vim: ts=2 sw=2 et:

Copied: 
opensearch-dashboards-query-workbench-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176728, opensearch-dashboards-query-workbench-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:15:00 UTC (rev 1176729)
@@ -0,0 +1,52 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-query-workbench-plugin'
+_pluginname='query-workbench-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Query Workbench Plugin'
+url='https://opensearch.org/docs/latest/query-workbench/index/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}")
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/sql.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" \
+"sql/workbench/package.json"
+}
+
+build() {
+  mv "sql/workbench" "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}"
+#  NODE_PATH=../../node_modules yarn test:jest
+#}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "LICENSE.TXT" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "build/opensearch-dashboards/"* 
"${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+}
+
+# vim: ts=2 sw=2 et:



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:38
  Author: hashworks
Revision: 1176723

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards-gantt-chart-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176722, opensearch-dashboards-gantt-chart-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-dashboards-gantt-chart-plugin/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   98 ++---
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:35 UTC (rev 1176722)
+++ PKGBUILD2022-03-25 23:14:38 UTC (rev 1176723)
@@ -1,49 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-gantt-chart-plugin'
-_pluginname='gantt-chart-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Gantt Chart Plugin'
-url='https://opensearch.org/docs/latest/dashboards/gantt/'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  
"git+https://github.com/opensearch-project/dashboards-visualizations.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 "dashboards-visualizations/gantt-chart" 
"OpenSearch-Dashboards/plugins/${_pluginname}"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
-}
-
-check() {
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn test
-}
-
-package() {
-  install -Dm644 "${srcdir}/dashboards-visualizations/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-gantt-chart-plugin/repos/community-x86_64/PKGBUILD (from 
rev 1176722, opensearch-dashboards-gantt-chart-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:14:38 UTC (rev 1176723)
@@ -0,0 +1,49 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-gantt-chart-plugin'
+_pluginname='gantt-chart-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Gantt Chart Plugin'
+url='https://opensearch.org/docs/latest/dashboards/gantt/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}")
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  
"git+https://github.com/opensearch-project/dashboards-visualizations.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 "dashboards-visualizations/gantt-chart" 
"OpenSearch-Dashboards/plugins/${_pluginname}"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
+}
+
+check() {
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn test
+}
+
+package() {
+  install -Dm644 "${srcdir}/dashboards-visualizations/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:



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:45
  Author: hashworks
Revision: 1176725

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards-index-management-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176724, 
opensearch-dashboards-index-management-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-dashboards-index-management-plugin/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  108 +
 1 file changed, 53 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:42 UTC (rev 1176724)
+++ PKGBUILD2022-03-25 23:14:45 UTC (rev 1176725)
@@ -1,55 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-index-management-plugin'
-_pluginname='index-management-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Index Management Plugin'
-url='https://opensearch.org/docs/latest/im-plugin/index/'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
-"${_pluginname}/package.json" \
-"OpenSearch-Dashboards/package.json"
-}
-
-build() {
-  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
-}
-
-check() {
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn test:jest
-}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "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-index-management-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176724, opensearch-dashboards-index-management-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:14:45 UTC (rev 1176725)
@@ -0,0 +1,53 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-index-management-plugin'
+_pluginname='index-management-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Index Management Plugin'
+url='https://opensearch.org/docs/latest/im-plugin/index/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}")
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
+"${_pluginname}/package.json" \
+"OpenSearch-Dashboards/package.json"
+}
+
+build() {
+  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
+}
+
+check() {
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn test:jest
+}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "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:



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:52
  Author: hashworks
Revision: 1176727

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:49 UTC (rev 1176726)
+++ PKGBUILD2022-03-25 23:14:52 UTC (rev 1176727)
@@ -1,52 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-observability-plugin'
-_pluginname='observability-dashboards-plugin'
-pkgver=1.2.2.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Observability Plugin'
-url='https://opensearch.org/docs/latest/observability/index/'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards' '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 1176726, opensearch-dashboards-observability-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:14:52 UTC (rev 1176727)
@@ -0,0 +1,50 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-observability-plugin'
+_pluginname='observability-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.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:



[arch-commits] Commit in opensearch-dashboards-index-management-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:42
  Author: hashworks
Revision: 1176724

upgpkg: opensearch-dashboards-index-management-plugin 1.3.0.0-1

Modified:
  opensearch-dashboards-index-management-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:38 UTC (rev 1176723)
+++ PKGBUILD2022-03-25 23:14:42 UTC (rev 1176724)
@@ -2,14 +2,14 @@
 
 pkgname='opensearch-dashboards-index-management-plugin'
 _pluginname='index-management-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Index Management Plugin'
 url='https://opensearch.org/docs/latest/im-plugin/index/'
 arch=('x86_64')
 license=('Apache')
-depends=('opensearch-dashboards')
+depends=("opensearch-dashboards=${_dashboardsver}")
 makedepends=('yarn' 'python' 'git')
 options=('!strip' 'emptydirs')
 source=(
@@ -16,10 +16,8 @@
   "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver};
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver};
 )
-sha256sums=(
-  'SKIP'
-  'SKIP'
-)
+sha256sums=('SKIP'
+'SKIP')
 
 prepare() {
   nodeVersion="$(node -v)"



[arch-commits] Commit in opensearch-dashboards-observability-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:49
  Author: hashworks
Revision: 1176726

upgpkg: opensearch-dashboards-observability-plugin 1.3.0.0-1

Modified:
  opensearch-dashboards-observability-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:45 UTC (rev 1176725)
+++ PKGBUILD2022-03-25 23:14:49 UTC (rev 1176726)
@@ -2,14 +2,14 @@
 
 pkgname='opensearch-dashboards-observability-plugin'
 _pluginname='observability-dashboards-plugin'
-pkgver=1.2.2.0
-_dashboardsver=1.2.0
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Observability Plugin'
 url='https://opensearch.org/docs/latest/observability/index/'
 arch=('x86_64')
 license=('Apache')
-depends=('opensearch-dashboards' 'gnuplot')
+depends=("opensearch-dashboards=${_dashboardsver}" 'gnuplot')
 makedepends=('yarn' 'python' 'git')
 options=('!strip' 'emptydirs')
 source=(
@@ -16,10 +16,8 @@
   "git+https://github.com/opensearch-project/observability.git#tag=${pkgver};
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver};
 )
-sha256sums=(
-  'SKIP'
-  'SKIP'
-)
+sha256sums=('SKIP'
+'SKIP')
 
 prepare() {
   nodeVersion="$(node -v)"



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:26
  Author: hashworks
Revision: 1176719

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  106 ++---
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 22:54:44 UTC (rev 1176718)
+++ PKGBUILD2022-03-25 23:14:26 UTC (rev 1176719)
@@ -1,53 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-alerting-plugin'
-_pluginname='alerting-dashboards-plugin'
-pkgver=1.3.0.0
-_dashboardsver=1.3.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Alerting Plugin'
-url='https://opensearch.org/docs/latest/monitoring-plugins/alerting'
-arch=('x86_64')
-license=('Apache')
-depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
-"${_pluginname}/package.json" \
-"OpenSearch-Dashboards/package.json"
-}
-
-build() {
-  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
-}
-
-check() {
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn test:jest
-}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "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-alerting-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176718, opensearch-dashboards-alerting-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:14:26 UTC (rev 1176719)
@@ -0,0 +1,53 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-alerting-plugin'
+_pluginname='alerting-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Alerting Plugin'
+url='https://opensearch.org/docs/latest/monitoring-plugins/alerting'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
+"${_pluginname}/package.json" \
+"OpenSearch-Dashboards/package.json"
+}
+
+build() {
+  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
+}
+
+check() {
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn test:jest
+}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "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:



[arch-commits] Commit in opensearch-dashboards-gantt-chart-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:35
  Author: hashworks
Revision: 1176722

upgpkg: opensearch-dashboards-gantt-chart-plugin 1.3.0.0-1

Modified:
  opensearch-dashboards-gantt-chart-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:31 UTC (rev 1176721)
+++ PKGBUILD2022-03-25 23:14:35 UTC (rev 1176722)
@@ -2,14 +2,14 @@
 
 pkgname='opensearch-dashboards-gantt-chart-plugin'
 _pluginname='gantt-chart-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Gantt Chart Plugin'
 url='https://opensearch.org/docs/latest/dashboards/gantt/'
 arch=('x86_64')
 license=('Apache')
-depends=('opensearch-dashboards')
+depends=("opensearch-dashboards=${_dashboardsver}")
 makedepends=('yarn' 'python' 'git')
 options=('!strip' 'emptydirs')
 source=(



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:31
  Author: hashworks
Revision: 1176721

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards-anomaly-detection-plugin/repos/community-x86_64/PKGBUILD
(from rev 1176720, 
opensearch-dashboards-anomaly-detection-plugin/trunk/PKGBUILD)
Deleted:
  opensearch-dashboards-anomaly-detection-plugin/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  108 +
 1 file changed, 53 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:28 UTC (rev 1176720)
+++ PKGBUILD2022-03-25 23:14:31 UTC (rev 1176721)
@@ -1,55 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-anomaly-detection-plugin'
-_pluginname='anomaly-detection-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Anomaly Detection Plugin'
-url='https://opensearch.org/docs/latest/monitoring-plugins/ad/index/'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
-"${_pluginname}/package.json" \
-"OpenSearch-Dashboards/package.json"
-}
-
-build() {
-  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
-}
-
-check() {
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn test:jest
-}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "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-anomaly-detection-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176720, 
opensearch-dashboards-anomaly-detection-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 23:14:31 UTC (rev 1176721)
@@ -0,0 +1,53 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-anomaly-detection-plugin'
+_pluginname='anomaly-detection-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Anomaly Detection Plugin'
+url='https://opensearch.org/docs/latest/monitoring-plugins/ad/index/'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}")
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
+"${_pluginname}/package.json" \
+"OpenSearch-Dashboards/package.json"
+}
+
+build() {
+  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
+}
+
+check() {
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn test:jest
+}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "LICENSE.txt" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "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:



[arch-commits] Commit in opensearch-dashboards-anomaly-detection-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 23:14:28
  Author: hashworks
Revision: 1176720

upgpkg: opensearch-dashboards-anomaly-detection-plugin 1.3.0.0-1

Modified:
  opensearch-dashboards-anomaly-detection-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 23:14:26 UTC (rev 1176719)
+++ PKGBUILD2022-03-25 23:14:28 UTC (rev 1176720)
@@ -2,14 +2,14 @@
 
 pkgname='opensearch-dashboards-anomaly-detection-plugin'
 _pluginname='anomaly-detection-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Anomaly Detection Plugin'
 url='https://opensearch.org/docs/latest/monitoring-plugins/ad/index/'
 arch=('x86_64')
 license=('Apache')
-depends=('opensearch-dashboards')
+depends=("opensearch-dashboards=${_dashboardsver}")
 makedepends=('yarn' 'python' 'git')
 options=('!strip' 'emptydirs')
 source=(
@@ -16,10 +16,8 @@
   "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver};
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver};
 )
-sha256sums=(
-  'SKIP'
-  'SKIP'
-)
+sha256sums=('SKIP'
+'SKIP')
 
 prepare() {
   nodeVersion="$(node -v)"



[arch-commits] Commit in rustypaste/repos/community-x86_64 (10 files)

2022-03-25 Thread Orhun Parmaksiz via arch-commits
Date: Friday, March 25, 2022 @ 22:54:44
  Author: orhun
Revision: 1176718

archrelease: copy trunk to community-x86_64

Added:
  rustypaste/repos/community-x86_64/PKGBUILD
(from rev 1176717, rustypaste/trunk/PKGBUILD)
  rustypaste/repos/community-x86_64/rustypaste.env
(from rev 1176717, rustypaste/trunk/rustypaste.env)
  rustypaste/repos/community-x86_64/rustypaste.service
(from rev 1176717, rustypaste/trunk/rustypaste.service)
  rustypaste/repos/community-x86_64/rustypaste.sysusers
(from rev 1176717, rustypaste/trunk/rustypaste.sysusers)
  rustypaste/repos/community-x86_64/rustypaste.tmpfiles
(from rev 1176717, rustypaste/trunk/rustypaste.tmpfiles)
Deleted:
  rustypaste/repos/community-x86_64/PKGBUILD
  rustypaste/repos/community-x86_64/rustypaste.env
  rustypaste/repos/community-x86_64/rustypaste.service
  rustypaste/repos/community-x86_64/rustypaste.sysusers
  rustypaste/repos/community-x86_64/rustypaste.tmpfiles

-+
 PKGBUILD|  103 ++
 rustypaste.env  |4 -
 rustypaste.service  |   62 +++---
 rustypaste.sysusers |2 
 rustypaste.tmpfiles |2 
 5 files changed, 82 insertions(+), 91 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 22:54:25 UTC (rev 1176717)
+++ PKGBUILD2022-03-25 22:54:44 UTC (rev 1176718)
@@ -1,56 +0,0 @@
-# Maintainer: Frederik Schwan 
-# Maintainer: Orhun Parmaksız 
-
-pkgname=rustypaste
-pkgver=0.6.5
-pkgrel=2
-pkgdesc='A minimal file upload/pastebin service'
-arch=('x86_64')
-url='https://github.com/orhun/rustypaste'
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('cargo')
-backup=('etc/rustypaste/config.toml')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/orhun/rustypaste/archive/refs/tags/v${pkgver}.tar.gz
-  rustypaste.service
-  rustypaste.env
-  rustypaste.sysusers
-  rustypaste.tmpfiles)
-b2sums=('d0cdd1afa85e9ca96bdd79bcf174e3fa4c771b872d3582efbe9813c5d4f33757d964c31c749a0cd0814579c95b4d480f90e848c48e773f9363f3f63225b0f9b8'
-
'0a97e61cc4bbe00d7e395bbee1893ae21444559dc01a1598144c9e20b198ed4b467aa72c2989449b0d055bab9c5d8d75ecb06f874332d8e444a4b0580915b359'
-
'540a8523154c1847c93b9332da2a1ce84336ca043bc551540649a2dfab4bb2bee42ef11d25d9287ac1b256c3862f703b3302e36b11e627a45ff72a10ff5f9a8e'
-
'47dd34688a8cfab88f6be13830e3030445f0378247a69f8efc8c54d221d28b871a6226920b12c7fcb1e1bf1659c7e0aa2df691dbbfa0ff64e58c7680149027ee'
-
'f08a802529a7afb77950496d500a12b1332b6b56202db60e4d76765cca79d8b44ce658f433294221696172a8c34ceac0121c75673b9b9de72a873f451617d0c0')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  export RUSTUP_TOOLCHAIN=stable
-  export CARGO_TARGET_DIR=target
-  CFLAGS+=' -ffat-lto-objects'
-  cargo build --release --frozen
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  export RUSTUP_TOOLCHAIN=stable
-  CFLAGS+=' -ffat-lto-objects'
-  cargo test --frozen
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm755 target/release/${pkgname} -t "${pkgdir}"/usr/bin
-  install -Dm644 config.toml -t "${pkgdir}"/etc/rustypaste
-  install -Dm644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-
-  install -Dm644 "${srcdir}"/rustypaste.env -t "${pkgdir}"/etc/rustypaste
-  install -Dm644 "${srcdir}"/rustypaste.service -t 
"$pkgdir"/usr/lib/systemd/system/
-  install -Dm644 "${srcdir}"/rustypaste.sysusers 
"${pkgdir}"/usr/lib/sysusers.d/rustypaste.conf
-  install -Dm644 "${srcdir}"/rustypaste.tmpfiles 
"${pkgdir}"/usr/lib/tmpfiles.d/rustypaste.conf
-}

Copied: rustypaste/repos/community-x86_64/PKGBUILD (from rev 1176717, 
rustypaste/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 22:54:44 UTC (rev 1176718)
@@ -0,0 +1,47 @@
+# Maintainer: Frederik Schwan 
+# Maintainer: Orhun Parmaksız 
+
+pkgname=rustypaste
+pkgver=0.7.0
+pkgrel=1
+pkgdesc='A minimal file upload/pastebin service'
+arch=('x86_64')
+url='https://github.com/orhun/rustypaste'
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cargo')
+backup=('etc/rustypaste/config.toml')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/orhun/rustypaste/archive/refs/tags/v${pkgver}.tar.gz)
+b2sums=('7990b54805e7130862e6047f9393fe5c539dc4ded32e4d74bd4fedc34c610717dccdd10781a81dd603e25e2bf9132e0e035ac08f785a3cfc95c09d4f4edbd948')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export RUSTUP_TOOLCHAIN=stable
+  export CARGO_TARGET_DIR=target
+  CFLAGS+=' -ffat-lto-objects'
+  cargo build --release --frozen
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  export RUSTUP_TOOLCHAIN=stable
+  

[arch-commits] Commit in rustypaste/trunk (PKGBUILD)

2022-03-25 Thread Orhun Parmaksiz via arch-commits
Date: Friday, March 25, 2022 @ 22:54:25
  Author: orhun
Revision: 1176717

upgpkg: rustypaste 0.7.0-1: upstream release

Modified:
  rustypaste/trunk/PKGBUILD

--+
 PKGBUILD |   27 +--
 1 file changed, 9 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 22:46:19 UTC (rev 1176716)
+++ PKGBUILD2022-03-25 22:54:25 UTC (rev 1176717)
@@ -2,8 +2,8 @@
 # Maintainer: Orhun Parmaksız 
 
 pkgname=rustypaste
-pkgver=0.6.5
-pkgrel=2
+pkgver=0.7.0
+pkgrel=1
 pkgdesc='A minimal file upload/pastebin service'
 arch=('x86_64')
 url='https://github.com/orhun/rustypaste'
@@ -11,16 +11,8 @@
 depends=('gcc-libs')
 makedepends=('cargo')
 backup=('etc/rustypaste/config.toml')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/orhun/rustypaste/archive/refs/tags/v${pkgver}.tar.gz
-  rustypaste.service
-  rustypaste.env
-  rustypaste.sysusers
-  rustypaste.tmpfiles)
-b2sums=('d0cdd1afa85e9ca96bdd79bcf174e3fa4c771b872d3582efbe9813c5d4f33757d964c31c749a0cd0814579c95b4d480f90e848c48e773f9363f3f63225b0f9b8'
-
'0a97e61cc4bbe00d7e395bbee1893ae21444559dc01a1598144c9e20b198ed4b467aa72c2989449b0d055bab9c5d8d75ecb06f874332d8e444a4b0580915b359'
-
'540a8523154c1847c93b9332da2a1ce84336ca043bc551540649a2dfab4bb2bee42ef11d25d9287ac1b256c3862f703b3302e36b11e627a45ff72a10ff5f9a8e'
-
'47dd34688a8cfab88f6be13830e3030445f0378247a69f8efc8c54d221d28b871a6226920b12c7fcb1e1bf1659c7e0aa2df691dbbfa0ff64e58c7680149027ee'
-
'f08a802529a7afb77950496d500a12b1332b6b56202db60e4d76765cca79d8b44ce658f433294221696172a8c34ceac0121c75673b9b9de72a873f451617d0c0')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/orhun/rustypaste/archive/refs/tags/v${pkgver}.tar.gz)
+b2sums=('7990b54805e7130862e6047f9393fe5c539dc4ded32e4d74bd4fedc34c610717dccdd10781a81dd603e25e2bf9132e0e035ac08f785a3cfc95c09d4f4edbd948')
 
 prepare() {
   cd ${pkgname}-${pkgver}
@@ -39,7 +31,7 @@
   cd ${pkgname}-${pkgver}
   export RUSTUP_TOOLCHAIN=stable
   CFLAGS+=' -ffat-lto-objects'
-  cargo test --frozen
+  cargo test --frozen -- --test-threads 1
 }
 
 package() {
@@ -48,9 +40,8 @@
   install -Dm644 config.toml -t "${pkgdir}"/etc/rustypaste
   install -Dm644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}
   install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-
-  install -Dm644 "${srcdir}"/rustypaste.env -t "${pkgdir}"/etc/rustypaste
-  install -Dm644 "${srcdir}"/rustypaste.service -t 
"$pkgdir"/usr/lib/systemd/system/
-  install -Dm644 "${srcdir}"/rustypaste.sysusers 
"${pkgdir}"/usr/lib/sysusers.d/rustypaste.conf
-  install -Dm644 "${srcdir}"/rustypaste.tmpfiles 
"${pkgdir}"/usr/lib/tmpfiles.d/rustypaste.conf
+  install -Dm644 extra/systemd/rustypaste.env -t "${pkgdir}"/etc/rustypaste
+  install -Dm644 extra/systemd/rustypaste.service -t 
"$pkgdir"/usr/lib/systemd/system/
+  install -Dm644 extra/systemd/rustypaste.sysusers 
"${pkgdir}"/usr/lib/sysusers.d/rustypaste.conf
+  install -Dm644 extra/systemd/rustypaste.tmpfiles 
"${pkgdir}"/usr/lib/tmpfiles.d/rustypaste.conf
 }



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 22:46:19
  Author: hashworks
Revision: 1176716

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |  108 +
 1 file changed, 53 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 22:46:16 UTC (rev 1176715)
+++ PKGBUILD2022-03-25 22:46:19 UTC (rev 1176716)
@@ -1,55 +0,0 @@
-# Maintainer: Justin Kromlinger 
-
-pkgname='opensearch-dashboards-alerting-plugin'
-_pluginname='alerting-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
-pkgrel=1
-pkgdesc='OpenSearch Dashboards Alerting Plugin'
-url='https://opensearch.org/docs/latest/monitoring-plugins/alerting'
-arch=('x86_64')
-license=('Apache')
-depends=('opensearch-dashboards' 'coffeescript')
-makedepends=('yarn' 'python' 'git')
-options=('!strip' 'emptydirs')
-source=(
-  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
-"${_pluginname}/package.json" \
-"OpenSearch-Dashboards/package.json"
-}
-
-build() {
-  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn osd bootstrap
-  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
-}
-
-check() {
-  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
-  yarn test:jest
-}
-
-package() {
-  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
-
-  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
-
-  cp -r "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-alerting-plugin/repos/community-x86_64/PKGBUILD 
(from rev 1176715, opensearch-dashboards-alerting-plugin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2022-03-25 22:46:19 UTC (rev 1176716)
@@ -0,0 +1,53 @@
+# Maintainer: Justin Kromlinger 
+
+pkgname='opensearch-dashboards-alerting-plugin'
+_pluginname='alerting-dashboards-plugin'
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
+pkgrel=1
+pkgdesc='OpenSearch Dashboards Alerting Plugin'
+url='https://opensearch.org/docs/latest/monitoring-plugins/alerting'
+arch=('x86_64')
+license=('Apache')
+depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
+makedepends=('yarn' 'python' 'git')
+options=('!strip' 'emptydirs')
+source=(
+  "git+https://github.com/opensearch-project/${_pluginname}.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}\",/" \
+"${_pluginname}/package.json" \
+"OpenSearch-Dashboards/package.json"
+}
+
+build() {
+  mv "${_pluginname}" "OpenSearch-Dashboards/plugins"
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn osd bootstrap
+  yarn plugin-helpers build --skip-archive # `yarn build` will always create 
the ZIP
+}
+
+check() {
+  cd "OpenSearch-Dashboards/plugins/${_pluginname}"
+  yarn test:jest
+}
+
+package() {
+  cd "${srcdir}/OpenSearch-Dashboards/plugins/${_pluginname}"
+
+  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -dm755 "${pkgdir}/usr/share/opensearch-dashboards/plugins/"
+
+  cp -r "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:



[arch-commits] Commit in opensearch-dashboards-alerting-plugin/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 22:46:16
  Author: hashworks
Revision: 1176715

upgpkg: opensearch-dashboards-alerting-plugin 1.3.0.0-1

Modified:
  opensearch-dashboards-alerting-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 22:45:51 UTC (rev 1176714)
+++ PKGBUILD2022-03-25 22:46:16 UTC (rev 1176715)
@@ -2,14 +2,14 @@
 
 pkgname='opensearch-dashboards-alerting-plugin'
 _pluginname='alerting-dashboards-plugin'
-pkgver=1.2.0.0
-_dashboardsver=1.2.0
+pkgver=1.3.0.0
+_dashboardsver=1.3.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Alerting Plugin'
 url='https://opensearch.org/docs/latest/monitoring-plugins/alerting'
 arch=('x86_64')
 license=('Apache')
-depends=('opensearch-dashboards' 'coffeescript')
+depends=("opensearch-dashboards=${_dashboardsver}" 'coffeescript')
 makedepends=('yarn' 'python' 'git')
 options=('!strip' 'emptydirs')
 source=(
@@ -16,10 +16,8 @@
   "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver};
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver};
 )
-sha256sums=(
-  'SKIP'
-  'SKIP'
-)
+sha256sums=('SKIP'
+'SKIP')
 
 prepare() {
   nodeVersion="$(node -v)"



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

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 22:45:51
  Author: hashworks
Revision: 1176714

archrelease: copy trunk to community-x86_64

Added:
  opensearch-dashboards/repos/community-x86_64/PKGBUILD
(from rev 1176713, opensearch-dashboards/trunk/PKGBUILD)
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards
(from rev 1176713, opensearch-dashboards/trunk/opensearch-dashboards)
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards-keystore
(from rev 1176713, 
opensearch-dashboards/trunk/opensearch-dashboards-keystore)
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards-plugin
(from rev 1176713, opensearch-dashboards/trunk/opensearch-dashboards-plugin)
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards.service
(from rev 1176713, 
opensearch-dashboards/trunk/opensearch-dashboards.service)
  opensearch-dashboards/repos/community-x86_64/tmpfile.conf
(from rev 1176713, opensearch-dashboards/trunk/tmpfile.conf)
  opensearch-dashboards/repos/community-x86_64/user.conf
(from rev 1176713, opensearch-dashboards/trunk/user.conf)
Deleted:
  opensearch-dashboards/repos/community-x86_64/PKGBUILD
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards-keystore
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards-plugin
  opensearch-dashboards/repos/community-x86_64/opensearch-dashboards.service
  opensearch-dashboards/repos/community-x86_64/tmpfile.conf
  opensearch-dashboards/repos/community-x86_64/user.conf

+
 PKGBUILD   |  194 ---
 opensearch-dashboards  |   24 ++--
 opensearch-dashboards-keystore |   24 ++--
 opensearch-dashboards-plugin   |   24 ++--
 opensearch-dashboards.service  |   30 +++---
 tmpfile.conf   |   12 +-
 user.conf  |2 
 7 files changed, 159 insertions(+), 151 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 22:45:47 UTC (rev 1176713)
+++ PKGBUILD2022-03-25 22:45:51 UTC (rev 1176714)
@@ -1,93 +0,0 @@
-# Maintainer: Justin Kromlinger 
-# Contributor: Levente Polyak 
-# Contributor: Massimiliano Torromeo 
-# Contributor: Spider.007 
-
-pkgname=opensearch-dashboards
-pkgver=1.2.0
-pkgrel=2
-pkgdesc='Open source visualization dashboards for OpenSearch'
-url='https://opensearch.org/docs/dashboards/index/'
-arch=('x86_64')
-license=('Apache')
-depends=('nodejs-lts-erbium')
-optdepends=(
-  'opensearch'
-)
-makedepends=('yarn' 'git' 'python')
-backup=('etc/opensearch-dashboards/opensearch_dashboards.yml')
-options=('!strip' 'emptydirs')
-source=(
-  
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${pkgver};
-  opensearch-dashboards
-  opensearch-dashboards-keystore
-  opensearch-dashboards-plugin
-  opensearch-dashboards.service
-  tmpfile.conf
-  user.conf
-)
-sha512sums=('SKIP'
-
'c404c8f576ccc5d9202b6808eaf0ec4a1545eec63480ea5189f0f5b66f3e22f431090ece3e7488f6e7d20472e55e784110d4d393bef94ad959c8ee0665290d36'
-
'55bb1b7e86bafb9938b787c973aab318848bdb7a498d547948d58ee06fc8b96f9a184d6c00a9f1e7accb5caf64992b0db86cf4b31b0d0eb66c8a88f09b609d3e'
-
'bd3bb6a1d64b80bc0a5a5d73ccce7689b8aaf035262424414de404083085ae8e482770f62e5d8219313adeecd65003b7ce1bbe8943418dbd6a432e739e124493'
-
'bec175171d7ce2d9769b4247931f13e73713f6f6f5eba1c1c184c450e694ae52e54d16e79853331df5fa6b50ebc42e1408cf022dbb8e025526c9be783dfca5c2'
-
'ee7a82eb8b5a719913250159485b144ab94219e64f09a73210bd4cf82345e4f7d1b594e6e8d67aca7faaf6087a672bec478f19ce1493ca64d42e6c39f6b586b8'
-
'51cef07f4f4cdd467aa4a2665ee8aaa870ea8f11449f4be1cb239826292ee4044cc656204ab8836730ac1555387ddb20c2cfb9a50ba70f5c5fe59c271a332ab4')
-
-prepare() {
-  cd "OpenSearch-Dashboards"
-
-  nodeVersion="$(node -v)"
-  # Yes, you support this version. You just don't know it yet.
-  sed -i "s/\"node\": \"[0-9\.]*\",/\"node\": \"${nodeVersion:1}\",/" 
"package.json"
-
-  # Don't check the nodejs version for now until 
https://github.com/opensearch-project/OpenSearch-Dashboards/issues/920
-  sed -i "/^require('.\/node_version_validator');$/d" 
src/setup_node_env/no_transpilation.js
-
-  # set default quiet mode for systemd, cli option forces specified values
-  sed -r 's|#(logging.quiet:) false|\1 true|' -i 
config/opensearch_dashboards.yml
-}
-
-build() {
-  cd "OpenSearch-Dashboards"
-
-  yarn osd bootstrap
-  yarn build --skip-os-packages
-
-  # TODO: How to tell yarn that we don't want to create a SNAPSHOT version?
-  sed -i "s/  \"version\": \"${pkgver}-SNAPSHOT\",/  \"version\": 
\"${pkgver}\",/" "build/opensearch-dashboards/package.json"
-}
-
-package() {
-  cd "OpenSearch-Dashboards/build/opensearch-dashboards"
-
-  install -dm755 

[arch-commits] Commit in opensearch-dashboards/trunk (PKGBUILD)

2022-03-25 Thread Justin Kromlinger via arch-commits
Date: Friday, March 25, 2022 @ 22:45:47
  Author: hashworks
Revision: 1176713

upgpkg: opensearch-dashboards 1.3.0-1

Modified:
  opensearch-dashboards/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 22:20:53 UTC (rev 1176712)
+++ PKGBUILD2022-03-25 22:45:47 UTC (rev 1176713)
@@ -4,8 +4,8 @@
 # Contributor: Spider.007 
 
 pkgname=opensearch-dashboards
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.3.0
+pkgrel=1
 pkgdesc='Open source visualization dashboards for OpenSearch'
 url='https://opensearch.org/docs/dashboards/index/'
 arch=('x86_64')
@@ -13,6 +13,14 @@
 depends=('nodejs-lts-erbium')
 optdepends=(
   'opensearch'
+  'opensearch-dashboards-alerting-plugin'
+  'opensearch-dashboards-anomaly-detection-plugin'
+  'opensearch-dashboards-gantt-chart-plugin'
+  'opensearch-dashboards-index-management-plugin'
+  'opensearch-dashboards-observability-plugin'
+  'opensearch-dashboards-query-workbench-plugin'
+  'opensearch-dashboards-reports-plugin'
+  'opensearch-dashboards-security-plugin'
 )
 makedepends=('yarn' 'git' 'python')
 backup=('etc/opensearch-dashboards/opensearch_dashboards.yml')



[arch-commits] Commit in wine/repos/multilib-x86_64 (8 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 22:20:53
  Author: felixonmars
Revision: 1176712

archrelease: copy trunk to multilib-x86_64

Added:
  wine/repos/multilib-x86_64/30-win32-aliases.conf
(from rev 1176711, wine/trunk/30-win32-aliases.conf)
  wine/repos/multilib-x86_64/PKGBUILD
(from rev 1176711, wine/trunk/PKGBUILD)
  wine/repos/multilib-x86_64/wine-binfmt.conf
(from rev 1176711, wine/trunk/wine-binfmt.conf)
  wine/repos/multilib-x86_64/wine.install
(from rev 1176711, wine/trunk/wine.install)
Deleted:
  wine/repos/multilib-x86_64/30-win32-aliases.conf
  wine/repos/multilib-x86_64/PKGBUILD
  wine/repos/multilib-x86_64/wine-binfmt.conf
  wine/repos/multilib-x86_64/wine.install

---+
 30-win32-aliases.conf |   40 ++---
 PKGBUILD  |  360 
 wine-binfmt.conf  |4 
 wine.install  |   14 -
 4 files changed, 209 insertions(+), 209 deletions(-)

Deleted: 30-win32-aliases.conf
===
--- 30-win32-aliases.conf   2022-03-25 22:20:33 UTC (rev 1176711)
+++ 30-win32-aliases.conf   2022-03-25 22:20:53 UTC (rev 1176712)
@@ -1,20 +0,0 @@
-
-
-
-  
-MS Shell Dlg
-Microsoft Sans Serif
-sans-serif
-  
-  
-MS Shell Dlg 2
-Tahoma
-sans-serif
-  
-
-  
-MS Sans Serif
-Microsoft Sans Serif
-sans-serif
-  
-

Copied: wine/repos/multilib-x86_64/30-win32-aliases.conf (from rev 1176711, 
wine/trunk/30-win32-aliases.conf)
===
--- 30-win32-aliases.conf   (rev 0)
+++ 30-win32-aliases.conf   2022-03-25 22:20:53 UTC (rev 1176712)
@@ -0,0 +1,20 @@
+
+
+
+  
+MS Shell Dlg
+Microsoft Sans Serif
+sans-serif
+  
+  
+MS Shell Dlg 2
+Tahoma
+sans-serif
+  
+
+  
+MS Sans Serif
+Microsoft Sans Serif
+sans-serif
+  
+

Deleted: PKGBUILD
===
--- PKGBUILD2022-03-25 22:20:33 UTC (rev 1176711)
+++ PKGBUILD2022-03-25 22:20:53 UTC (rev 1176712)
@@ -1,180 +0,0 @@
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Jan "heftig" Steffens 
-# Contributor: Eduardo Romero 
-# Contributor: Giovanni Scafora 
-
-pkgname=wine
-pkgver=7.4
-pkgrel=1
-
-_pkgbasever=${pkgver/rc/-rc}
-
-source=(https://dl.winehq.org/wine/source/7.x/$pkgname-$_pkgbasever.tar.xz{,.sign}
-30-win32-aliases.conf
-wine-binfmt.conf)
-sha512sums=('ed3e08e27ea2dbec1e317aad37bd7e3a501363dc8a5d823f9db29039006aaac6b9bfb2552aa85ae3f5678ff721e2dacb534d3b7d6ed0b959b0e5431192d03736'
-'SKIP'
-
'6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
-
'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285')
-validpgpkeys=(5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7
-  DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D)
-
-pkgdesc="A compatibility layer for running Windows programs"
-url="http://www.winehq.com;
-arch=(x86_64)
-options=(staticlibs !lto)
-license=(LGPL)
-depends=(
-  fontconfig  lib32-fontconfig
-  lcms2   lib32-lcms2
-  libxml2 lib32-libxml2
-  libxcursor  lib32-libxcursor
-  libxrandr   lib32-libxrandr
-  libxdamage  lib32-libxdamage
-  libxi   lib32-libxi
-  gettext lib32-gettext
-  freetype2   lib32-freetype2
-  glu lib32-glu
-  libsm   lib32-libsm
-  gcc-libslib32-gcc-libs
-  libpcap lib32-libpcap
-  faudio  lib32-faudio
-  desktop-file-utils
-)
-makedepends=(autoconf bison perl fontforge flex mingw-w64-gcc
-  gifliblib32-giflib
-  libpnglib32-libpng
-  gnutlslib32-gnutls
-  libxinerama   lib32-libxinerama
-  libxcomposite lib32-libxcomposite
-  libxmulib32-libxmu
-  libxxf86vmlib32-libxxf86vm
-  libldap   lib32-libldap
-  mpg123lib32-mpg123
-  openallib32-openal
-  v4l-utils lib32-v4l-utils
-  libpulse  lib32-libpulse
-  alsa-lib  lib32-alsa-lib
-  libxcomposite lib32-libxcomposite
-  mesa  lib32-mesa
-  mesa-libgllib32-mesa-libgl
-  opencl-icd-loader lib32-opencl-icd-loader
-  libxslt   lib32-libxslt
-  gst-plugins-base-libs lib32-gst-plugins-base-libs
-  vulkan-icd-loader lib32-vulkan-icd-loader
-  vkd3d lib32-vkd3d
-  sdl2  lib32-sdl2
-  libcups   lib32-libcups
-  libgphoto2
-  sane
-  gsm
-  vulkan-headers
-  samba
-  opencl-headers
-)
-optdepends=(
-  gifliblib32-giflib
-  libpnglib32-libpng
-  libldap   lib32-libldap
-  gnutlslib32-gnutls
-  mpg123 

[arch-commits] Commit in wine/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 22:20:33
  Author: felixonmars
Revision: 1176711

upgpkg: wine 7.5-1

Modified:
  wine/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 21:19:11 UTC (rev 1176710)
+++ PKGBUILD2022-03-25 22:20:33 UTC (rev 1176711)
@@ -4,7 +4,7 @@
 # Contributor: Giovanni Scafora 
 
 pkgname=wine
-pkgver=7.4
+pkgver=7.5
 pkgrel=1
 
 _pkgbasever=${pkgver/rc/-rc}
@@ -12,7 +12,7 @@
 
source=(https://dl.winehq.org/wine/source/7.x/$pkgname-$_pkgbasever.tar.xz{,.sign}
 30-win32-aliases.conf
 wine-binfmt.conf)
-sha512sums=('ed3e08e27ea2dbec1e317aad37bd7e3a501363dc8a5d823f9db29039006aaac6b9bfb2552aa85ae3f5678ff721e2dacb534d3b7d6ed0b959b0e5431192d03736'
+sha512sums=('70458d702e04075915a97a12c5ebd33ec50cbb094f5f837e6bb498e24ee48630359d819d9689e84d29708398162ca7b8f7737216fb31c350701b66733da98616'
 'SKIP'
 
'6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
 
'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285')



[arch-commits] Commit in postgrest/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:17:58
  Author: felixonmars
Revision: 1176707

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 1176706, postgrest/trunk/PKGBUILD)

--+
 PKGBUILD |   72 +
 1 file changed, 72 insertions(+)

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176706, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-25 21:17:58 UTC (rev 1176707)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=8.0.0
+pkgrel=163
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-fast-logger' 
'haskell-gitrev' 'haskell-hasql'
+ 'haskell-hasql-dynamic-statements' 'haskell-hasql-notifications' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-protolude' 'haskell-regex-tdfa' 'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-logger' 
'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal
+
+# TODO: not a proper fix. probably newly added "column" should be shown too
+sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgrest_test
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test 
--show-details=direct
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in postgrest/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:17:48
  Author: felixonmars
Revision: 1176706

upgpkg: postgrest 8.0.0-163: rebuild with hasql-implicits 0.1.0.3

Modified:
  postgrest/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 21:15:06 UTC (rev 1176705)
+++ PKGBUILD2022-03-25 21:17:48 UTC (rev 1176706)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=162
+pkgrel=163
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



[arch-commits] Commit in haskell-hasql-dynamic-statements/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:14:55
  Author: felixonmars
Revision: 1176704

upgpkg: haskell-hasql-dynamic-statements 0.3.1-89: rebuild with hasql-implicits 
0.1.0.3

Modified:
  haskell-hasql-dynamic-statements/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 21:14:05 UTC (rev 1176703)
+++ PKGBUILD2022-03-25 21:14:55 UTC (rev 1176704)
@@ -3,7 +3,7 @@
 _hkgname=hasql-dynamic-statements
 pkgname=haskell-hasql-dynamic-statements
 pkgver=0.3.1
-pkgrel=88
+pkgrel=89
 pkgdesc="Toolkit for constructing Hasql statements dynamically"
 url="https://github.com/nikita-volkov/hasql-dynamic-statements;
 license=("MIT")



[arch-commits] Commit in haskell-hasql-dynamic-statements/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:15:06
  Author: felixonmars
Revision: 1176705

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-dynamic-statements/repos/community-staging-x86_64/
  haskell-hasql-dynamic-statements/repos/community-staging-x86_64/PKGBUILD
(from rev 1176704, haskell-hasql-dynamic-statements/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: 
haskell-hasql-dynamic-statements/repos/community-staging-x86_64/PKGBUILD (from 
rev 1176704, haskell-hasql-dynamic-statements/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-25 21:15:06 UTC (rev 1176705)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-dynamic-statements
+pkgname=haskell-hasql-dynamic-statements
+pkgver=0.3.1
+pkgrel=89
+pkgdesc="Toolkit for constructing Hasql statements dynamically"
+url="https://github.com/nikita-volkov/hasql-dynamic-statements;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-implicits' 'haskell-ptr')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0c7a7c01c9bd01ad15655635e8bbded57198ba0515b1e72391a27930bb5b45bb')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u hasql $_hkgname.cabal
+  sed -i 's/5432/9824/' test/Main.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  runhaskell Setup test --show-details=direct
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hasql-implicits/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:14:05
  Author: felixonmars
Revision: 1176703

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hasql-implicits/repos/community-staging-x86_64/
  haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD
(from rev 1176702, haskell-hasql-implicits/trunk/PKGBUILD)

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Copied: haskell-hasql-implicits/repos/community-staging-x86_64/PKGBUILD (from 
rev 1176702, haskell-hasql-implicits/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-25 21:14:05 UTC (rev 1176703)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-implicits
+pkgname=haskell-hasql-implicits
+pkgver=0.1.0.3
+pkgrel=1
+pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
+url="https://github.com/nikita-volkov/hasql-implicits;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-hasql' 'haskell-network-ip' 
'haskell-scientific'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('42cfd03f80172bc7de36c13fdba28dbf5a6f4095b1a4cc0a40ac294382f78777')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hasql-implicits/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:13:55
  Author: felixonmars
Revision: 1176702

upgpkg: haskell-hasql-implicits 0.1.0.3-1: rebuild with hasql-implicits 0.1.0.3

Modified:
  haskell-hasql-implicits/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 21:08:45 UTC (rev 1176701)
+++ PKGBUILD2022-03-25 21:13:55 UTC (rev 1176702)
@@ -2,8 +2,8 @@
 
 _hkgname=hasql-implicits
 pkgname=haskell-hasql-implicits
-pkgver=0.1.0.2
-pkgrel=88
+pkgver=0.1.0.3
+pkgrel=1
 pkgdesc="Implicit definitions for Hasql, such as default codecs for standard 
types"
 url="https://github.com/nikita-volkov/hasql-implicits;
 license=("MIT")
@@ -12,11 +12,11 @@
  'haskell-uuid' 'haskell-vector')
 makedepends=('ghc' 'uusi')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
-sha256sums=('2788d365dd9d0c4826562472b577ac3715043f3a722ef7c21aaed754f122e74d')
+sha256sums=('42cfd03f80172bc7de36c13fdba28dbf5a6f4095b1a4cc0a40ac294382f78777')
 
 prepare() {
   cd $_hkgname-$pkgver
-  uusi -u hasql $_hkgname.cabal
+  gen-setup
 }
 
 build() {



[arch-commits] Commit in postgrest/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:08:16
  Author: felixonmars
Revision: 1176693

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 1176692, postgrest/trunk/PKGBUILD)

--+
 PKGBUILD |   72 +
 1 file changed, 72 insertions(+)

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176692, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-25 21:08:16 UTC (rev 1176693)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=8.0.0
+pkgrel=162
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-fast-logger' 
'haskell-gitrev' 'haskell-hasql'
+ 'haskell-hasql-dynamic-statements' 'haskell-hasql-notifications' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-protolude' 'haskell-regex-tdfa' 'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-logger' 
'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal
+
+# TODO: not a proper fix. probably newly added "column" should be shown too
+sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createuser -s postgrest_test
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test 
--show-details=direct
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in postgrest/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:08:06
  Author: felixonmars
Revision: 1176692

upgpkg: postgrest 8.0.0-162: rebuild with optics-core 0.4.1, optics-extra 
0.4.1, optics-th 0.4.1

Modified:
  postgrest/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 21:05:12 UTC (rev 1176691)
+++ PKGBUILD2022-03-25 21:08:06 UTC (rev 1176692)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=8.0.0
-pkgrel=161
+pkgrel=162
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")



[arch-commits] Commit in haskell-servant-swagger/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:05:12
  Author: felixonmars
Revision: 1176691

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-servant-swagger/repos/community-staging-x86_64/
  haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD
(from rev 1176690, haskell-servant-swagger/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 1176690, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-25 21:05:12 UTC (rev 1176691)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=246
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-servant'
+ 'haskell-singleton-bool' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-cabal-doctest' 
'haskell-doctest'
+ 'haskell-hspec-discover' 'haskell-lens-aeson' 
'haskell-utf8-string' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
$_hkgname-fragment-instance.patch::https://github.com/haskell-servant/servant-swagger/commit/cce6bf064e01ade21a7a8f283beca41595792446.patch)
+sha512sums=('df3b397ce03dbb4c852598d4d188bcddde40fd9bd762eac53c837267420876ba3aa4d07fb638ffe0d0fa60c9cf080ad483508bf0359b45120f807ed65331f3bc'
+
'96bd6acdd78a9ff777c81c0e1d507167dc9ea4d27c905bc41afecc9c5fef75ca293e9e5621efe5e62319b2fb96b39bc690682dd841839b87240acdd7f588f34a')
+
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-servant/servant-swagger/issues/129
+patch -p1 -i ../$_hkgname-fragment-instance.patch
+uusi -u base -u base-compat -u doctest -u lens -u hspec $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# json ordering issue
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-swagger2/repos (2 files)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:04:17
  Author: felixonmars
Revision: 1176689

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-swagger2/repos/community-staging-x86_64/
  haskell-swagger2/repos/community-staging-x86_64/PKGBUILD
(from rev 1176688, haskell-swagger2/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
1176688, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-25 21:04:17 UTC (rev 1176689)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.6.1
+_commit=44ad73cd0f49c0cd17ad9f9ec4a9fdb3d4e7e776
+pkgrel=80
+pkgdesc="Swagger 2.0 data model"
+url="https://github.com/GetShopTV/swagger2;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-base-compat-batteries'
+ 'haskell-cookie' 'haskell-hashable' 'haskell-generics-sop' 
'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-network' 
'haskell-optics-core'
+ 'haskell-optics-th' 'haskell-quickcheck' 'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-uuid-types')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hunit' 
'haskell-quickcheck-instances'
+ 'haskell-hspec-discover' 'haskell-doctest' 
'haskell-cabal-doctest' 'haskell-glob'
+ 'haskell-utf8-string')
+source=("https://github.com/GetShopTV/swagger2/archive/$_commit/$pkgname-$_commit.tar.gz;)
+#source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2e2ba7f08b217533cbcf6d0d59e0f4da94645dc9ea6805cf7eebc3188f5d9ff5bb55471588ebd55bf13ade8c1ac5ff249dac58da7b5cc827dc8e4fcff65bec35')
+
+prepare() {
+cd $_hkgname-$_commit
+uusi -u aeson -u base -u base-compat-batteries -u hashable -u hspec -u 
lens -u optics-core -u optics-th -u template-haskell $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$_commit
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$_commit
+# https://github.com/GetShopTV/swagger2/issues/222
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$_commit
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-swagger2/trunk (PKGBUILD)

2022-03-25 Thread Felix Yan via arch-commits
Date: Friday, March 25, 2022 @ 21:04:06
  Author: felixonmars
Revision: 1176688

upgpkg: haskell-swagger2 2.6.1-80: rebuild with optics-core 0.4.1, optics-extra 
0.4.1, optics-th 0.4.1

Modified:
  haskell-swagger2/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 21:02:30 UTC (rev 1176687)
+++ PKGBUILD2022-03-25 21:04:06 UTC (rev 1176688)
@@ -5,7 +5,7 @@
 pkgname=haskell-swagger2
 pkgver=2.6.1
 _commit=44ad73cd0f49c0cd17ad9f9ec4a9fdb3d4e7e776
-pkgrel=79
+pkgrel=80
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2;
 license=("BSD")



[arch-commits] Commit in electron15/trunk (PKGBUILD pr-33038.patch)

2022-03-25 Thread Nicola Squartini via arch-commits
Date: Friday, March 25, 2022 @ 21:02:02
  Author: tensor5
Revision: 1176686

upgpkg: electron15 15.4.2-1

Modified:
  electron15/trunk/PKGBUILD
Deleted:
  electron15/trunk/pr-33038.patch

+
 PKGBUILD   |   13 -
 pr-33038.patch |  643 ---
 2 files changed, 3 insertions(+), 653 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-03-25 21:01:41 UTC (rev 1176685)
+++ PKGBUILD2022-03-25 21:02:02 UTC (rev 1176686)
@@ -1,12 +1,12 @@
 # Maintainer: Nicola Squartini 
 
 _use_suffix=1
-pkgver=15.4.1
-_commit=8e517202ea5d62e3827d14275904bd48ccbfc3e5
+pkgver=15.4.2
+_commit=f043e665dd1c5c2eca65a515eee47062f68d1007
 _chromiumver=94.0.4606.81
 _gcc_patchset=3
 # shellcheck disable=SC2034
-pkgrel=2
+pkgrel=1
 
 _major_ver=${pkgver%%.*}
 if [[ ${_use_suffix} != 0 ]]; then
@@ -50,7 +50,6 @@
 
"https://github.com/stha09/chromium-patches/releases/download/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}.tar.xz;
 "electron-launcher.sh"
 "electron.desktop"
-'pr-33038.patch'
 'default_app-icon.patch'
 'jinja-python-3.10.patch'
 'use-system-libraries-in-node.patch'
@@ -72,7 +71,6 @@
 '22692bddaf2761c6ddf9ff0bc4722972bca4d4c5b2fd3e5dbdac7eb60d914320'
 '3953f532a3ea5fce19ee33600c6ead89dcd066df6a01d3c3ab4c24f96e46fca2'
 '4484200d90b76830b69eea3a471c103999a3ce86bb2c29e6c14c945bf4102bae'
-'38649e1a1f7805b2a4027706d7c466f6539d1d531046d78838c239c56bf070d3'
 '75bac9c4ad32ff9329399b8587f9772e208c009fd822cdfce61b2bd1ee9ac828'
 '09de0ebb4002be7fb4ede63d3977e4f1235637750169c9e71bfdbd75bf750f7a'
 '7cb11fb44aaf4d15f36caca3c0d1b082a723c30d43cd44db147248db5683a2a9'
@@ -142,11 +140,6 @@
   --with_tags \
   --nohooks
 
-  (
-cd src/electron || exit
-patch -Np1 -i ../../pr-33038.patch
-  )
-
   echo "Running hooks..."
   # python "${srcdir}/depot_tools/gclient.py" runhooks
   src/build/landmines.py

Deleted: pr-33038.patch
===
--- pr-33038.patch  2022-03-25 21:01:41 UTC (rev 1176685)
+++ pr-33038.patch  2022-03-25 21:02:02 UTC (rev 1176686)
@@ -1,643 +0,0 @@
-diff --git a/patches/chromium/.patches b/patches/chromium/.patches
-index ae0b6f1a147d..683069b716cd 100644
 a/patches/chromium/.patches
-+++ b/patches/chromium/.patches
-@@ -158,3 +158,5 @@ cherry-pick-e3805f29fed7.patch
- cherry-pick-0081bb347e67.patch
- cherry-pick-1887414c016d.patch
- cherry-pick-6b2643846ae3.patch
-+fixed_terminate_caused_by_binding_to_wrong_version.patch
-+follow_wayland_specification_regarding_xkb_keymap.patch
-diff --git 
a/patches/chromium/fixed_terminate_caused_by_binding_to_wrong_version.patch 
b/patches/chromium/fixed_terminate_caused_by_binding_to_wrong_version.patch
-new file mode 100644
-index ..1a9b9acd2747
 /dev/null
-+++ b/patches/chromium/fixed_terminate_caused_by_binding_to_wrong_version.patch
-@@ -0,0 +1,553 @@
-+From  Mon Sep 17 00:00:00 2001
-+From: Robin Ebert 
-+Date: Tue, 22 Feb 2022 12:49:55 +0100
-+Subject: Fixed terminate caused by binding to wrong version.
-+
-+The Ozone/Wayland implementation had a few places where the Wayland
-+objects were bound without proper checking for their versions.  That was
-+part of the technical debt not addressed before, and ended up causing
-+the issue explained in the linked crbug: the compositor terminates the
-+client that binds to the protocol that it does not actually support.
-+
-+This patch fixes the issue by adding the necessary checks in all places
-+where they were missing.  Also a convenience macro for validating the
-+version is proposed.
-+
-+Backport of dd4c3ddadbb9869f59cee201a38e9ca3b9154f4d from chromium
-+
-+diff --git a/ui/ozone/platform/wayland/common/wayland_object.cc 
b/ui/ozone/platform/wayland/common/wayland_object.cc
-+index 
0f21da447e43125c85b15a4254d7e047409e2e57..109fea03294a9bcbcc335d4c7d3250179f13f9bd
 100644
-+--- a/ui/ozone/platform/wayland/common/wayland_object.cc
- b/ui/ozone/platform/wayland/common/wayland_object.cc
-+@@ -29,6 +29,8 @@
-+ #include 
-+ #include 
-+ 
-++#include "base/logging.h"
-++
-+ namespace wl {
-+ namespace {
-+ 
-+@@ -71,6 +73,19 @@ void delete_touch(wl_touch* touch) {
-+ 
-+ }  // namespace
-+ 
-++bool CanBind(uint32_t available_version,
-++ uint32_t min_version,
-++ uint32_t max_version) {
-++  if (available_version < min_version) {
-++LOG(WARNING) << "Error in binding wayland interface."
-++ << available_version << ".  The minimum supported version 
is "
-++ << min_version << ".";
-++return false;
-++  }
-++
-++  return true;
-++}
-++
-+ void (*ObjectTraits::deleter)(wl_cursor_theme*) =
-+ 

  1   2   3   4   5   >