[arch-commits] Commit in haskell-hls-eval-plugin/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:34:33
  Author: felixonmars
Revision: 895742

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-eval-plugin/repos/community-staging-x86_64/
  haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 895741, haskell-hls-eval-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-eval-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 895741, haskell-hls-eval-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:34:33 UTC (rev 895742)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-eval-plugin
+pkgname=haskell-hls-eval-plugin
+pkgver=1.0.0.0
+pkgrel=2
+pkgdesc="Eval plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-dlist'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-paths' 'haskell-ghcide' 
'haskell-hashable'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-types'
+ 'haskell-megaparsec' 'haskell-parser-combinators' 
'haskell-pretty-simple'
+ 'haskell-safe-exceptions' 'haskell-shake' 'haskell-temporary' 
'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+source=("https://github.com/haskell/haskell-language-server/archive/ghcide-v1.1.0/haskell-language-server-ghcide-v1.1.0.tar.gz;)
+sha256sums=('ec611943b46027488d85135eb61245ea7cbd892ed9825b1456a4b74e0eb5a713')
+
+prepare() {
+  cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+
+  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 $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 haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+
+  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-hls-eval-plugin/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:34:23
  Author: felixonmars
Revision: 895741

upgpkg: haskell-hls-eval-plugin 1.0.0.0-2: rebuild with uuid 1.3.14, uuid-types 
1.0.4

Modified:
  haskell-hls-eval-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 05:32:42 UTC (rev 895740)
+++ PKGBUILD2021-03-20 05:34:23 UTC (rev 895741)
@@ -3,7 +3,7 @@
 _hkgname=hls-eval-plugin
 pkgname=haskell-hls-eval-plugin
 pkgver=1.0.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Eval plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")
@@ -33,7 +33,7 @@
 --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
 --ghc-option='-pie'
 
-  runhaskell Setup build
+  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


[arch-commits] Commit in haskell-hls-haddock-comments-plugin/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:32:42
  Author: felixonmars
Revision: 895740

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/
  haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 895739, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 895739, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:32:42 UTC (rev 895740)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.0
+pkgrel=2
+pkgdesc="Haddock comments plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('231ba321483a3bb080cb592498d866e1571224f30318570c2b86c4b6721efeab')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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-hls-haddock-comments-plugin/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:32:32
  Author: felixonmars
Revision: 895739

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.0-2: rebuild with uuid 
1.3.14, uuid-types 1.0.4

Modified:
  haskell-hls-haddock-comments-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 05:31:23 UTC (rev 895738)
+++ PKGBUILD2021-03-20 05:32:32 UTC (rev 895739)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server;
 license=("Apache")
@@ -29,7 +29,7 @@
 --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
 --ghc-option='-pie'
 
-  runhaskell Setup build
+  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


[arch-commits] Commit in haskell-hls-explicit-imports-plugin/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:31:23
  Author: felixonmars
Revision: 895738

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/
  haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 895737, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)

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

Copied: 
haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 895737, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:31:23 UTC (rev 895738)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.0.0
+pkgrel=2
+pkgdesc="Explicit imports plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp' 'haskell-lsp-types' 'haskell-shake' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('dc445e9902e0012784ea65fb6657e6bae15e8230d219f028752ef779114d4892')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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-hls-explicit-imports-plugin/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:31:13
  Author: felixonmars
Revision: 895737

upgpkg: haskell-hls-explicit-imports-plugin 1.0.0.0-2: rebuild with uuid 
1.3.14, uuid-types 1.0.4

Modified:
  haskell-hls-explicit-imports-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 05:30:02 UTC (rev 895736)
+++ PKGBUILD2021-03-20 05:31:13 UTC (rev 895737)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin;
 license=("Apache")
@@ -29,7 +29,7 @@
 --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
 --ghc-option='-pie'
 
-  runhaskell Setup build
+  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


[arch-commits] Commit in haskell-hls-hlint-plugin/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:30:02
  Author: felixonmars
Revision: 895736

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/
  haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 895735, haskell-hls-hlint-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 895735, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:30:02 UTC (rev 895736)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.0.1
+pkgrel=2
+pkgdesc="Hlint integration plugin with Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-hlint-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-apply-refact' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide' 'haskell-hashable'
+ 'hlint' 'haskell-hls-plugin-api' 'haskell-hslogger' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-regex-tdfa' 'haskell-shake' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+source=("https://github.com/haskell/haskell-language-server/archive/ghcide-v1.1.0/haskell-language-server-ghcide-v1.1.0.tar.gz;)
+sha256sums=('ec611943b46027488d85135eb61245ea7cbd892ed9825b1456a4b74e0eb5a713')
+
+prepare() {
+  cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+
+  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 $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 haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+
+  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-hls-hlint-plugin/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:29:51
  Author: felixonmars
Revision: 895735

upgpkg: haskell-hls-hlint-plugin 1.0.0.1-2: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-hls-hlint-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 05:28:35 UTC (rev 895734)
+++ PKGBUILD2021-03-20 05:29:51 UTC (rev 895735)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin;
 license=("Apache")
@@ -31,7 +31,7 @@
 --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
 --ghc-option='-pie'
 
-  runhaskell Setup build
+  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


[arch-commits] Commit in haskell-hls-tactics-plugin/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:28:35
  Author: felixonmars
Revision: 895734

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-tactics-plugin/repos/community-staging-x86_64/
  haskell-hls-tactics-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 895733, haskell-hls-tactics-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-tactics-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 895733, haskell-hls-tactics-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:28:35 UTC (rev 895734)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-tactics-plugin
+pkgname=haskell-hls-tactics-plugin
+pkgver=1.0.0.0
+pkgrel=2
+pkgdesc="Wingman plugin for Haskell Language Server"
+url="https://haskellwingman.dev;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-data-default' 'haskell-extra' 
'haskell-fingertree'
+ 'haskell-generic-lens' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghc-source-gen'
+ 'haskell-ghcide' 'haskell-hls-plugin-api' 'haskell-lens' 
'haskell-lsp' 'haskell-refinery'
+ 'haskell-retrie' 'haskell-shake' 'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-checkers' 
'haskell-hie-bios' 'haskell-hspec'
+ 'haskell-hspec-discover' 'haskell-hspec-expectations' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-megaparsec' 'haskell-tasty' 
'haskell-tasty-ant-xml'
+ 'haskell-tasty-expected-failure' 'haskell-tasty-golden' 
'haskell-tasty-hunit'
+ 'haskell-tasty-rerun')
+# Hackage tarball is missing test data
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+source=("https://github.com/haskell/haskell-language-server/archive/ghcide-v1.1.0/haskell-language-server-ghcide-v1.1.0.tar.gz;)
+sha256sums=('ec611943b46027488d85135eb61245ea7cbd892ed9825b1456a4b74e0eb5a713')
+
+prepare() {
+  cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+  gen-setup
+}
+
+build() {
+  cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+
+  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 $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 haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+  PATH="$PWD/dist/build/ghcide:$PWD/dist/build/test-server:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test
+}
+
+package() {
+  cd haskell-language-server-ghcide-v1.1.0/plugins/$_hkgname
+
+  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-hls-tactics-plugin/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:28:24
  Author: felixonmars
Revision: 895733

upgpkg: haskell-hls-tactics-plugin 1.0.0.0-2: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-hls-tactics-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 05:12:07 UTC (rev 895732)
+++ PKGBUILD2021-03-20 05:28:24 UTC (rev 895733)
@@ -3,7 +3,7 @@
 _hkgname=hls-tactics-plugin
 pkgname=haskell-hls-tactics-plugin
 pkgver=1.0.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Wingman plugin for Haskell Language Server"
 url="https://haskellwingman.dev;
 license=("Apache")
@@ -36,7 +36,7 @@
 --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
 --ghc-option='-pie'
 
-  runhaskell Setup build
+  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


[arch-commits] Commit in haskell-hls-class-plugin/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:12:07
  Author: felixonmars
Revision: 895732

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-class-plugin/repos/community-staging-x86_64/
  haskell-hls-class-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 895731, haskell-hls-class-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-class-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 895731, haskell-hls-class-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:12:07 UTC (rev 895732)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-class-plugin
+pkgname=haskell-hls-class-plugin
+pkgver=1.0.0.0
+pkgrel=5
+pkgdesc="Class/instance management plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide'
+ 'haskell-hls-plugin-api' 'haskell-lens' 'haskell-lsp' 'haskell-shake'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('c058077a64014ee596625f29d36bb12193cb88b42b855dabc165e8953dd77980')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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-hls-class-plugin/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:11:56
  Author: felixonmars
Revision: 895731

upgpkg: haskell-hls-class-plugin 1.0.0.0-5: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-hls-class-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 05:09:53 UTC (rev 895730)
+++ PKGBUILD2021-03-20 05:11:56 UTC (rev 895731)
@@ -3,7 +3,7 @@
 _hkgname=hls-class-plugin
 pkgname=haskell-hls-class-plugin
 pkgver=1.0.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Class/instance management plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme;
 license=("Apache")


[arch-commits] Commit in haskell-hls-splice-plugin/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:09:53
  Author: felixonmars
Revision: 895730

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-splice-plugin/repos/community-staging-x86_64/
  haskell-hls-splice-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 895729, haskell-hls-splice-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-splice-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 895729, haskell-hls-splice-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:09:53 UTC (rev 895730)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-splice-plugin
+pkgname=haskell-hls-splice-plugin
+pkgver=1.0.0.0
+pkgrel=5
+pkgdesc="HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes"
+url="https://hackage.haskell.org/package/hls-splice-plugin;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-dlist' 'haskell-extra' 
'haskell-foldl' 'haskell-ghc'
+ 'haskell-ghc-exactprint' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lens'
+ 'haskell-lsp' 'haskell-retrie' 'haskell-shake' 'haskell-syb' 
'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('4bdec8dcc5cdc32e4786030cebe1170ba12d2378a5bd8016b12ea1474c94a9f6')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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-hls-splice-plugin/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:09:42
  Author: felixonmars
Revision: 895729

upgpkg: haskell-hls-splice-plugin 1.0.0.0-5: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-hls-splice-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 05:07:17 UTC (rev 895728)
+++ PKGBUILD2021-03-20 05:09:42 UTC (rev 895729)
@@ -3,7 +3,7 @@
 _hkgname=hls-splice-plugin
 pkgname=haskell-hls-splice-plugin
 pkgver=1.0.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc="HLS Plugin to expand TemplateHaskell Splices and QuasiQuotes"
 url="https://hackage.haskell.org/package/hls-splice-plugin;
 license=("Apache")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:07:17
  Author: felixonmars
Revision: 895728

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ghcide/repos/community-staging-x86_64/PKGBUILD (from rev 
895727, haskell-ghcide/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 05:07:17 UTC (rev 895728)
@@ -0,0 +1,78 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghcide
+pkgname=haskell-ghcide
+pkgver=1.1.0
+pkgrel=5
+pkgdesc="The core of an IDE"
+url="https://github.com/haskell/ghcide#readme;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-async'
+ 'haskell-base16-bytestring' 'haskell-bytestring-encoding' 
'haskell-case-insensitive'
+ 'haskell-cryptohash-sha1' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-extra' 
'haskell-fingertree'
+ 'haskell-fuzzy' 'haskell-ghc' 'haskell-ghc-check' 
'haskell-ghc-exactprint'
+ 'haskell-ghc-paths' 'haskell-gitrev' 'haskell-haddock-library1.9' 
'haskell-hashable'
+ 'haskell-heapsize' 'haskell-hie-bios' 'haskell-hie-compat' 
'haskell-hiedb'
+ 'haskell-hls-plugin-api' 'haskell-hslogger' 
'haskell-implicit-hie-cradle' 'haskell-lens'
+ 'haskell-lsp' 'haskell-lsp-test' 'haskell-lsp-types' 
'haskell-network-uri'
+ 'haskell-opentelemetry' 'haskell-optparse-applicative' 
'haskell-parallel'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-regex-tdfa'
+ 'haskell-retrie' 'haskell-rope-utf16-splay' 'haskell-safe' 
'haskell-safe-exceptions'
+ 'haskell-shake' 'haskell-sorted-list' 'haskell-sqlite-simple' 
'haskell-syb'
+ 'haskell-unliftio' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-ghc-typelits-knownnat'
+ 'haskell-implicit-hie' 'haskell-quickcheck-instances' 
'haskell-record-dot-preprocessor'
+ 'haskell-record-hasfield' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun')
+checkdepends=('cabal-install')
+# Hackage tarball is missing test data
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+source=("https://github.com/haskell/haskell-language-server/archive/$_hkgname-v$pkgver.tar.gz;)
+sha256sums=('ec611943b46027488d85135eb61245ea7cbd892ed9825b1456a4b74e0eb5a713')
+
+prepare() {
+  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  gen-setup
+  uusi -u base16-bytestring $_hkgname.cabal
+  find test/data -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+
+  # TODO: Skipped some broken tests for now
+  sed -i '/, benchmarkTests/d;/, findDefinitionAndHoverTests/d;/, 
bootTests/d;s/, simpleMultiDefTest//;s/echo A.hs/echo -dynamic > 
$HIE_BIOS_OUTPUT/' test/exe/Main.hs
+}
+
+build() {
+  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+
+  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 $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 haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+  cabal update
+  # Random test failures "Received an illegal message between the initialize 
request and response"
+  # th-linking-test-unboxed always fails too
+  PATH="$PWD/dist/build/ghcide:$PWD/dist/build/ghcide-test-preprocessor:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd haskell-language-server-$_hkgname-v$pkgver/$_hkgname
+
+  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-ghcide/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 05:07:07
  Author: felixonmars
Revision: 895727

upgpkg: haskell-ghcide 1.1.0-5: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:45:10 UTC (rev 895726)
+++ PKGBUILD2021-03-20 05:07:07 UTC (rev 895727)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.1.0
-pkgrel=4
+pkgrel=5
 pkgdesc="The core of an IDE"
 url="https://github.com/haskell/ghcide#readme;
 license=("Apache")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:45:10
  Author: felixonmars
Revision: 895726

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-lsp-test/repos/community-staging-x86_64/
  haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD
(from rev 895725, haskell-lsp-test/trunk/PKGBUILD)

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

Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 
895725, haskell-lsp-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:45:10 UTC (rev 895726)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp-test
+pkgver=0.13.0.0
+pkgrel=4
+pkgdesc="Functional test framework for LSP servers."
+url="https://github.com/bubba/lsp-test#readme;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-glob' 'haskell-aeson' 
'haskell-aeson-pretty'
+ 'haskell-ansi-terminal' 'haskell-async' 'haskell-conduit' 
'haskell-conduit-parse'
+ 'haskell-data-default' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-types'
+ 'haskell-parser-combinators' 'haskell-some' 'haskell-unliftio'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+# https://github.com/bubba/lsp-test/issues/92
+source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('4b9888d25aa749e1be37ac22c8a7c90e4dbb34983797f05a9be07ed775cf9a38')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  # We need to enable dummy-server here for tests, but it shouldn't be 
installed...
+  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' \
+-fdummyserver
+
+  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
+  # https://github.com/bubba/lsp-test/issues/93
+  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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  # Remove dummy-server
+  rm -r "$pkgdir"/usr/libexec
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:45:00
  Author: felixonmars
Revision: 895725

upgpkg: haskell-lsp-test 0.13.0.0-4: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-lsp-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:42:44 UTC (rev 895724)
+++ PKGBUILD2021-03-20 04:45:00 UTC (rev 895725)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp-test
 pkgver=0.13.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Functional test framework for LSP servers."
 url="https://github.com/bubba/lsp-test#readme;
 license=("BSD")


[arch-commits] Commit in haskell-hls-plugin-api/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:42:44
  Author: felixonmars
Revision: 895724

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-plugin-api/repos/community-staging-x86_64/
  haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD
(from rev 895723, haskell-hls-plugin-api/trunk/PKGBUILD)

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

Copied: haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD (from 
rev 895723, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:42:44 UTC (rev 895724)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.0.0.0
+pkgrel=5
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-hashable' 
'haskell-hslogger'
+ 'haskell-lens' 'haskell-lsp' 'haskell-opentelemetry' 
'haskell-regex-tdfa' 'haskell-shake'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('d9bd759624ce8f67c0d49a04836756d1011794abafca35f9e9e86eb37a08e3338d573d38d16579d4473ff742af9ba7afced1ce4537d01fd2adbb9c36ee0ede4c')
+
+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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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-hls-plugin-api/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:42:34
  Author: felixonmars
Revision: 895723

upgpkg: haskell-hls-plugin-api 1.0.0.0-5: rebuild with uuid 1.3.14, uuid-types 
1.0.4

Modified:
  haskell-hls-plugin-api/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:41:35 UTC (rev 895722)
+++ PKGBUILD2021-03-20 04:42:34 UTC (rev 895723)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.0.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api;
 license=("Apache")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:41:35
  Author: felixonmars
Revision: 895722

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lsp/repos/community-staging-x86_64/PKGBUILD (from rev 895721, 
haskell-lsp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:41:35 UTC (rev 895722)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp
+pkgname=haskell-lsp
+pkgver=1.1.1.0
+pkgrel=4
+pkgdesc="Haskell library for the Microsoft Language Server Protocol"
+url="https://github.com/alanz/lsp;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-attoparsec' 
'haskell-data-default'
+ 'haskell-dependent-map' 'haskell-hashable' 'haskell-hslogger' 
'haskell-lens'
+ 'haskell-lsp-types' 'haskell-network-uri' 'haskell-random' 
'haskell-scientific'
+ 'haskell-sorted-list' 'haskell-unliftio-core' 
'haskell-unordered-containers' 'haskell-uuid')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck-instances' 'haskell-rope-utf16-splay')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('3941236a681b1b31d5e99798fd0fc7bff8428254cad666f108eaf11a36f9cd12')
+
+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 $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
+}
+
+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-lsp/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:41:24
  Author: felixonmars
Revision: 895721

upgpkg: haskell-lsp 1.1.1.0-4: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-lsp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:39:48 UTC (rev 895720)
+++ PKGBUILD2021-03-20 04:41:24 UTC (rev 895721)
@@ -3,7 +3,7 @@
 _hkgname=lsp
 pkgname=haskell-lsp
 pkgver=1.1.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Haskell library for the Microsoft Language Server Protocol"
 url="https://github.com/alanz/lsp;
 license=("MIT")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:39:48
  Author: felixonmars
Revision: 895720

archrelease: copy trunk to community-staging-x86_64

Added:
  git-annex/repos/community-staging-x86_64/
  git-annex/repos/community-staging-x86_64/PKGBUILD
(from rev 895719, git-annex/trunk/PKGBUILD)

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 895719, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:39:48 UTC (rev 895720)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20210310
+pkgrel=9
+pkgdesc="Manage files with git, without checking their contents into git"
+url="https://git-annex.branchable.com/;
+license=("AGPL3")
+arch=('x86_64')
+depends=('git' 'lsof' 'rsync' 'ghc-libs' 'haskell-aeson' 'haskell-async' 
'haskell-aws'
+ 'haskell-blaze-builder' 'haskell-bloomfilter' 'haskell-byteable' 
'haskell-case-insensitive'
+ 'haskell-clientsession' 'haskell-concurrent-output' 
'haskell-connection' 'haskell-conduit'
+ 'haskell-criterion' 'haskell-crypto-api' 'haskell-cryptonite' 
'haskell-data-default'
+ 'haskell-dav' 'haskell-dbus' 'haskell-disk-free-space' 'haskell-dlist'
+ 'haskell-edit-distance' 'haskell-fdo-notify' 'haskell-feed' 
'haskell-filepath-bytestring'
+ 'haskell-git-lfs' 'haskell-hinotify' 'haskell-hslogger' 
'haskell-http-client'
+ 'haskell-http-client-restricted' 'haskell-http-client-tls' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-ifelse' 'haskell-magic' 
'haskell-memory' 'haskell-microlens'
+ 'haskell-monad-control' 'haskell-monad-logger' 'haskell-mountpoints' 
'haskell-network'
+ 'haskell-network-info' 'haskell-network-multicast' 
'haskell-network-uri'
+ 'haskell-old-locale' 'haskell-optparse-applicative' 
'haskell-path-pieces'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-quickcheck' 'haskell-random' 'haskell-regex-tdfa' 
'haskell-resourcet'
+ 'haskell-safesemaphore' 'haskell-sandi' 'haskell-securemem' 
'haskell-shakespeare'
+ 'haskell-socks' 'haskell-split' 'haskell-stm-chans' 'haskell-tagsoup' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-tasty-rerun' 'haskell-torrent'
+ 'haskell-unix-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-uuid' 'haskell-vector' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-warp-tls' 'haskell-yesod' 
'haskell-yesod-core' 'haskell-yesod-form'
+ 'haskell-yesod-static')
+makedepends=('chrpath' 'ghc')
+source=("git+https://git.joeyh.name/git/git-annex.git#tag=$pkgver;)
+sha512sums=('SKIP')
+
+build() {
+  cd git-annex
+  sed -e 's|--ghc-options|-O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla --docdir=/usr/share/doc/'$pkgname' --ghc-options|' \
+  -i Makefile
+  make GHC="ghc -dynamic" BUILDER=./Setup BUILDEROPTIONS=$MAKEFLAGS
+}
+
+package() {
+  cd git-annex
+  make GHC="ghc -dynamic" BUILDER=./Setup DESTDIR="$pkgdir" install
+
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:39:38
  Author: felixonmars
Revision: 895719

upgpkg: git-annex 8.20210310-9: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:34:58 UTC (rev 895718)
+++ PKGBUILD2021-03-20 04:39:38 UTC (rev 895719)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210310
-pkgrel=8
+pkgrel=9
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")


[arch-commits] Commit in stack/repos (4 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:34:58
  Author: felixonmars
Revision: 895718

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 895717, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/optparse-applicative-0.16.patch
(from rev 895717, stack/trunk/optparse-applicative-0.16.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 895717, stack/trunk/stack.install)

-+
 PKGBUILD|   81 ++
 optparse-applicative-0.16.patch |   25 +++
 stack.install   |4 +
 3 files changed, 110 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 895717, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:34:58 UTC (rev 895718)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.5.1
+pkgrel=162
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
+ 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
+ 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
+ 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
+ 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
+ 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
+ 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
+ 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver;
+optparse-applicative-0.16.patch)
+sha512sums=('SKIP'
+
'3ed61162edd869d5634e7e8485d784b9a192c97626da817635e6c756ca651454b5b806085aea6d7f8fd54041ae06e1613d9547958a85b777d2dfc35b02c0fbea')
+
+prepare() {
+  cd $pkgname
+  sed -i -e '/semigroups/d' $pkgname.cabal
+  sed -i '1i{-# LANGUAGE DataKinds #-}' src/Stack/Storage/User.hs 
src/Stack/Storage/Project.hs
+  patch -p1 -i ../optparse-applicative-0.16.patch
+}
+
+build() {
+  cd $pkgname
+
+  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 \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --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
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  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 

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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:34:42
  Author: felixonmars
Revision: 895717

upgpkg: stack 2.5.1-162: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:28:13 UTC (rev 895716)
+++ PKGBUILD2021-03-20 04:34:42 UTC (rev 895717)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.5.1
-pkgrel=161
+pkgrel=162
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:28:13
  Author: felixonmars
Revision: 895716

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
895715, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:28:13 UTC (rev 895716)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=297
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3')
+
+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
+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
+}
+
+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-mustache/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:28:03
  Author: felixonmars
Revision: 895715

upgpkg: haskell-mustache 2.3.1-297: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:26:42 UTC (rev 895714)
+++ PKGBUILD2021-03-20 04:28:03 UTC (rev 895715)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=296
+pkgrel=297
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache;
 license=('BSD')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:26:42
  Author: felixonmars
Revision: 895714

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 895713, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:26:42 UTC (rev 895714)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.3.3
+pkgrel=28
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-hashable' 'haskell-http-client' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f074790cf3370d9356efbf5aeabb7421d59299471e02d93010453bb6f4e8daee517fcdf6891245272a9b08a35bc7b1b2233b75825ec377f6403c99cf91041f2e')
+
+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 \
+-fdoctest -f-aws -fhttpbin -f-developer
+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 || 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.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:26:32
  Author: felixonmars
Revision: 895713

upgpkg: haskell-wreq 0.5.3.3-28: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:22:06 UTC (rev 895712)
+++ PKGBUILD2021-03-20 04:26:32 UTC (rev 895713)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.3
-pkgrel=27
+pkgrel=28
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq;
 license=('BSD')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:22:06
  Author: felixonmars
Revision: 895712

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 895711, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:22:06 UTC (rev 895712)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=272
+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-gitrev' 'haskell-hasql' 
'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-parsec' 'haskell-protolude' 'haskell-regex-tdfa' 
'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' '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=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
+sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+uusi $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${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 \
+-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)
+createdb postgrest_test
+
+# TODO: user authentication issue?
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || echo 
"Tests failed"
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${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)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:21:56
  Author: felixonmars
Revision: 895711

upgpkg: postgrest 7.0.1-272: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:18:33 UTC (rev 895710)
+++ PKGBUILD2021-03-20 04:21:56 UTC (rev 895711)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=271
+pkgrel=272
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:18:33
  Author: felixonmars
Revision: 895710

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql-transaction/repos/community-staging-x86_64/PKGBUILD (from 
rev 895709, haskell-hasql-transaction/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:18:33 UTC (rev 895710)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hasql-transaction
+pkgname=haskell-hasql-transaction
+pkgver=1.0.0.1
+pkgrel=191
+pkgdesc="A composable abstraction over the retryable transactions for Hasql"
+url="https://github.com/nikita-volkov/hasql-transaction;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bytestring-tree-builder' 'haskell-contravariant'
+ 'haskell-contravariant-extras' 'haskell-hasql')
+makedepends=('ghc' 'haskell-async' 'haskell-rebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('fe02484c8ae0f6a6b64f399a2061138f9a9390cb19693df9592fb58c07c7330f819b1181f973b4e6bf6b800d57ecb80dc901900e5d3ad1eb4c801bb3cf2f45c5')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/5432/9824/' conflicts-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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:18:22
  Author: felixonmars
Revision: 895709

upgpkg: haskell-hasql-transaction 1.0.0.1-191: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:17:24 UTC (rev 895708)
+++ PKGBUILD2021-03-20 04:18:22 UTC (rev 895709)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=1.0.0.1
-pkgrel=190
+pkgrel=191
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction;
 license=('MIT')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:17:24
  Author: felixonmars
Revision: 895708

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql-pool/repos/community-staging-x86_64/PKGBUILD (from rev 
895707, haskell-hasql-pool/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:17:24 UTC (rev 895708)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql-pool
+pkgname=haskell-hasql-pool
+pkgver=0.5.2
+pkgrel=169
+pkgdesc="A pool of connections for Hasql"
+url="https://github.com/nikita-volkov/hasql-pool;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-hasql' 
'haskell-resource-pool')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5609f05134a259826e17a7391d3324f1d2b474cd83082e4f67175086da1e481a1a75b336932a97371b32e7427e869498bb87af3f7c6246225698e8ceef1aa372')
+
+prepare() {
+cd $_hkgname-$pkgver
+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 --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:17:12
  Author: felixonmars
Revision: 895707

upgpkg: haskell-hasql-pool 0.5.2-169: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-hasql-pool/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:16:19 UTC (rev 895706)
+++ PKGBUILD2021-03-20 04:17:12 UTC (rev 895707)
@@ -4,7 +4,7 @@
 _hkgname=hasql-pool
 pkgname=haskell-hasql-pool
 pkgver=0.5.2
-pkgrel=168
+pkgrel=169
 pkgdesc="A pool of connections for Hasql"
 url="https://github.com/nikita-volkov/hasql-pool;
 license=('MIT')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:16:19
  Author: felixonmars
Revision: 895706

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hasql/repos/community-staging-x86_64/PKGBUILD (from rev 895705, 
haskell-hasql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:16:19 UTC (rev 895706)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=hasql
+pkgname=haskell-hasql
+pkgver=1.4.4.2
+pkgrel=146
+pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
+url="https://github.com/nikita-volkov/hasql;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-prelude' 
'haskell-bytestring-strict-builder'
+ 'haskell-contravariant' 'haskell-contravariant-extras' 
'haskell-dlist' 'haskell-hashable'
+ 'haskell-hashtables' 'haskell-loch-th' 'haskell-placeholders' 
'haskell-postgresql-binary'
+ 'haskell-postgresql-libpq' 'haskell-profunctors' 
'haskell-text-builder' 'haskell-vector')
+makedepends=('ghc' 'haskell-bug' 'haskell-tasty' 'haskell-tasty-quickcheck' 
'haskell-tasty-hunit'
+ 'haskell-quickcheck-instances' 'haskell-quickcheck' 
'haskell-rebase' 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('86330d4fa35431c4982206a2694a4b8fd3f55c0a2ffa9753a73692b662f280e90d2b677b052c99c6732eea9ffbf9b7cedf1ee4ade31081c0bb26f5b5219118a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs
+}
+
+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
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:16:08
  Author: felixonmars
Revision: 895705

upgpkg: haskell-hasql 1.4.4.2-146: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:14:34 UTC (rev 895704)
+++ PKGBUILD2021-03-20 04:16:08 UTC (rev 895705)
@@ -4,7 +4,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.4.4.2
-pkgrel=145
+pkgrel=146
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql;
 license=('MIT')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:14:34
  Author: felixonmars
Revision: 895704

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-postgresql-binary/repos/community-staging-x86_64/
  haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD
(from rev 895703, haskell-postgresql-binary/trunk/PKGBUILD)

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 895703, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:14:34 UTC (rev 895704)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.3.3
+pkgrel=64
+pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
+url="https://github.com/nikita-volkov/postgresql-binary;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-prelude' 
'haskell-binary-parser'
+ 'haskell-bytestring-strict-builder' 'haskell-loch-th' 
'haskell-network-ip'
+ 'haskell-placeholders' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'haskell-postgresql-libpq' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-json-ast' 'haskell-conversion' 
'haskell-conversion-bytestring'
+ 'haskell-conversion-text' 'haskell-rerebase' 'pifpaf' 
'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('1d7fb657069a68e151c72c21d2aacf500756fa86fcb5ce546f63692a88bc2066f78feb563e0239afc370ace02dd5b47a19291bbe751d7642c34a879e5bf9bcfd')
+
+prepare() {
+cd $_hkgname-$pkgver
+# Do not use default postgres port
+sed -i 's/5432/9824/' tasty/Main/DB.hs
+}
+
+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
+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
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:14:23
  Author: felixonmars
Revision: 895703

upgpkg: haskell-postgresql-binary 0.12.3.3-64: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:12:40 UTC (rev 895702)
+++ PKGBUILD2021-03-20 04:14:23 UTC (rev 895703)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.3.3
-pkgrel=63
+pkgrel=64
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary;
 license=("MIT")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:12:40
  Author: felixonmars
Revision: 895702

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-binary-parser/repos/community-staging-x86_64/
  haskell-binary-parser/repos/community-staging-x86_64/PKGBUILD
(from rev 895701, haskell-binary-parser/trunk/PKGBUILD)

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

Copied: haskell-binary-parser/repos/community-staging-x86_64/PKGBUILD (from rev 
895701, haskell-binary-parser/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:12:40 UTC (rev 895702)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=binary-parser
+pkgname=haskell-binary-parser
+pkgver=0.5.6
+pkgrel=127
+pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
+url="https://github.com/nikita-volkov/binary-parser;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e218ac9f38f85f143acaed4ecd8d347e1442807e07159c097fef84b48fbb2c08b4f0f1915c5dd5692b4bf779ba3ccdfbf6f48665f0447a1b4cf44c76c638011e')
+
+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
+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
+}
+
+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-binary-parser/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:12:29
  Author: felixonmars
Revision: 895701

upgpkg: haskell-binary-parser 0.5.6-127: rebuild with uuid 1.3.14, uuid-types 
1.0.4

Modified:
  haskell-binary-parser/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:11:39 UTC (rev 895700)
+++ PKGBUILD2021-03-20 04:12:29 UTC (rev 895701)
@@ -4,7 +4,7 @@
 _hkgname=binary-parser
 pkgname=haskell-binary-parser
 pkgver=0.5.6
-pkgrel=126
+pkgrel=127
 pkgdesc="A highly-efficient but limited parser API specialised for bytestrings"
 url="https://github.com/nikita-volkov/binary-parser;
 license=("MIT")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:11:39
  Author: felixonmars
Revision: 895700

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-text-builder/repos/community-staging-x86_64/
  haskell-text-builder/repos/community-staging-x86_64/PKGBUILD
(from rev 895699, haskell-text-builder/trunk/PKGBUILD)

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

Copied: haskell-text-builder/repos/community-staging-x86_64/PKGBUILD (from rev 
895699, haskell-text-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:11:39 UTC (rev 895700)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=text-builder
+pkgname=haskell-text-builder
+pkgver=0.6.6.1
+pkgrel=179
+pkgdesc="An efficient strict text builder"
+url="https://github.com/nikita-volkov/text-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude' 'haskell-deferred-folds')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c98381114426ca93b4f4bf6899265a0c62ee683080acf3896e6f6592cefc4a2df00460908755a55be8b33af7840ccd378e48c52f4379f8dd4bc3411928c5c067')
+
+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
+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
+}
+
+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-text-builder/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:11:29
  Author: felixonmars
Revision: 895699

upgpkg: haskell-text-builder 0.6.6.1-179: rebuild with uuid 1.3.14, uuid-types 
1.0.4

Modified:
  haskell-text-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:10:36 UTC (rev 895698)
+++ PKGBUILD2021-03-20 04:11:29 UTC (rev 895699)
@@ -3,7 +3,7 @@
 _hkgname=text-builder
 pkgname=haskell-text-builder
 pkgver=0.6.6.1
-pkgrel=178
+pkgrel=179
 pkgdesc="An efficient strict text builder"
 url="https://github.com/nikita-volkov/text-builder;
 license=('MIT')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:10:36
  Author: felixonmars
Revision: 895698

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-deferred-folds/repos/community-staging-x86_64/
  haskell-deferred-folds/repos/community-staging-x86_64/PKGBUILD
(from rev 895697, haskell-deferred-folds/trunk/PKGBUILD)

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

Copied: haskell-deferred-folds/repos/community-staging-x86_64/PKGBUILD (from 
rev 895697, haskell-deferred-folds/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:10:36 UTC (rev 895698)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deferred-folds
+pkgname=haskell-deferred-folds
+pkgver=0.9.17
+pkgrel=10
+pkgdesc="Abstractions over deferred folds"
+url="https://github.com/metrix-ai/deferred-folds;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-foldl' 'haskell-hashable' 'haskell-primitive'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('474d2491427d875c1de927f29b2d494985a42b5755b6ae3147c1823aab0270e580dd28ff2e7d3a0d0c3beee2837b2b0037b1de278c6a8f4d7cbc14a96b67deae')
+
+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
+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
+}
+
+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-deferred-folds/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:10:25
  Author: felixonmars
Revision: 895697

upgpkg: haskell-deferred-folds 0.9.17-10: rebuild with uuid 1.3.14, uuid-types 
1.0.4

Modified:
  haskell-deferred-folds/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:09:31 UTC (rev 895696)
+++ PKGBUILD2021-03-20 04:10:25 UTC (rev 895697)
@@ -3,7 +3,7 @@
 _hkgname=deferred-folds
 pkgname=haskell-deferred-folds
 pkgver=0.9.17
-pkgrel=9
+pkgrel=10
 pkgdesc="Abstractions over deferred folds"
 url="https://github.com/metrix-ai/deferred-folds;
 license=('MIT')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:09:31
  Author: felixonmars
Revision: 895696

archrelease: copy trunk to community-staging-x86_64

Added:
  arch-hs/repos/community-staging-x86_64/
  arch-hs/repos/community-staging-x86_64/PKGBUILD
(from rev 895695, arch-hs/trunk/PKGBUILD)

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 895695, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:09:31 UTC (rev 895696)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.7.1.0
+pkgrel=19
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-applicative'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('9411f31b44dbb207c28dca347980e187d293aa72fdb7e3cbc5b6b455672a3adc27025f6c5ccba8e2027b6781f26a7ea762dd195f3a1f47d74627e5fbc8b150f3')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 fish${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  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
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-submit"
+}
+
+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
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-submit"
+} 


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:09:20
  Author: felixonmars
Revision: 895695

upgpkg: arch-hs 0.7.1.0-19: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:08:50 UTC (rev 895694)
+++ PKGBUILD2021-03-20 04:09:20 UTC (rev 895695)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.7.1.0
-pkgrel=18
+pkgrel=19
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;


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

2021-03-19 Thread Bruno Pagani via arch-commits
Date: Saturday, March 20, 2021 @ 04:08:50
  Author: archange
Revision: 895694

archrelease: copy trunk to community-any

Added:
  spyder/repos/community-any/PKGBUILD
(from rev 895693, spyder/trunk/PKGBUILD)
Deleted:
  spyder/repos/community-any/PKGBUILD

--+
 PKGBUILD |  236 ++---
 1 file changed, 118 insertions(+), 118 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-03-20 04:08:24 UTC (rev 895693)
+++ PKGBUILD2021-03-20 04:08:50 UTC (rev 895694)
@@ -1,118 +0,0 @@
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Maintainer: Bruno Pagani 
-# Contributor: Francois Boulogne 
-# Contributor: TDY 
-
-pkgname=spyder
-pkgver=4.2.3
-pkgrel=1
-pkgdesc="The Scientific Python Development Environment"
-arch=(any)
-url="https://www.spyder-ide.org/;
-license=(MIT)
-makedepends=(python-sphinx)
-depends=(
-python-atomicwrites
-python-chardet
-python-cloudpickle
-python-diff-match-patch
-python-intervaltree
-ipython
-python-jedi
-python-jsonschema
-python-keyring
-jupyter-nbconvert
-python-numpydoc
-python-parso
-python-pexpect
-python-pickleshare
-python-psutil
-python-pygments
-python-pylint
-python-pyqt5
-python-pyqtwebengine
-qt5-webkit
-python-language-server
-python-pyls-black
-python-pyls-spyder
-python-xdg
-python-pyzmq
-python-qdarkstyle
-python-qtawesome
-python-qtconsole
-python-qtpy
-python-setuptools
-python-sphinx
-python-spyder-kernels
-python-textdistance
-python-three-merge
-python-watchdog
-)
-optdepends=(
-'cython: run Cython files in the IPython Console'
-'python-matplotlib: 2D/3D plotting in the IPython Console'
-'python-numpy: support for N-dimensional arrays in the Variable Explorer'
-'python-pandas: support for DataFrames and Series in the Variable Explorer'
-'python-scipy: support for Matlab workspace in the Variable Explorer'
-'python-sympy: symbolic mathematics in the IPython Console'
-)
-checkdepends=(
-python-pytest
-python-pytest-qt
-python-pytest-mock
-python-pytest-cov
-python-pytest-xvfb
-python-pytest-ordering
-python-pytest-lazy-fixture
-python-mock
-python-flaky
-python-pandas
-python-scipy
-python-sympy
-python-pillow
-python-matplotlib
-cython
-git
-tk
-)
-source=(https://github.com/spyder-ide/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('64d44e8c1c823c7b69a2b24e69258e60996ee6b3f943d82c86b194ca2de51b89')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  # Allow our jedi/parso/pyls versions
-  sed -i "s|JEDI_REQVER = '=|JEDI_REQVER = '>=|" -i spyder/dependencies.py
-  sed -i "s|PARSO_REQVER = '=|PARSO_REQVER = '>=|" -i spyder/dependencies.py
-  sed -i "s|PYLS_REQVER = '>=0.36.2;<1.0.0'|PYLS_REQVER = '>=0.36.2'|" -i 
spyder/dependencies.py
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  # Required per above patching
-  sed -i "s|jedi==|jedi>=|" -i setup.py
-  sed -i "s|parso==|parso>=|" -i setup.py
-  sed -i 
"s|python-language-server[all]>=0.36.2,<1.0.0|python-language-server[all]>=0.36.2|"
 -i setup.py
-  sed -i "s|jedi =|jedi >=|" -i requirements/conda.txt
-  sed -i "s|parso =|parso >=|" -i requirements/conda.txt
-  sed -i "s|jedi =|jedi >=|" -i binder/environment.yml
-  sed -i "s|parso =|parso >=|" -i binder/environment.yml
-  sed -i "s|python-language-server >=0.36.2,<1.0.0|python-language-server 
>=0.36.2|" -i binder/environment.yml
-  # Some tests failures but upstream does not support us
-  python runtests.py || echo "Tests failed"
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 
--skip-build
-  # Install license file
-  install -Dm644 LICENSE.txt -t ${pkgdir}/usr/share/licenses/${pkgname}/
-  # Install icon file
-  install -Dm644 spyder/images/spyder.svg -t 
"${pkgdir}"/usr/share/icons/hicolor/scalable/apps/
-  # Remove useless spyder_win_post_install script
-  rm -f "${pkgdir}"/usr/bin/spyder_win_post_install.py
-}

Copied: spyder/repos/community-any/PKGBUILD (from rev 895693, 
spyder/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-03-20 04:08:50 UTC (rev 895694)
@@ -0,0 +1,118 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Maintainer: Bruno Pagani 
+# Contributor: Francois Boulogne 
+# Contributor: TDY 
+
+pkgname=spyder
+pkgver=4.2.4
+pkgrel=1
+pkgdesc="The Scientific Python Development Environment"
+arch=(any)
+url="https://www.spyder-ide.org/;
+license=(MIT)
+makedepends=(python-sphinx)
+depends=(
+python-atomicwrites
+python-chardet
+python-cloudpickle
+python-diff-match-patch
+

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

2021-03-19 Thread Bruno Pagani via arch-commits
Date: Saturday, March 20, 2021 @ 04:08:24
  Author: archange
Revision: 895693

upgpkg: spyder 4.2.4-1

Modified:
  spyder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:07:28 UTC (rev 895692)
+++ PKGBUILD2021-03-20 04:08:24 UTC (rev 895693)
@@ -4,7 +4,7 @@
 # Contributor: TDY 
 
 pkgname=spyder
-pkgver=4.2.3
+pkgver=4.2.4
 pkgrel=1
 pkgdesc="The Scientific Python Development Environment"
 arch=(any)
@@ -76,7 +76,7 @@
 tk
 )
 
source=(https://github.com/spyder-ide/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('64d44e8c1c823c7b69a2b24e69258e60996ee6b3f943d82c86b194ca2de51b89')
+sha256sums=('a2fe577e16d91cbe31abcdf28a1ce0b37c5231ca027b866873a2397231a1a23b')
 
 prepare() {
   cd ${pkgname}-${pkgver}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:07:28
  Author: felixonmars
Revision: 895692

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-bash/repos/community-staging-x86_64/
  dhall-bash/repos/community-staging-x86_64/PKGBUILD
(from rev 895691, dhall-bash/trunk/PKGBUILD)

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

Copied: dhall-bash/repos/community-staging-x86_64/PKGBUILD (from rev 895691, 
dhall-bash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:07:28 UTC (rev 895692)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-bash
+pkgver=1.0.36
+pkgrel=42
+pkgdesc='Compile Dhall to Bash'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'dhall' 'haskell-neat-interpolation' 'haskell-shell-escape'
+ 'haskell-optparse-generic')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('545e4981e0618a7c09f5ead9db79410ebb8d6d975cc7d42434bb3a0c479ba2886fa8fccf09ddcf35eca8fc1b9cc5ca9401519745e1797f38abcf683b93544bb5')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+runhaskell Setup test
+}
+
+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 dhall-bash/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:07:17
  Author: felixonmars
Revision: 895691

upgpkg: dhall-bash 1.0.36-42: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:06:18 UTC (rev 895690)
+++ PKGBUILD2021-03-20 04:07:17 UTC (rev 895691)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.36
-pkgrel=41
+pkgrel=42
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:06:18
  Author: felixonmars
Revision: 895690

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-summoner-tui/repos/community-staging-x86_64/
  haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD
(from rev 895689, haskell-summoner-tui/trunk/PKGBUILD)

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

Copied: haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD (from rev 
895689, haskell-summoner-tui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:06:18 UTC (rev 895690)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner-tui
+pkgname=haskell-summoner-tui
+pkgver=2.0.1.1
+pkgrel=152
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-colourista' 'haskell-microlens' 
'haskell-microlens-th'
+ 'haskell-relude' 'haskell-summoner' 'haskell-validation-selective' 
'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9f840f25d72c54b4b5ed0c5e6755e52ca71e9961759de6bd0046d567bd1f2c27')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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
+}
+
+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-summoner-tui/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:06:08
  Author: felixonmars
Revision: 895689

upgpkg: haskell-summoner-tui 2.0.1.1-152: rebuild with uuid 1.3.14, uuid-types 
1.0.4

Modified:
  haskell-summoner-tui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:05:04 UTC (rev 895688)
+++ PKGBUILD2021-03-20 04:06:08 UTC (rev 895689)
@@ -4,7 +4,7 @@
 _hkgname=summoner-tui
 pkgname=haskell-summoner-tui
 pkgver=2.0.1.1
-pkgrel=151
+pkgrel=152
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:05:04
  Author: felixonmars
Revision: 895688

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-summoner/repos/community-staging-x86_64/PKGBUILD (from rev 
895687, haskell-summoner/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:05:04 UTC (rev 895688)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner
+pkgname=haskell-summoner
+pkgver=2.0.1.1
+pkgrel=135
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-colourista' 
'haskell-generic-data' 'haskell-gitrev'
+ 'haskell-neat-interpolation' 'haskell-optparse-applicative' 
'haskell-relude'
+ 'haskell-shellmet' 'haskell-tomland' 'haskell-validation-selective')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog' 'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('5b6eee2848e2fb0b65d34f4a980ecd6e7766629a42394348dc2166e2216fc496')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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 || :
+}
+
+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-summoner/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:04:54
  Author: felixonmars
Revision: 895687

upgpkg: haskell-summoner 2.0.1.1-135: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-summoner/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:03:29 UTC (rev 895686)
+++ PKGBUILD2021-03-20 04:04:54 UTC (rev 895687)
@@ -4,7 +4,7 @@
 _hkgname=summoner
 pkgname=haskell-summoner
 pkgver=2.0.1.1
-pkgrel=134
+pkgrel=135
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:03:29
  Author: felixonmars
Revision: 895686

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-neat-interpolation/repos/community-staging-x86_64/
  haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD
(from rev 895685, haskell-neat-interpolation/trunk/PKGBUILD)

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

Copied: haskell-neat-interpolation/repos/community-staging-x86_64/PKGBUILD 
(from rev 895685, haskell-neat-interpolation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:03:29 UTC (rev 895686)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=neat-interpolation
+pkgname=haskell-neat-interpolation
+pkgver=0.5.1.2
+pkgrel=103
+pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
+url="https://github.com/nikita-volkov/neat-interpolation;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('147bfca831dccc4646cce7c91635d3885049c67c93c3da83a774eaf1c7f485fba14e695efa173fd3a125380c13d70fe3ca017c2179e161d8e53d60278bb0b7a8')
+
+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
+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
+}
+
+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-neat-interpolation/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:03:18
  Author: felixonmars
Revision: 895685

upgpkg: haskell-neat-interpolation 0.5.1.2-103: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-neat-interpolation/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:02:27 UTC (rev 895684)
+++ PKGBUILD2021-03-20 04:03:18 UTC (rev 895685)
@@ -4,7 +4,7 @@
 _hkgname=neat-interpolation
 pkgname=haskell-neat-interpolation
 pkgver=0.5.1.2
-pkgrel=102
+pkgrel=103
 pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
 url="https://github.com/nikita-volkov/neat-interpolation;
 license=("MIT")


[arch-commits] Commit in haskell-bytestring-strict-builder/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:02:27
  Author: felixonmars
Revision: 895684

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-bytestring-strict-builder/repos/community-staging-x86_64/
  haskell-bytestring-strict-builder/repos/community-staging-x86_64/PKGBUILD
(from rev 895683, haskell-bytestring-strict-builder/trunk/PKGBUILD)

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

Copied: 
haskell-bytestring-strict-builder/repos/community-staging-x86_64/PKGBUILD (from 
rev 895683, haskell-bytestring-strict-builder/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:02:27 UTC (rev 895684)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-strict-builder
+pkgname=haskell-bytestring-strict-builder
+pkgver=0.4.5.3
+pkgrel=197
+pkgdesc="An efficient strict bytestring builder"
+url="https://github.com/nikita-volkov/bytestring-strict-builder;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-prelude')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck-instances' 
'haskell-rerebase')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3527960d2c6db8acfb9273130d169558f769826c9f7c68dfd04c22d1172700dd42eef6c81dae8e8ee1ba93ca471ef7a3572da4d155eeaa9f44b065412537fda8')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e '/semigroups/d' -i $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-bytestring-strict-builder/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:02:17
  Author: felixonmars
Revision: 895683

upgpkg: haskell-bytestring-strict-builder 0.4.5.3-197: rebuild with uuid 
1.3.14, uuid-types 1.0.4

Modified:
  haskell-bytestring-strict-builder/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 04:01:29 UTC (rev 895682)
+++ PKGBUILD2021-03-20 04:02:17 UTC (rev 895683)
@@ -3,7 +3,7 @@
 _hkgname=bytestring-strict-builder
 pkgname=haskell-bytestring-strict-builder
 pkgver=0.4.5.3
-pkgrel=196
+pkgrel=197
 pkgdesc="An efficient strict bytestring builder"
 url="https://github.com/nikita-volkov/bytestring-strict-builder;
 license=('MIT')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:01:29
  Author: felixonmars
Revision: 895682

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-brittany/repos/community-staging-x86_64/PKGBUILD (from rev 
895681, haskell-brittany/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 04:01:29 UTC (rev 895682)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=brittany
+pkgname=haskell-brittany
+pkgver=0.13.1.0
+pkgrel=70
+pkgdesc="Haskell source code formatter"
+url="https://github.com/lspitzner/brittany/;
+license=("AGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-butcher' 'haskell-cmdargs' 
'haskell-czipwith'
+ 'haskell-data-tree-print' 'haskell-extra' 'haskell-ghc-exactprint' 
'haskell-ghc-paths'
+ 'haskell-monad-memo' 'haskell-multistate' 'haskell-random' 
'haskell-safe'
+ 'haskell-strict' 'haskell-syb' 'haskell-uniplate' 'haskell-unsafe' 
'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('9dfcbe49214e9cc8f696555a2c8249df2418644af55a1f514059b8c8a470638cde2d5c78723150f7a6441c35267a997ab7d09a1e10431422589eeb30f84ad972')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -r semigroups:Cabal -u random -u ghc-exactprint $_hkgname.cabal
+
+  # Hack to use Cabal's compatibility layer of semigroups
+  sed -i 's/import Data.Semigroup.Generic/import 
Distribution.Compat.Semigroup/' 
src/Language/Haskell/Brittany/Internal/Config/Types.hs
+}
+
+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 $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
+}
+
+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-brittany/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 04:01:18
  Author: felixonmars
Revision: 895681

upgpkg: haskell-brittany 0.13.1.0-70: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-brittany/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:58:33 UTC (rev 895680)
+++ PKGBUILD2021-03-20 04:01:18 UTC (rev 895681)
@@ -3,7 +3,7 @@
 _hkgname=brittany
 pkgname=haskell-brittany
 pkgver=0.13.1.0
-pkgrel=69
+pkgrel=70
 pkgdesc="Haskell source code formatter"
 url="https://github.com/lspitzner/brittany/;
 license=("AGPL")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:58:33
  Author: felixonmars
Revision: 895680

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-butcher/repos/community-staging-x86_64/PKGBUILD (from rev 
895679, haskell-butcher/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:58:33 UTC (rev 895680)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=butcher
+pkgname=haskell-butcher
+pkgver=1.3.3.2
+pkgrel=71
+pkgdesc="Chops a command or program invocation into digestable pieces."
+url="https://github.com/lspitzner/butcher/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-deque' 'haskell-extra' 
'haskell-free'
+ 'haskell-microlens' 'haskell-microlens-th' 'haskell-multistate' 
'haskell-unsafe'
+ 'haskell-void')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('1d0f8e8e498b012c4a859671eebf34a6e965e8ed99b3c90d3aad1d8898c40f1b')
+
+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 $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
+}
+
+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-butcher/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:58:23
  Author: felixonmars
Revision: 895679

upgpkg: haskell-butcher 1.3.3.2-71: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-butcher/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:57:40 UTC (rev 895678)
+++ PKGBUILD2021-03-20 03:58:23 UTC (rev 895679)
@@ -3,7 +3,7 @@
 _hkgname=butcher
 pkgname=haskell-butcher
 pkgver=1.3.3.2
-pkgrel=70
+pkgrel=71
 pkgdesc="Chops a command or program invocation into digestable pieces."
 url="https://github.com/lspitzner/butcher/;
 license=("BSD")


[arch-commits] Commit in tinyssh/repos (5 files)

2021-03-19 Thread Bruno Pagani via arch-commits
Date: Saturday, March 20, 2021 @ 03:57:40
  Author: archange
Revision: 895678

archrelease: copy trunk to community-testing-x86_64

Added:
  tinyssh/repos/community-testing-x86_64/
  tinyssh/repos/community-testing-x86_64/PKGBUILD
(from rev 895676, tinyssh/trunk/PKGBUILD)
  tinyssh/repos/community-testing-x86_64/tinyssh@.service
(from rev 895677, tinyssh/trunk/tinyssh@.service)
  tinyssh/repos/community-testing-x86_64/tinyssh@.socket
(from rev 895677, tinyssh/trunk/tinyssh@.socket)
  tinyssh/repos/community-testing-x86_64/tinysshgenkeys.service
(from rev 895677, tinyssh/trunk/tinysshgenkeys.service)

+
 PKGBUILD   |   47 +++
 tinyssh@.service   |9 +
 tinyssh@.socket|   13 +
 tinysshgenkeys.service |8 
 4 files changed, 77 insertions(+)

Copied: tinyssh/repos/community-testing-x86_64/PKGBUILD (from rev 895676, 
tinyssh/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-03-20 03:57:40 UTC (rev 895678)
@@ -0,0 +1,47 @@
+# Maintainer: Giancarlo Razzolini 
+# Maintainer: Bruno Pagani 
+
+pkgname=tinyssh
+pkgver=20210319
+pkgrel=1
+pkgdesc="Small SSH server using NaCl / TweetNaCl"
+arch=(x86_64)
+url="https://tinyssh.org;
+license=('custom:Public Domain')
+depends=(glibc)
+optdepends=('tinyssh-convert: For converting OpenSSH keys')
+source=(https://github.com/janmojzis/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+tinyssh@.socket tinyssh@.service tinysshgenkeys.service
+
${pkgname}-${pkgver}.tar.gz.asc::https://github.com/janmojzis/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc)
+sha512sums=('e839355fdae241ff90a2cbc95219141a2e12b2efaeb8631f2a1f7400868d93998843da5170146b13de6e10d5098acfea0ef55a0154c5fe22a093f67d4fa7ce0e'
+
'9fbc5ae3b6d1df6d78eedf812fdd8fe115e81fc0811f4799d541e37239d53db22203e691026ed479a38c9f17043e52d43b44054be51ae03c2f12f3f235c5b83a'
+
'9c9ba78c5b61f64f42f59cfe556519d9ab2c3e4d45f36d6f78c5e7728b050c494673239630dae66398006f3f20fb3a26f22899cd0728ed17e61c655b372236b3'
+
'415cdfe649eedcbb11a263938c0a66bef42432210baa2e2c9e428d5e8e486fb4dedad53b9fdb9086bf97ca506909d3b3054aaca56f02c063e0b8d5fab4e56198'
+'SKIP')
+validpgpkeys=(AADF2EDF5529F1702772C8A2DEC4D246931EF49B)
+
+build () {
+  cd ${pkgname}-${pkgver//./}
+  make
+}
+
+package () {
+  cd ${pkgname}-${pkgver//./}
+  make install DESTDIR="${pkgdir}"
+
+  # Nowadays /usr/sbin is a symlink to /usr/bin
+  mv "${pkgdir}"/usr/{s,}bin
+
+  # Multi-call binary
+  ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-makekey
+  ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-printkey
+  
+  install -m755 -d "${pkgdir}"/etc/tinyssh
+
+  install -Dm644 -t "${pkgdir}"/usr/lib/systemd/system \
+  "${srcdir}"/tinysshgenkeys.service \
+  "${srcdir}"/tinyssh@.service \
+  "${srcdir}"/tinyssh@.socket
+
+  install -Dm644 LICENCE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}

Copied: tinyssh/repos/community-testing-x86_64/tinyssh@.service (from rev 
895677, tinyssh/trunk/tinyssh@.service)
===
--- community-testing-x86_64/tinyssh@.service   (rev 0)
+++ community-testing-x86_64/tinyssh@.service   2021-03-20 03:57:40 UTC (rev 
895678)
@@ -0,0 +1,9 @@
+[Unit]
+Description=TinySSH Per-Connection Daemon
+Documentation=http://tinyssh.org
+After=tinysshgenkeys.service
+
+[Service]
+ExecStart=/usr/bin/tinysshd /etc/tinyssh/sshkeydir
+StandardInput=socket
+StandardError=journal

Copied: tinyssh/repos/community-testing-x86_64/tinyssh@.socket (from rev 
895677, tinyssh/trunk/tinyssh@.socket)
===
--- community-testing-x86_64/tinyssh@.socket(rev 0)
+++ community-testing-x86_64/tinyssh@.socket2021-03-20 03:57:40 UTC (rev 
895678)
@@ -0,0 +1,13 @@
+[Unit]
+Description=TinySSH service (socket-activated)
+Documentation=http://tinyssh.org
+Wants=tinysshgenkeys.service
+
+[Socket]
+ListenStream=%i
+Accept=true
+KeepAlive=true
+IPTOS=low-delay
+
+[Install]
+WantedBy=sockets.target

Copied: tinyssh/repos/community-testing-x86_64/tinysshgenkeys.service (from rev 
895677, tinyssh/trunk/tinysshgenkeys.service)
===
--- community-testing-x86_64/tinysshgenkeys.service 
(rev 0)
+++ community-testing-x86_64/tinysshgenkeys.service 2021-03-20 03:57:40 UTC 
(rev 895678)
@@ -0,0 +1,8 @@
+[Unit]
+Description=TinySSH Key Generation
+ConditionPathIsDirectory=!/etc/tinyssh/sshkeydir
+
+[Service]
+ExecStart=/usr/bin/tinysshd-makekey /etc/tinyssh/sshkeydir
+Type=oneshot
+RemainAfterExit=true


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:57:19
  Author: felixonmars
Revision: 895677

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-deque/repos/community-staging-x86_64/PKGBUILD (from rev 895676, 
haskell-deque/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:57:19 UTC (rev 895677)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deque
+pkgname=haskell-deque
+pkgver=0.4.3
+pkgrel=66
+pkgdesc="Double-ended queues"
+url="https://github.com/nikita-volkov/deque;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-strict-list')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('b76a0e7d8a5f3b12ca8cf5a583f3e8e4333c7860f56b1e921a3fdfe959e557a5')
+
+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 $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
+}
+
+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-deque/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:57:08
  Author: felixonmars
Revision: 895676

upgpkg: haskell-deque 0.4.3-66: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-deque/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:57:03 UTC (rev 895675)
+++ PKGBUILD2021-03-20 03:57:08 UTC (rev 895676)
@@ -3,7 +3,7 @@
 _hkgname=deque
 pkgname=haskell-deque
 pkgver=0.4.3
-pkgrel=65
+pkgrel=66
 pkgdesc="Double-ended queues"
 url="https://github.com/nikita-volkov/deque;
 license=("MIT")


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

2021-03-19 Thread Bruno Pagani via arch-commits
Date: Saturday, March 20, 2021 @ 03:57:03
  Author: archange
Revision: 895675

upgpkg: tinyssh 20210319-1

Also some PKGBUILD linting

Modified:
  tinyssh/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:56:05 UTC (rev 895674)
+++ PKGBUILD2021-03-20 03:57:03 UTC (rev 895675)
@@ -1,46 +1,47 @@
 # Maintainer: Giancarlo Razzolini 
+# Maintainer: Bruno Pagani 
+
 pkgname=tinyssh
-pkgver=20190101
-pkgrel=3
-pkgdesc='Small SSH server using NaCl / TweetNaCl'
-url='https://tinyssh.org'
-arch=('x86_64')
+pkgver=20210319
+pkgrel=1
+pkgdesc="Small SSH server using NaCl / TweetNaCl"
+arch=(x86_64)
+url="https://tinyssh.org;
 license=('custom:Public Domain')
-depends=('glibc')
+depends=(glibc)
 optdepends=('tinyssh-convert: For converting OpenSSH keys')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/janmojzis/${pkgname}/archive/${pkgver}.tar.gz;
-   tinyssh@.socket tinyssh@.service tinysshgenkeys.service
-
"${pkgname}-${pkgver}.tar.gz.asc::https://github.com/janmojzis/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc;)
-sha512sums=('bf3829a71c29e8b0d5c2a145be9dfaf05efb1b98932f34f19f76e07871da4be10022bdde4c57ca49557b69931077b451bc2efbeab38d8ef24151fb73990f1012'
+source=(https://github.com/janmojzis/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+tinyssh@.socket tinyssh@.service tinysshgenkeys.service
+
${pkgname}-${pkgver}.tar.gz.asc::https://github.com/janmojzis/${pkgname}/releases/download/${pkgver}/${pkgver}.tar.gz.asc)
+sha512sums=('e839355fdae241ff90a2cbc95219141a2e12b2efaeb8631f2a1f7400868d93998843da5170146b13de6e10d5098acfea0ef55a0154c5fe22a093f67d4fa7ce0e'
 
'9fbc5ae3b6d1df6d78eedf812fdd8fe115e81fc0811f4799d541e37239d53db22203e691026ed479a38c9f17043e52d43b44054be51ae03c2f12f3f235c5b83a'
 
'9c9ba78c5b61f64f42f59cfe556519d9ab2c3e4d45f36d6f78c5e7728b050c494673239630dae66398006f3f20fb3a26f22899cd0728ed17e61c655b372236b3'
 
'415cdfe649eedcbb11a263938c0a66bef42432210baa2e2c9e428d5e8e486fb4dedad53b9fdb9086bf97ca506909d3b3054aaca56f02c063e0b8d5fab4e56198'
 'SKIP')
-validpgpkeys=('AADF2EDF5529F1702772C8A2DEC4D246931EF49B')
+validpgpkeys=(AADF2EDF5529F1702772C8A2DEC4D246931EF49B)
 
 build () {
-   cd "${srcdir}/${pkgname}-${pkgver//./}"
-   make
+  cd ${pkgname}-${pkgver//./}
+  make
 }
 
 package () {
-   cd "${srcdir}/${pkgname}-${pkgver//./}"
-   make install DESTDIR="${pkgdir}"
+  cd ${pkgname}-${pkgver//./}
+  make install DESTDIR="${pkgdir}"
 
-   # Nowadays /usr/sbin is a symlink to /usr/bin
-   mv "${pkgdir}"/usr/{s,}bin
+  # Nowadays /usr/sbin is a symlink to /usr/bin
+  mv "${pkgdir}"/usr/{s,}bin
 
-# Multi-call binary
-ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-makekey
-ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-printkey
-
-install -m 755 -d "${pkgdir}/etc/tinyssh"
+  # Multi-call binary
+  ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-makekey
+  ln -sf tinysshd "${pkgdir}"/usr/bin/tinysshd-printkey
+  
+  install -m755 -d "${pkgdir}"/etc/tinyssh
 
-install -m 755 -d "${pkgdir}/usr/lib/systemd/system"
-   install -m 644 -t "${pkgdir}/usr/lib/systemd/system" \
-   "${srcdir}/tinysshgenkeys.service" \
-   "${srcdir}/tinyssh@.service" \
-   "${srcdir}/tinyssh@.socket"
+  install -Dm644 -t "${pkgdir}"/usr/lib/systemd/system \
+  "${srcdir}"/tinysshgenkeys.service \
+  "${srcdir}"/tinyssh@.service \
+  "${srcdir}"/tinyssh@.socket
 
-install -Dm644 "$srcdir/$pkgname-$pkgver/LICENCE" 
"$pkgdir/usr/share/licenses/$pkgname/LICENCE"
+  install -Dm644 LICENCE -t "${pkgdir}"/usr/share/licenses/${pkgname}
 }


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:56:05
  Author: felixonmars
Revision: 895674

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-strict-list/repos/community-staging-x86_64/
  haskell-strict-list/repos/community-staging-x86_64/PKGBUILD
(from rev 895673, haskell-strict-list/trunk/PKGBUILD)

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

Copied: haskell-strict-list/repos/community-staging-x86_64/PKGBUILD (from rev 
895673, haskell-strict-list/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:56:05 UTC (rev 895674)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=strict-list
+pkgname=haskell-strict-list
+pkgver=0.1.5
+pkgrel=88
+pkgdesc="Strict linked list"
+url="https://github.com/nikita-volkov/strict-list;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-semigroupoids')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ba7338766ba5fbb4069b748e5bdce12866379c32f1ab1c6015d45dbd1010bb1a')
+
+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 $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
+}
+
+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-strict-list/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:55:55
  Author: felixonmars
Revision: 895673

upgpkg: haskell-strict-list 0.1.5-88: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-strict-list/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:55:00 UTC (rev 895672)
+++ PKGBUILD2021-03-20 03:55:55 UTC (rev 895673)
@@ -3,7 +3,7 @@
 _hkgname=strict-list
 pkgname=haskell-strict-list
 pkgver=0.1.5
-pkgrel=87
+pkgrel=88
 pkgdesc="Strict linked list"
 url="https://github.com/nikita-volkov/strict-list;
 license=("MIT")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:55:00
  Author: felixonmars
Revision: 895672

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rerebase/repos/community-staging-x86_64/PKGBUILD (from rev 
895671, haskell-rerebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:55:00 UTC (rev 895672)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rerebase
+pkgname=haskell-rerebase
+pkgver=1.10.0.1
+pkgrel=72
+pkgdesc='Reexports from "base" with a bunch of other standard libraries'
+url="https://github.com/nikita-volkov/rerebase;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-rebase')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('c67be90100855a24d2a3d392129374001281baca08f8d925e09d9e1bdfc73aafeffae4c05cbbb6ebd7a381cdb198b618cee4defcfc133e0ac39fd605047550d6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:54:48
  Author: felixonmars
Revision: 895671

upgpkg: haskell-rerebase 1.10.0.1-72: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-rerebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:54:00 UTC (rev 895670)
+++ PKGBUILD2021-03-20 03:54:48 UTC (rev 895671)
@@ -4,7 +4,7 @@
 _hkgname=rerebase
 pkgname=haskell-rerebase
 pkgver=1.10.0.1
-pkgrel=71
+pkgrel=72
 pkgdesc='Reexports from "base" with a bunch of other standard libraries'
 url="https://github.com/nikita-volkov/rerebase;
 license=("MIT")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:53:49
  Author: felixonmars
Revision: 895669

upgpkg: haskell-rebase 1.10.0.1-72: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-rebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:53:01 UTC (rev 895668)
+++ PKGBUILD2021-03-20 03:53:49 UTC (rev 895669)
@@ -4,7 +4,7 @@
 _hkgname=rebase
 pkgname=haskell-rebase
 pkgver=1.10.0.1
-pkgrel=71
+pkgrel=72
 pkgdesc='A more progressive alternative to the "base" package'
 url="https://github.com/nikita-volkov/rebase;
 license=("MIT")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:54:00
  Author: felixonmars
Revision: 895670

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rebase/repos/community-staging-x86_64/PKGBUILD (from rev 
895669, haskell-rebase/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:54:00 UTC (rev 895670)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=rebase
+pkgname=haskell-rebase
+pkgver=1.10.0.1
+pkgrel=72
+pkgdesc='A more progressive alternative to the "base" package'
+url="https://github.com/nikita-volkov/rebase;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-comonad' 'haskell-dlist' 'haskell-either' 'haskell-hashable' 
'haskell-hashable-time'
+ 'haskell-profunctors' 'haskell-scientific' 'haskell-selective' 
'haskell-semigroupoids'
+ 'haskell-unordered-containers' 'haskell-uuid' 'haskell-vector' 
'haskell-vector-instances'
+ 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('85ae218cc303f98594f39f94cc0fbc530d5962298c9d184dde7337f9d62ae98cc04910d7d68df60cd188be4eb4df18a2e87d2fcb849e34174965e5e69b9eef4a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:53:01
  Author: felixonmars
Revision: 895668

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-uuid/repos/community-staging-x86_64/PKGBUILD (from rev 895667, 
haskell-uuid/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:53:01 UTC (rev 895668)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=uuid
+pkgname=haskell-uuid
+pkgver=1.3.14
+pkgrel=1
+pkgdesc="For creating, comparing, parsing and printing Universally Unique 
Identifiers"
+url="https://github.com/aslatter/uuid;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptohash-md5" "haskell-cryptohash-sha1" 
"haskell-entropy"
+ "haskell-network-info" "haskell-random" "haskell-uuid-types")
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a72e8277235c56fec83b9d100348094a0cb4176b6d3cd68f699a903329bb2b8688db6f9daa1d75cafe56e49b6d1c3fc081237cda12b5e363b9aa2f7d0a33eda0')
+
+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
+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
+}
+
+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-uuid/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:52:50
  Author: felixonmars
Revision: 895667

upgpkg: haskell-uuid 1.3.14-1: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-uuid/trunk/PKGBUILD

--+
 PKGBUILD |   20 +++-
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:52:10 UTC (rev 895666)
+++ PKGBUILD2021-03-20 03:52:50 UTC (rev 895667)
@@ -3,8 +3,8 @@
 
 _hkgname=uuid
 pkgname=haskell-uuid
-pkgver=1.3.13
-pkgrel=105
+pkgver=1.3.14
+pkgrel=1
 pkgdesc="For creating, comparing, parsing and printing Universally Unique 
Identifiers"
 url="https://github.com/aslatter/uuid;
 license=("BSD")
@@ -11,19 +11,16 @@
 arch=('x86_64')
 depends=('ghc-libs' "haskell-cryptohash-md5" "haskell-cryptohash-sha1" 
"haskell-entropy"
  "haskell-network-info" "haskell-random" "haskell-uuid-types")
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('e888e6350a32c6496b0b57384797925c78ab1c4dc674d296972981fa81338b4705d21a96960a63771aa5b9a785efd507ecaad195767dba7847fcab5ca7f3f923')
+sha512sums=('a72e8277235c56fec83b9d100348094a0cb4176b6d3cd68f699a903329bb2b8688db6f9daa1d75cafe56e49b6d1c3fc081237cda12b5e363b9aa2f7d0a33eda0')
 
-prepare() {
-sed -i -e 's/time>= 1.1  && < 1.8,/time>= 
1.1,/' -e 's/<.*0.4/<1/;s/< *1.2/<2/' $_hkgname-$pkgver/$_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 \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build $MAKEFLAGS
 runhaskell Setup register --gen-script
@@ -32,6 +29,11 @@
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
 package() {
 cd $_hkgname-$pkgver
 


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:52:10
  Author: felixonmars
Revision: 895666

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 895665, haskell-servant-swagger/trunk/PKGBUILD)

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 895665, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:52:10 UTC (rev 895666)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=128
+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;)
+sha512sums=('df3b397ce03dbb4c852598d4d188bcddde40fd9bd762eac53c837267420876ba3aa4d07fb638ffe0d0fa60c9cf080ad483508bf0359b45120f807ed65331f3bc')
+
+prepare() {
+cd $_hkgname-$pkgver
+# https://github.com/haskell-servant/servant-swagger/issues/129
+sed -i '/toSwagger comprehensiveAPI/d' test/Servant/SwaggerSpec.hs
+uusi -u doctest $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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 || 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-servant-swagger/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:51:59
  Author: felixonmars
Revision: 895665

upgpkg: haskell-servant-swagger 1.1.10-128: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:50:41 UTC (rev 895664)
+++ PKGBUILD2021-03-20 03:51:59 UTC (rev 895665)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.10
-pkgrel=127
+pkgrel=128
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger;
 license=("BSD")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:50:41
  Author: felixonmars
Revision: 895664

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 895663, haskell-swagger2/trunk/PKGBUILD)

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
895663, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:50:41 UTC (rev 895664)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.6
+pkgrel=133
+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-transformers-compat' '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://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('d7ca7710ad1c1b42c7f9066b94a3abaf22be6826a84255dbbcbb0c0bbae3612cd934432fa907b4f650049e83fae94d6ead602e93f29e739f14c17144fe5a2101')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u QuickCheck -u aeson -u optics-core -u optics-th $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+# https://github.com/GetShopTV/swagger2/issues/222
+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/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:50:27
  Author: felixonmars
Revision: 895663

upgpkg: haskell-swagger2 2.6-133: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:46:33 UTC (rev 895662)
+++ PKGBUILD2021-03-20 03:50:27 UTC (rev 895663)
@@ -4,7 +4,7 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.6
-pkgrel=132
+pkgrel=133
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2;
 license=("BSD")


[arch-commits] Commit in haskell-insert-ordered-containers/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:46:33
  Author: felixonmars
Revision: 895662

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-insert-ordered-containers/repos/community-staging-x86_64/
  haskell-insert-ordered-containers/repos/community-staging-x86_64/PKGBUILD
(from rev 895661, haskell-insert-ordered-containers/trunk/PKGBUILD)

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

Copied: 
haskell-insert-ordered-containers/repos/community-staging-x86_64/PKGBUILD (from 
rev 895661, haskell-insert-ordered-containers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:46:33 UTC (rev 895662)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=insert-ordered-containers
+pkgname=haskell-insert-ordered-containers
+pkgver=0.2.4
+pkgrel=5
+pkgdesc="Associative containers retating insertion order for traversals."
+url="https://github.com/phadej/insert-ordered-containers;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 'haskell-hashable'
+ 'haskell-indexed-traversable' 'haskell-lens' 'haskell-optics-core' 
'haskell-optics-extra'
+ 'haskell-semigroupoids' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('808536157119a2a7547b96194e5b032f4489b355ebe3dec59e2e5b507be084f51a41d793ae68c912e07fc0c157465d8840dbf444f98e19635ccc8061d150530a')
+
+prepare() {
+uusi -d semigroups ${_hkgname}-${pkgver}/${_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-insert-ordered-containers/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:46:23
  Author: felixonmars
Revision: 895661

upgpkg: haskell-insert-ordered-containers 0.2.4-5: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-insert-ordered-containers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:45:20 UTC (rev 895660)
+++ PKGBUILD2021-03-20 03:46:23 UTC (rev 895661)
@@ -3,7 +3,7 @@
 _hkgname=insert-ordered-containers
 pkgname=haskell-insert-ordered-containers
 pkgver=0.2.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Associative containers retating insertion order for traversals."
 url="https://github.com/phadej/insert-ordered-containers;
 license=('BSD')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:45:20
  Author: felixonmars
Revision: 895660

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-optics-extra/repos/community-staging-x86_64/
  haskell-optics-extra/repos/community-staging-x86_64/PKGBUILD
(from rev 895659, haskell-optics-extra/trunk/PKGBUILD)

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

Copied: haskell-optics-extra/repos/community-staging-x86_64/PKGBUILD (from rev 
895659, haskell-optics-extra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:45:20 UTC (rev 895660)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=optics-extra
+pkgname=haskell-optics-extra
+pkgver=0.4
+pkgrel=3
+pkgdesc="Extra utilities and instances for optics-core"
+url="https://github.com/well-typed/optics-extra;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-indexed-profunctors'
+ 'haskell-indexed-traversable-instances' 'haskell-optics-core'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1e860c8e814942e24e5f0e4f0c44334cd333205a884b20791f1784310db947d63d11e7b3d812dbec503c77f419b1555c1273a95df7040c59f8ac4e8ab693ca88')
+
+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
+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
+}
+
+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-optics-extra/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:45:09
  Author: felixonmars
Revision: 895659

upgpkg: haskell-optics-extra 0.4-3: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-optics-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:44:26 UTC (rev 895658)
+++ PKGBUILD2021-03-20 03:45:09 UTC (rev 895659)
@@ -3,7 +3,7 @@
 _hkgname=optics-extra
 pkgname=haskell-optics-extra
 pkgver=0.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Extra utilities and instances for optics-core"
 url="https://github.com/well-typed/optics-extra;
 license=('BSD')


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:44:26
  Author: felixonmars
Revision: 895658

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hakyll/repos/community-staging-x86_64/PKGBUILD (from rev 
895657, haskell-hakyll/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:44:26 UTC (rev 895658)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hakyll
+pkgname=haskell-hakyll
+pkgver=4.14.0.0
+pkgrel=11
+pkgdesc="A static website compiler library"
+url="https://jaspervdj.be/hakyll;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-file-embed' 'haskell-fsnotify' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-lrucache' 'haskell-memory' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-random' 
'haskell-regex-tdfa'
+ 'haskell-resourcet' 'haskell-scientific' 'haskell-tagsoup' 
'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' 
'haskell-wai-app-static'
+ 'haskell-warp' 'haskell-yaml')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('5f3f7a952b085cf1a59a646c15e42f29c89d4ed0a5a96f55156d19b86340c2361da6c19ff7a70bde98122423e237dc7082bfcc84bc5e96ab9421fdaef84a8cce')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u cryptonite -u optparse-applicative -u tasty $_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 \
+-fcheckexternal -fwatchserver -fpreviewserver -fusepandoc
+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
+LC_CTYPE=en_US.UTF-8 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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:44:16
  Author: felixonmars
Revision: 895657

upgpkg: haskell-hakyll 4.14.0.0-11: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:42:39 UTC (rev 895656)
+++ PKGBUILD2021-03-20 03:44:16 UTC (rev 895657)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.14.0.0
-pkgrel=10
+pkgrel=11
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:42:39
  Author: felixonmars
Revision: 895656

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 895655, pandoc-crossref/trunk/PKGBUILD)

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

Copied: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
895655, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:42:39 UTC (rev 895656)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-crossref
+pkgver=0.3.10.0
+pkgrel=6
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname};
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 
'haskell-data-accessor-template'
+ 'haskell-data-accessor-transformers' 'haskell-gitrev' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 
'haskell-roman-numerals'
+ 'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz;)
+sha512sums=('5f8967371ae3e003e7157184a5e9903133120b5ccada58904a7c3bf8dabc284c0a73d1a34902a349ee1d752e27477ece2944f78820e48bee0f7cac42e29ab87a')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+   -f-enable_flaky_tests
+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
+runhaskell Setup test
+}
+
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:42:29
  Author: felixonmars
Revision: 895655

upgpkg: pandoc-crossref 0.3.10.0-6: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  pandoc-crossref/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:40:32 UTC (rev 895654)
+++ PKGBUILD2021-03-20 03:42:29 UTC (rev 895655)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-crossref
 pkgver=0.3.10.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Pandoc filter for cross-references"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("GPL2")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:40:32
  Author: felixonmars
Revision: 895654

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-ci/repos/community-staging-x86_64/PKGBUILD (from rev 895653, 
haskell-ci/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:40:32 UTC (rev 895654)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=haskell-ci
+pkgname=haskell-ci
+pkgver=0.10.3
+pkgrel=213
+pkgdesc="Cabal package script generator for Travis-CI"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 
'haskell-cabal-install-parsers'
+ 'haskell-generic-lens-lite' 'haskell-hsyaml' 'haskell-lattices' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'haskell-temporary' 
'haskell-unordered-containers'
+ 'shellcheck')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-ansi-terminal' 
'haskell-tasty' 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('7b8bd970619344c8254a678038a19f838a5b4eaba39a8d42c640aa50e1b31ea3')
+
+prepare(){
+  uusi $_hkgname-$pkgver/$_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:40:21
  Author: felixonmars
Revision: 895653

upgpkg: haskell-ci 0.10.3-213: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  haskell-ci/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:38:41 UTC (rev 895652)
+++ PKGBUILD2021-03-20 03:40:21 UTC (rev 895653)
@@ -3,7 +3,7 @@
 _hkgname=haskell-ci
 pkgname=haskell-ci
 pkgver=0.10.3
-pkgrel=212
+pkgrel=213
 pkgdesc="Cabal package script generator for Travis-CI"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:38:41
  Author: felixonmars
Revision: 895652

archrelease: copy trunk to community-staging-x86_64

Added:
  shellcheck/repos/community-staging-x86_64/
  shellcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 895651, shellcheck/trunk/PKGBUILD)

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 895651, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:38:41 UTC (rev 895652)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.1
+pkgrel=341
+pkgdesc="Shell script analysis tool"
+url="https://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 
'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;)
+sha512sums=('95ca827f50035e352eabfbee9eb1791278f7c18c10c3a6c2656c5b9e87396b7b6c088f4cefa3d6f954ac6c2765ea50e232985b9f3eeea2dbe77c17473cc4a437')
+
+prepare() {
+cd $pkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $pkgname-$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='-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
+
+./manpage
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m644 ${pkgname}.1   "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:38:30
  Author: felixonmars
Revision: 895651

upgpkg: shellcheck 0.7.1-341: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:34:47 UTC (rev 895650)
+++ PKGBUILD2021-03-20 03:38:30 UTC (rev 895651)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.1
-pkgrel=340
+pkgrel=341
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:34:47
  Author: felixonmars
Revision: 895650

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-citeproc/repos/community-staging-x86_64/
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
(from rev 895649, pandoc-citeproc/trunk/PKGBUILD)

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
895649, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:34:47 UTC (rev 895650)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.17.0.2
+pkgrel=242
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-base-compat' 'haskell-data-default' 'haskell-hs-bibutils' 
'haskell-libyaml'
+ 'haskell-network' 'haskell-old-locale' 'pandoc' 
'haskell-pandoc-types' 'haskell-rfc5051'
+ 'haskell-safe' 'haskell-setenv' 'haskell-split' 'haskell-syb' 
'haskell-tagsoup'
+ 'haskell-temporary' 'haskell-text-icu' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-xml-conduit' 'haskell-yaml' 'haskell-hsyaml' 
'haskell-hsyaml-aeson')
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('5ce079a542b096c06d6e4e205625a993422a972f04787495ac9013dd3131df62733f30e4c3004335e3738b02bb22a7ad50a31c1eb3f67d2b4ef51605c7fcbf16')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+uusi $pkgname.cabal
+# TODO: find a better solution
+sed -i 
"s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|"
 tests/test-pandoc-citeproc.hs
+}
+
+build() {
+cd "${srcdir}/$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 \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils -f-static
+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
+# https://github.com/jgm/pandoc-citeproc/issues/342
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd "${srcdir}/$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 pandoc-citeproc/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:34:37
  Author: felixonmars
Revision: 895649

upgpkg: pandoc-citeproc 0.17.0.2-242: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:31:03 UTC (rev 895648)
+++ PKGBUILD2021-03-20 03:34:37 UTC (rev 895649)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.17.0.2
-pkgrel=241
+pkgrel=242
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("BSD")


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:31:03
  Author: felixonmars
Revision: 895648

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc/repos/community-staging-x86_64/
  pandoc/repos/community-staging-x86_64/PKGBUILD
(from rev 895647, pandoc/trunk/PKGBUILD)

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 895647, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:31:03 UTC (rev 895648)
@@ -0,0 +1,70 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.11.4
+pkgrel=17
+pkgdesc='Conversion between markup formats'
+url='https://pandoc.org'
+license=('GPL')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 
'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-case-insensitive'
+ 'haskell-citeproc' 'haskell-commonmark' 
'haskell-commonmark-extensions'
+ 'haskell-commonmark-pandoc' 'haskell-connection' 
'haskell-data-default' 'haskell-doclayout'
+ 'haskell-doctemplates' 'haskell-emojis' 'haskell-file-embed' 
'haskell-glob'
+ 'haskell-haddock-library1.9' 'haskell-ipynb' 
'haskell-jira-wiki-markup' 'haskell-skylighting'
+ 'haskell-skylighting-core' 'haskell-hslua' 
'haskell-hslua-module-system'
+ 'haskell-hslua-module-text' 'haskell-http-client' 'haskell-syb' 
'haskell-hsyaml'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-safe' 
'haskell-split'
+ 'haskell-texmath' 'haskell-network' 'haskell-pandoc-types' 
'haskell-random'
+ 'haskell-scientific' 'haskell-tagsoup' 'haskell-temporary' 
'haskell-text-conversions'
+ 'haskell-network-uri' 'haskell-unicode-transforms' 
'haskell-unordered-containers'
+ 'haskell-zip-archive' 'haskell-xml' 'haskell-zlib')
+optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc 
filter'
+'pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-lua'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-golden' 
'haskell-quickcheck'
+ 'haskell-executable-path')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('ec07c76f3bf71d38bf5a70f2d13b5e60232e1581eb9fddc302b0e15a3cea4dd60d520de249fd5108eb1afa3d853ceefae1651c4f5a82c25ed74c94ab9700aa70')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base64-bytestring -u random -u tasty $pkgname.cabal
+
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-trypandoc -f-embed_data_files -f-static
+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
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test || echo "Tests failed"
+}
+
+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}"
+rm "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+install -Dm644 man/pandoc.1 -t "${pkgdir}"/usr/share/man/man1/
+}


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

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:30:53
  Author: felixonmars
Revision: 895647

upgpkg: pandoc 2.11.4-17: rebuild with uuid 1.3.14, uuid-types 1.0.4

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:18:50 UTC (rev 895646)
+++ PKGBUILD2021-03-20 03:30:53 UTC (rev 895647)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.11.4
-pkgrel=16
+pkgrel=17
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


[arch-commits] Commit in haskell-haddock-library1.9/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:18:50
  Author: felixonmars
Revision: 895646

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-haddock-library1.9/repos/community-staging-x86_64/
  haskell-haddock-library1.9/repos/community-staging-x86_64/PKGBUILD
(from rev 895645, haskell-haddock-library1.9/trunk/PKGBUILD)

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

Copied: haskell-haddock-library1.9/repos/community-staging-x86_64/PKGBUILD 
(from rev 895645, haskell-haddock-library1.9/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:18:50 UTC (rev 895646)
@@ -0,0 +1,48 @@
+# Maintainer: Sergej Pupykin 
+
+_hkgname=haddock-library
+pkgname=haskell-haddock-library1.9
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="A documentation-generation tool for Haskell libraries"
+url="https://www.haskell.org/haddock/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck' 'haskell-optparse-applicative' 
'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/haddock-library/${pkgver}/haddock-library-${pkgver}.tar.gz;)
+sha512sums=('ec41df15a849a59fc41a443ce233dfa6293f0d201ed1847bd8a7732bc0e2138bab2305c127bd60f51919d8eeeb6808eec7a0add38edacd059956d852167477b5')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+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-haddock-library1.9/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:18:40
  Author: felixonmars
Revision: 895645

upgpkg: haskell-haddock-library1.9 1.9.0-2: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-haddock-library1.9/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:17:09 UTC (rev 895644)
+++ PKGBUILD2021-03-20 03:18:40 UTC (rev 895645)
@@ -3,7 +3,7 @@
 _hkgname=haddock-library
 pkgname=haskell-haddock-library1.9
 pkgver=1.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A documentation-generation tool for Haskell libraries"
 url="https://www.haskell.org/haddock/;
 license=("BSD")


[arch-commits] Commit in haskell-cabal-install-parsers/repos (2 files)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:17:09
  Author: felixonmars
Revision: 895644

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-cabal-install-parsers/repos/community-staging-x86_64/
  haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD
(from rev 895643, haskell-cabal-install-parsers/trunk/PKGBUILD)

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 895643, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-20 03:17:09 UTC (rev 895644)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4
+pkgrel=79
+pkgdesc="Utilities to work with cabal-install files"
+url="https://haskell-ci.rtfd.org/;
+license=("GPL" "BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-instances'
+ 'haskell-cryptohash-sha256' 'haskell-lukko' 'haskell-network-uri' 
'haskell-tar')
+makedepends=('ghc' 'uusi' 'haskell-ansi-terminal' 'haskell-tasty' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tree-diff')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;
+
$_hkgname-tree-diff-0.2.patch::https://github.com/haskell-CI/haskell-ci/pull/500.patch)
+sha512sums=('ed521221e822b471ed297d8291fb1360d785197b0d36de7a4e1dd2bf44b5c2840281fc423e2618dd70dc38354b156984e05f7469f3915321a181a349e94a1a27'
+
'57809a0e379595b84534c56eaf08d0a1c34e52e3bfbc6aa631785746cb0c67eb00fcea241ceef26c0dc0801fa26cfb429a4a04b4515c3f2433035b63f9201420')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  patch -p2 -i ../$_hkgname-tree-diff-0.2.patch
+  uusi -u tasty $_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 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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
+  cabal update  # Generate cabal config for tests
+  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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-cabal-install-parsers/trunk (PKGBUILD)

2021-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 20, 2021 @ 03:16:59
  Author: felixonmars
Revision: 895643

upgpkg: haskell-cabal-install-parsers 0.4-79: rebuild with uuid 1.3.14, 
uuid-types 1.0.4

Modified:
  haskell-cabal-install-parsers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-03-20 03:15:01 UTC (rev 895642)
+++ PKGBUILD2021-03-20 03:16:59 UTC (rev 895643)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4
-pkgrel=78
+pkgrel=79
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/;
 license=("GPL" "BSD")


  1   2   3   4   5   6   7   8   9   10   >