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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:58:42
  Author: felixonmars
Revision: 825868

archrelease: copy trunk to community-staging-x86_64

Added:
  hledger/repos/community-staging-x86_64/
  hledger/repos/community-staging-x86_64/PKGBUILD
(from rev 825867, hledger/trunk/PKGBUILD)

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

Copied: hledger/repos/community-staging-x86_64/PKGBUILD (from rev 825867, 
hledger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:58:42 UTC (rev 825868)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger
+pkgver=1.20.3
+pkgrel=2
+pkgdesc="Command-line interface for the hledger accounting system"
+url="http://hledger.org";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base-compat-batteries'
+ 'haskell-cmdargs' 'haskell-data-default' 'haskell-decimal' 
'haskell-diff'
+ 'haskell-hashable' 'haskell-hledger-lib' 'haskell-lucid' 
'haskell-math-functions'
+ 'haskell-megaparsec' 'haskell-old-time' 'haskell-regex-tdfa'
+ 'haskell-safe' 'haskell-shakespeare' 'haskell-split' 
'haskell-tabular' 'haskell-tasty'
+ 'haskell-temporary' 'haskell-unordered-containers' 
'haskell-utf8-string'
+ 'haskell-utility-ht' 'haskell-wizards')
+makedepends=('ghc' 'haskell-extra' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('09a23d1d003e842f39bf7df8a3b221d0d46e44b6c0fd68e6d51c641f5485a807d5b4b2685748507978d4831b7f8630d13dad1660bb24eb04ea4443e1f7a0f3d6')
+
+build() {
+cd $pkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fterminfo -fthreaded --ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 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
+
+install -Dm644 hledger.1 -t "$pkgdir"/usr/share/man/man1/
+}


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:58:32
  Author: felixonmars
Revision: 825867

upgpkg: hledger 1.20.3-2: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  hledger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:57:07 UTC (rev 825866)
+++ PKGBUILD2021-01-23 07:58:32 UTC (rev 825867)
@@ -3,7 +3,7 @@
 
 pkgname=hledger
 pkgver=1.20.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Command-line interface for the hledger accounting system"
 url="http://hledger.org";
 license=("GPL")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:57:07
  Author: felixonmars
Revision: 825866

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hledger-lib/repos/community-staging-x86_64/PKGBUILD (from rev 
825865, haskell-hledger-lib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:57:07 UTC (rev 825866)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hledger-lib
+pkgname=haskell-hledger-lib
+pkgver=1.20.3
+pkgrel=2
+pkgdesc="A reusable library providing the core functionality of hledger"
+url="http://hledger.org";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-base-compat-batteries' 'haskell-blaze-markup' 
'haskell-call-stack'
+ 'haskell-cassava' 'haskell-cassava-megaparsec' 'haskell-cmdargs' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-extra' 'haskell-file-embed' 'haskell-glob'
+ 'haskell-hashtables' 'haskell-megaparsec' 'haskell-old-time' 
'haskell-parser-combinators'
+ 'haskell-pretty-simple' 'haskell-regex-tdfa' 'haskell-safe' 
'haskell-split'
+ 'haskell-tabular' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-timeit'
+ 'haskell-uglymemo' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('f135fd7427fee0ec69284030334c5a3c3d60954e834e86759b3405429239a01058a7e8bebfecc396b5573a347fc580ca7007ff4ea0d9e7a17fb6625319cba4ba')
+
+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"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+install -Dm644 hledger_*.5 -t "$pkgdir"/usr/share/man/man5/
+}


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:56:58
  Author: felixonmars
Revision: 825865

upgpkg: haskell-hledger-lib 1.20.3-2: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-hledger-lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:50:58 UTC (rev 825864)
+++ PKGBUILD2021-01-23 07:56:58 UTC (rev 825865)
@@ -4,7 +4,7 @@
 _hkgname=hledger-lib
 pkgname=haskell-hledger-lib
 pkgver=1.20.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A reusable library providing the core functionality of hledger"
 url="http://hledger.org";
 license=("GPL")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:50:58
  Author: felixonmars
Revision: 825864

archrelease: copy trunk to community-staging-x86_64

Added:
  dhall-lsp-server/repos/community-staging-x86_64/
  dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD
(from rev 825863, dhall-lsp-server/trunk/PKGBUILD)

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

Copied: dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD (from rev 
825863, dhall-lsp-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:50:58 UTC (rev 825864)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-lsp-server
+pkgver=1.0.12
+pkgrel=37
+pkgdesc="Language Server Protocol (LSP) server for Dhall"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme";
+license=("custom:MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-data-default' 'dhall'
+ 'dhall-json' 'haskell-lsp' 'haskell-hslogger' 'haskell-lens' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-prettyprinter' 'haskell-rope-utf16-splay' 
'haskell-unordered-containers'
+ 'haskell-uri-encode')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-doctest' 
'haskell-lsp-types' 'haskell-lsp-test'
+ 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('6ca5259bab7d8006c309f3dda065e14ab5de1844a46133c70a7abe2b38217b9763f0955690d7929c7eb42294145ff72c3cf8abb3db1d315e085ce58dd08b84fc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u haskell-lsp -u haskell-lsp-types $pkgname.cabal
+}
+
+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=-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 $pkgname-$pkgver
+  LD_LIBRARY_PATH="$PWD/dist/build" 
PATH="$PWD/dist/build/dhall-lsp-server:$PATH" 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-lsp-server/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:50:48
  Author: felixonmars
Revision: 825863

upgpkg: dhall-lsp-server 1.0.12-37: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  dhall-lsp-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:47:20 UTC (rev 825862)
+++ PKGBUILD2021-01-23 07:50:48 UTC (rev 825863)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.12
-pkgrel=36
+pkgrel=37
 pkgdesc="Language Server Protocol (LSP) server for Dhall"
 
url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme";
 license=("custom:MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:47:20
  Author: felixonmars
Revision: 825862

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 825861, haskell-lsp-test/trunk/PKGBUILD)

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

Copied: haskell-lsp-test/repos/community-staging-x86_64/PKGBUILD (from rev 
825861, haskell-lsp-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:47:20 UTC (rev 825862)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan 
+
+_hkgname=lsp-test
+pkgname=haskell-lsp-test
+pkgver=0.11.0.7
+pkgrel=74
+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-lsp' 'haskell-lens' 
'haskell-parser-combinators'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+# Hackage source is missing test data
+source=("https://github.com/bubba/lsp-test/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('bc42e9d5a31a81501b324f5c5c91d00512f85e6a1c867ca17f619565c732dacdd7a058b265819f6f045b84534450e785d88d038a91304ab9310680e46e0bf0ea')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u haskell-lsp $_hkgname.cabal
+
+  sed -i 's|dist-newstyle|dist/build/dummy-server|' test/Test.hs
+
+  # haskell-lsp 0.24.0.0
+  sed -i 's/"deleteThis" Nothing))/"deleteThis" Nothing)) Nothing Nothing/' 
test/dummy-server/Main.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
+  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
+
+  # Remove dummy-server
+  rm -r "$pkgdir"/usr/libexec
+}


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:47:10
  Author: felixonmars
Revision: 825861

upgpkg: haskell-lsp-test 0.11.0.7-74: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-lsp-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:43:45 UTC (rev 825860)
+++ PKGBUILD2021-01-23 07:47:10 UTC (rev 825861)
@@ -3,7 +3,7 @@
 _hkgname=lsp-test
 pkgname=haskell-lsp-test
 pkgver=0.11.0.7
-pkgrel=73
+pkgrel=74
 pkgdesc="Functional test framework for LSP servers"
 url="https://github.com/bubba/lsp-test#readme";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:43:45
  Author: felixonmars
Revision: 825860

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
825859, haskell-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:43:45 UTC (rev 825860)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=citeproc
+pkgname=haskell-citeproc
+pkgver=0.3.0.2
+pkgrel=2
+pkgdesc="Generates citations and bibliography from CSL styles."
+url="https://github.com/jgm/citeproc";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-data-default' 'haskell-file-embed'
+ 'haskell-pandoc-types' 'haskell-safe' 'haskell-scientific' 
'haskell-text-icu'
+ 'haskell-uniplate' 'haskell-vector' 'haskell-xml-conduit')
+makedepends=('ghc' 'uusi' 'haskell-diff' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('e2f311446e846d27a1981efab19b370ab190a4800832116f20f2ea59811492ee523072e90e7a299ee384afdefb1f5b5be4b54d991cc91551f0f67b228cd14b14')
+
+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' -fexecutable -ficu
+
+  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-citeproc/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:43:36
  Author: felixonmars
Revision: 825859

upgpkg: haskell-citeproc 0.3.0.2-2: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:41:00 UTC (rev 825858)
+++ PKGBUILD2021-01-23 07:43:36 UTC (rev 825859)
@@ -3,7 +3,7 @@
 _hkgname=citeproc
 pkgname=haskell-citeproc
 pkgver=0.3.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Generates citations and bibliography from CSL styles."
 url="https://github.com/jgm/citeproc";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:41:00
  Author: felixonmars
Revision: 825858

archrelease: copy trunk to community-staging-x86_64

Added:
  tamarin-prover/repos/community-staging-x86_64/
  tamarin-prover/repos/community-staging-x86_64/PKGBUILD
(from rev 825857, tamarin-prover/trunk/PKGBUILD)
  tamarin-prover/repos/community-staging-x86_64/maude-3.1.patch
(from rev 825857, tamarin-prover/trunk/maude-3.1.patch)

-+
 PKGBUILD|   58 ++
 maude-3.1.patch |   35 
 2 files changed, 93 insertions(+)

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
825857, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:41:00 UTC (rev 825858)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.6.0
+pkgrel=112
+pkgdesc="The Tamarin prover for security protocol analysis"
+url="https://tamarin-prover.github.io";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'graphviz' 'maude' 'haskell-hunit' 
'haskell-binary-orphans' 'haskell-binary-instances'
+ 'haskell-blaze-builder' 'haskell-blaze-html' 'haskell-cmdargs' 
'haskell-conduit'
+ 'haskell-fclabels' 'haskell-file-embed' 'haskell-gitrev' 
'haskell-http-types'
+ 'haskell-lifted-base' 'haskell-monad-unlift' 'haskell-resourcet' 
'haskell-safe'
+ 'haskell-shakespeare' 'haskell-threads' 'haskell-wai' 'haskell-warp' 
'haskell-yesod-core'
+ 'haskell-yesod-static' 'haskell-tamarin-prover-utils' 
'haskell-tamarin-prover-term'
+ 'haskell-tamarin-prover-theory' 'haskell-tamarin-prover-sapic')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml>=4.11.0')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz";
+maude-3.1.patch)
+sha512sums=('7f3569f740d63d715b92a8f073eaecb8b32efe59b910b246977d36bb9e873765440e72feb6e76c7cbafab0495b88cfc666bb1dd12f685627c60d5cbd97b2973e'
+
'1ef5e4c370a0c5f5541d50600604ba7adc566c2f5cf415cdb844842bb10b343edd00aa5aa654f8e55355c80f48a34382c87c3fba4adca0c77e726f407f3815c3')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../maude-3.1.patch
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-executable-dynamic --prefix=/usr \
+--docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+-fthreaded -ftest-coverage -f-build-tests --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+
+cd plugins/sapic
+make -j1
+}
+
+check() {
+cd $pkgname-$pkgver
+LD_LIBRARY_PATH="$PWD"/dist/build dist/build/tamarin-prover/tamarin-prover 
test
+}
+
+package() {
+cd $pkgname-$pkgver
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/tamarin.vim
+install -Dm644 etc/syntax/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+ln -s spthy.vim "$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}

Copied: tamarin-prover/repos/community-staging-x86_64/maude-3.1.patch (from rev 
825857, tamarin-prover/trunk/maude-3.1.patch)
===
--- community-staging-x86_64/maude-3.1.patch(rev 0)
+++ community-staging-x86_64/maude-3.1.patch2021-01-23 07:41:00 UTC (rev 
825858)
@@ -0,0 +1,35 @@
+diff --git a/lib/term/src/Term/Maude/Parser.hs 
b/lib/term/src/Term/Maude/Parser.hs
+index 187c35dc..0a1d3c35 100644
+--- a/lib/term/src/Term/Maude/Parser.hs
 b/lib/term/src/Term/Maude/Parser.hs
+@@ -224,7 +224,7 @@ parseVariantsReply msig reply = flip parseOnly reply $ do
+ <* endOfLine <* string "rewrites: "
+ <* takeWhile1 isDigit <* endOfLine <* endOfInput
+   where
+-parseVariant = string "Variant #" *> takeWhile1 isDigit *> endOfLine *>
++parseVariant = string "Variant " *> optional (char '#') *> takeWhile1 
isDigit *> endOfLine *>
+string "rewrites: " *> takeWhile1 isDigit *> endOfLine *>
+parseReprintedTerm *> manyTill parseEntry endOfLine
+ parseReprintedTerm = choice [ string "TOP" *> pure LSortMsg, parseSort ]
+@@ -235,7 +235,7 @@ parseVariantsReply msig reply = flip parseOnly reply $ do
+ -- | @parseSubstitution l@ parses a single substitution returned by Maude.
+ parseSubstitution :: MaudeSig -> Parser MSubst
+ parseSubstitution msig = do
+-endOfLine *> string "Solution " *> takeWhile1 isDigit *> endOfLine
++endOfLine *> choice [string "Solution ", string "Unifier ", string 
"Matcher "] *> takeWhile1 isDigit *> e

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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:40:49
  Author: felixonmars
Revision: 825857

upgpkg: tamarin-prover 1.6.0-112: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:39:00 UTC (rev 825856)
+++ PKGBUILD2021-01-23 07:40:49 UTC (rev 825857)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.0
-pkgrel=111
+pkgrel=112
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io";
 license=("GPL")


[arch-commits] Commit in haskell-tamarin-prover-sapic/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:38:51
  Author: felixonmars
Revision: 825855

upgpkg: haskell-tamarin-prover-sapic 1.6.0-48: rebuild with hspec 2.7.7, 
hspec-core 2.7.7, hspec-discover 2.7.7

Modified:
  haskell-tamarin-prover-sapic/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:38:02 UTC (rev 825854)
+++ PKGBUILD2021-01-23 07:38:51 UTC (rev 825855)
@@ -3,7 +3,7 @@
 _hkgname=tamarin-prover-sapic
 pkgname=haskell-tamarin-prover-sapic
 pkgver=1.6.0
-pkgrel=47
+pkgrel=48
 pkgdesc="Library for input processes in SAPIC calculus for the tamarin prover"
 url="http://www.infsec.ethz.ch/research/software/tamarin";
 license=("GPL")


[arch-commits] Commit in haskell-tamarin-prover-sapic/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:39:00
  Author: felixonmars
Revision: 825856

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tamarin-prover-sapic/repos/community-staging-x86_64/
  haskell-tamarin-prover-sapic/repos/community-staging-x86_64/PKGBUILD
(from rev 825855, haskell-tamarin-prover-sapic/trunk/PKGBUILD)

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

Copied: haskell-tamarin-prover-sapic/repos/community-staging-x86_64/PKGBUILD 
(from rev 825855, haskell-tamarin-prover-sapic/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:39:00 UTC (rev 825856)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tamarin-prover-sapic
+pkgname=haskell-tamarin-prover-sapic
+pkgver=1.6.0
+pkgrel=48
+pkgdesc="Library for input processes in SAPIC calculus for the tamarin prover"
+url="http://www.infsec.ethz.ch/research/software/tamarin";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-dlist' 
'haskell-fclabels'
+ 'haskell-parallel' 'haskell-safe' 'haskell-uniplate' 
'haskell-raw-strings-qq'
+ 'haskell-tamarin-prover-utils' 'haskell-tamarin-prover-term' 
'haskell-tamarin-prover-theory')
+makedepends=('ghc')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz";)
+sha512sums=('7f3569f740d63d715b92a8f073eaecb8b32efe59b910b246977d36bb9e873765440e72feb6e76c7cbafab0495b88cfc666bb1dd12f685627c60d5cbd97b2973e')
+
+prepare() {
+cd tamarin-prover-$pkgver/lib/sapic
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd tamarin-prover-$pkgver/lib/sapic
+
+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 tamarin-prover-$pkgver/lib/sapic
+
+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 haskell-tamarin-prover-theory/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:38:02
  Author: felixonmars
Revision: 825854

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tamarin-prover-theory/repos/community-staging-x86_64/
  haskell-tamarin-prover-theory/repos/community-staging-x86_64/PKGBUILD
(from rev 825853, haskell-tamarin-prover-theory/trunk/PKGBUILD)

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

Copied: haskell-tamarin-prover-theory/repos/community-staging-x86_64/PKGBUILD 
(from rev 825853, haskell-tamarin-prover-theory/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:38:02 UTC (rev 825854)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=tamarin-prover-theory
+pkgname=haskell-tamarin-prover-theory
+pkgver=1.6.0
+pkgrel=48
+pkgdesc="Security protocol types and constraint solver library for the tamarin 
prover"
+url="http://www.infsec.ethz.ch/research/software/tamarin";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-dlist' 
'haskell-fclabels'
+ 'haskell-parallel' 'haskell-safe' 'haskell-uniplate' 
'haskell-tamarin-prover-utils'
+ 'haskell-tamarin-prover-term')
+makedepends=('ghc')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz";)
+sha512sums=('7f3569f740d63d715b92a8f073eaecb8b32efe59b910b246977d36bb9e873765440e72feb6e76c7cbafab0495b88cfc666bb1dd12f685627c60d5cbd97b2973e')
+
+build() {
+cd tamarin-prover-$pkgver/lib/theory
+
+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 tamarin-prover-$pkgver/lib/theory
+
+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 haskell-tamarin-prover-theory/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:37:52
  Author: felixonmars
Revision: 825853

upgpkg: haskell-tamarin-prover-theory 1.6.0-48: rebuild with hspec 2.7.7, 
hspec-core 2.7.7, hspec-discover 2.7.7

Modified:
  haskell-tamarin-prover-theory/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:34:00 UTC (rev 825852)
+++ PKGBUILD2021-01-23 07:37:52 UTC (rev 825853)
@@ -4,7 +4,7 @@
 _hkgname=tamarin-prover-theory
 pkgname=haskell-tamarin-prover-theory
 pkgver=1.6.0
-pkgrel=47
+pkgrel=48
 pkgdesc="Security protocol types and constraint solver library for the tamarin 
prover"
 url="http://www.infsec.ethz.ch/research/software/tamarin";
 license=("GPL")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:34:00
  Author: felixonmars
Revision: 825852

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 825851, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:34:00 UTC (rev 825852)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=202
+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-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:33:51
  Author: felixonmars
Revision: 825851

upgpkg: postgrest 7.0.1-202: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:30:30 UTC (rev 825850)
+++ PKGBUILD2021-01-23 07:33:51 UTC (rev 825851)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=201
+pkgrel=202
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:30:20
  Author: felixonmars
Revision: 825849

upgpkg: haskell-servant-swagger 1.1.10-85: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:29:01 UTC (rev 825848)
+++ PKGBUILD2021-01-23 07:30:20 UTC (rev 825849)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.10
-pkgrel=84
+pkgrel=85
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:30:30
  Author: felixonmars
Revision: 825850

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

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 825849, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:30:30 UTC (rev 825850)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.10
+pkgrel=85
+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' '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
+}
+
+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-swagger2/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:29:01
  Author: felixonmars
Revision: 825848

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

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
825847, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:29:01 UTC (rev 825848)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.6
+pkgrel=98
+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' '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
+sed -i 's/< *2.14/<3/;s/< *1.5/<2/' $_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-swagger2/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:28:51
  Author: felixonmars
Revision: 825847

upgpkg: haskell-swagger2 2.6-98: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:24:57 UTC (rev 825846)
+++ PKGBUILD2021-01-23 07:28:51 UTC (rev 825847)
@@ -4,7 +4,7 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.6
-pkgrel=97
+pkgrel=98
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:24:57
  Author: felixonmars
Revision: 825846

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 825845, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/optparse-applicative-0.16.patch
(from rev 825845, stack/trunk/optparse-applicative-0.16.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 825845, 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 825845, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:24:57 UTC (rev 825846)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.5.1
+pkgrel=88
+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-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:24:43
  Author: felixonmars
Revision: 825845

upgpkg: stack 2.5.1-88: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:18:08 UTC (rev 825844)
+++ PKGBUILD2021-01-23 07:24:43 UTC (rev 825845)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.5.1
-pkgrel=87
+pkgrel=88
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:18:08
  Author: felixonmars
Revision: 825844

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
825843, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:18:08 UTC (rev 825844)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.1.4
+pkgrel=61
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-primitive' 'haskell-resourcet' 'haskell-rio' 
'haskell-rio-orphans'
+ 'haskell-rio-prettyprint' 'haskell-tar-conduit' 'haskell-text-metrics'
+ 'haskell-unix-compat' 'haskell-unliftio' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-yaml' 'haskell-zip-archive')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-hspec' 'haskell-quickcheck' 
'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e8285a3c1228b36898d957e56c726dd2b6d8e8d9283f08fe77c800f2030095a00ce76dde8277654a5dfd7523483f6ccd83beeefa2481c5a1bd56dc660312e239')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.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
+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-pantry/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:17:59
  Author: felixonmars
Revision: 825843

upgpkg: haskell-pantry 0.5.1.4-61: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:13:38 UTC (rev 825842)
+++ PKGBUILD2021-01-23 07:17:59 UTC (rev 825843)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.1.4
-pkgrel=60
+pkgrel=61
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry";
 license=('BSD')


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:13:28
  Author: felixonmars
Revision: 825841

upgpkg: haskell-http-download 0.2.0.0-200: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-http-download/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:12:17 UTC (rev 825840)
+++ PKGBUILD2021-01-23 07:13:28 UTC (rev 825841)
@@ -3,7 +3,7 @@
 _hkgname=http-download
 pkgname=haskell-http-download
 pkgver=0.2.0.0
-pkgrel=199
+pkgrel=200
 pkgdesc="Verified downloads with retries"
 url="https://github.com/commercialhaskell/http-download";
 license=('MIT')


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:13:38
  Author: felixonmars
Revision: 825842

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-download/repos/community-staging-x86_64/
  haskell-http-download/repos/community-staging-x86_64/PKGBUILD
(from rev 825841, haskell-http-download/trunk/PKGBUILD)

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

Copied: haskell-http-download/repos/community-staging-x86_64/PKGBUILD (from rev 
825841, haskell-http-download/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:13:38 UTC (rev 825842)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-download
+pkgname=haskell-http-download
+pkgver=0.2.0.0
+pkgrel=200
+pkgdesc="Verified downloads with retries"
+url="https://github.com/commercialhaskell/http-download";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit'
+ 'haskell-http-client' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-path' 'haskell-path-io' 'haskell-retry' 'haskell-rio' 
'haskell-rio-prettyprint')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b31caa48c1ea2a01f1301ca63b2e0c135cd0d3d392b92518c7d70d89fd83da7fd95cffa3cb374900a45fb2da8d17f748de0de72fb4beb8ad11e203676f9864ae')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.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
+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 hoogle/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:12:07
  Author: felixonmars
Revision: 825839

upgpkg: hoogle 5.0.18.1-23: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:10:27 UTC (rev 825838)
+++ PKGBUILD2021-01-23 07:12:07 UTC (rev 825839)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.18.1
-pkgrel=22
+pkgrel=23
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:12:17
  Author: felixonmars
Revision: 825840

archrelease: copy trunk to community-staging-x86_64

Added:
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
(from rev 825839, hoogle/trunk/PKGBUILD)

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 825839, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:12:17 UTC (rev 825840)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.18.1
+pkgrel=23
+pkgdesc="Haskell API Search"
+url="https://www.haskell.org/hoogle/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-connection' 'haskell-extra' 'haskell-foundation' 
'haskell-hashable'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 
'haskell-process-extras'
+ 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('00abbcf557824c604abbd5e9d27a5ca3d4a89e943888b6eef70dea46b8f786dfc851cb1c8f1531c808f4b71b34d3899258f3b009b0a38a385fc5c393a914da17')
+
+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" \
+--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
+}
+
+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 haskell-casa-client/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:10:27
  Author: felixonmars
Revision: 825838

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-casa-client/repos/community-staging-x86_64/
  haskell-casa-client/repos/community-staging-x86_64/PKGBUILD
(from rev 825837, haskell-casa-client/trunk/PKGBUILD)

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

Copied: haskell-casa-client/repos/community-staging-x86_64/PKGBUILD (from rev 
825837, haskell-casa-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:10:27 UTC (rev 825838)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-client
+pkgname=haskell-casa-client
+pkgver=0.0.1
+pkgrel=186
+pkgdesc="Content Addressable Storage Archive client"
+url="https://github.com/fpco/casa";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-memory'
+ 'haskell-network-uri' 'haskell-resourcet' 'haskell-th-lift' 
'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('2df03a0b1c2e01f2d24728e96fe446a25b630f5495c4e9995bcbde1ee9da530df1c6b40dde954cfaf6de2af6036fa6cfda7d9957b22106316557cc57d64114fa')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.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
+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-casa-client/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:10:16
  Author: felixonmars
Revision: 825837

upgpkg: haskell-casa-client 0.0.1-186: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-casa-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:09:21 UTC (rev 825836)
+++ PKGBUILD2021-01-23 07:10:16 UTC (rev 825837)
@@ -3,7 +3,7 @@
 _hkgname=casa-client
 pkgname=haskell-casa-client
 pkgver=0.0.1
-pkgrel=185
+pkgrel=186
 pkgdesc="Content Addressable Storage Archive client"
 url="https://github.com/fpco/casa";
 license=('MIT')


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:09:21
  Author: felixonmars
Revision: 825836

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aws/repos/community-staging-x86_64/PKGBUILD (from rev 825835, 
haskell-aws/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:09:21 UTC (rev 825836)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aws
+pkgname=haskell-aws
+pkgver=0.22
+pkgrel=186
+pkgdesc="Amazon Web Services (AWS) for Haskell"
+url="https://github.com/aristidb/aws";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 'haskell-byteable'
+ 'haskell-case-insensitive' 'haskell-cereal' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-data-default' 'haskell-http-conduit'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lifted-base' 
'haskell-memory'
+ 'haskell-monad-control' 'haskell-network' 'haskell-network-bsd' 
'haskell-old-locale'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-scientific' 
'haskell-tagged'
+ 'haskell-unordered-containers' 'haskell-utf8-string' 'haskell-vector' 
'haskell-xml-conduit')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-errors' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-quickcheck-instances' 
'haskell-tasty'
+ 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 
'haskell-transformers-base')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e7ff376c47a7ca7a65c8f10f19e591d4a4b4d2cfa333b4727f88f0b170d7acb0aff402617f2d617c522fe5d16ce92b249a23f1fb0a8bfe5bbefaef2931b786bd')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -u base16-bytestring -u base64-bytestring -u http-client 
$_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 \
+-f-examples
+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 "Requires AWS credentials to 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-aws/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:09:12
  Author: felixonmars
Revision: 825835

upgpkg: haskell-aws 0.22-186: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-aws/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:06:58 UTC (rev 825834)
+++ PKGBUILD2021-01-23 07:09:12 UTC (rev 825835)
@@ -4,7 +4,7 @@
 _hkgname=aws
 pkgname=haskell-aws
 pkgver=0.22
-pkgrel=185
+pkgrel=186
 pkgdesc="Amazon Web Services (AWS) for Haskell"
 url="https://github.com/aristidb/aws";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:06:58
  Author: felixonmars
Revision: 825834

archrelease: copy trunk to community-staging-x86_64

Added:
  taskell/repos/community-staging-x86_64/
  taskell/repos/community-staging-x86_64/PKGBUILD
(from rev 825833, taskell/trunk/PKGBUILD)

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

Copied: taskell/repos/community-staging-x86_64/PKGBUILD (from rev 825833, 
taskell/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:06:58 UTC (rev 825834)
@@ -0,0 +1,48 @@
+# Maintainer: Jelle van der Waa https://hackage.haskell.org/package/$pkgname";
+depends=(ghc-libs haskell-aeson haskell-attoparsec haskell-brick 
haskell-config-ini haskell-file-embed haskell-fold-debounce haskell-http-client 
haskell-http-conduit haskell-http-types haskell-lens haskell-tz haskell-vty 
haskell-classy-prelude)
+makedepends=(ghc uusi haskell-classy-prelude haskell-raw-strings-qq 
haskell-tasty haskell-tasty-discover haskell-tasty-expected-failure 
haskell-tasty-hunit)
+source=(https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('5ef1504f908876aa17dfd817115bc0d1f8056cba4b759ee70b3d869bd778db7ca0123585f107c906b898d5c614091cb05955cb387a03f2abfbe842622e2e4c8e')
+
+prepare() {
+  uusi $pkgname-$pkgver/$pkgname.cabal
+}
+
+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 \
+--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 $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runghc Setup.hs copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Doc only contains the license
+  rm -rf "$pkgdir/usr/share/doc"
+}
+
+# vim: ts=2 sw=2 et:


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:06:49
  Author: felixonmars
Revision: 825833

upgpkg: taskell 1.10.1-93: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  taskell/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:05:15 UTC (rev 825832)
+++ PKGBUILD2021-01-23 07:06:49 UTC (rev 825833)
@@ -2,7 +2,7 @@
 
 pkgname=taskell
 pkgver=1.10.1
-pkgrel=92
+pkgrel=93
 pkgdesc='A command-line kanban board/task manager'
 license=(BSD)
 arch=(x86_64)


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:05:15
  Author: felixonmars
Revision: 825832

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:05:05
  Author: felixonmars
Revision: 825831

upgpkg: xmobar 0.36-83: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  xmobar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 07:03:05 UTC (rev 825830)
+++ PKGBUILD2021-01-23 07:05:05 UTC (rev 825831)
@@ -5,7 +5,7 @@
 
 pkgname=xmobar
 pkgver=0.36
-pkgrel=82
+pkgrel=83
 pkgdesc='Minimalistic Text Based Status Bar'
 url='https://hackage.haskell.org/package/xmobar'
 license=('BSD')


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:03:05
  Author: felixonmars
Revision: 825830

archrelease: copy trunk to community-staging-x86_64

Added:
  darcs/repos/community-staging-x86_64/
  darcs/repos/community-staging-x86_64/PKGBUILD
(from rev 825829, darcs/trunk/PKGBUILD)

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

Copied: darcs/repos/community-staging-x86_64/PKGBUILD (from rev 825829, 
darcs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 07:03:05 UTC (rev 825830)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=darcs
+pkgver=2.16.3
+pkgrel=58
+pkgdesc="A distributed, interactive, smart revision control system"
+url="http://darcs.net";
+license=("GPL")
+arch=('x86_64')
+depends=('curl' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-conduit' 'haskell-constraints' 'haskell-cryptonite' 
'haskell-data-ordlist'
+ 'haskell-fgl' 'haskell-hashable' 'haskell-html' 
'haskell-http-conduit' 'haskell-http-types'
+ 'haskell-knob' 'haskell-memory' 'haskell-mmap' 'haskell-network' 
'haskell-network-uri'
+ 'haskell-old-time' 'haskell-regex-applicative' 
'haskell-regex-compat-tdfa'
+ 'haskell-tar' 'haskell-temporary' 'haskell-unix-compat' 
'haskell-utf8-string'
+ 'haskell-vector' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-cmdargs' 'haskell-findbin' 'haskell-hunit' 
'haskell-leancheck'
+ 'haskell-quickcheck' 'haskell-test-framework' 
'haskell-test-framework-hunit'
+ 'haskell-test-framework-leancheck' 
'haskell-test-framework-quickcheck2'
+ # Added for their bundled shelly
+ 'haskell-exceptions' 'haskell-monad-control' 
'haskell-system-filepath'
+ 'haskell-system-fileio' 'haskell-transformers-base')
+checkdepends=('bc' 'time')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('267787c5b3111a20158858b42a8b9c2698b80dc40f7d340175e26d74b955643cefffc2f4de9811fa26464eac2e79913150fb3cd73871275725d10a690b9d73c3')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -e 's/^ghc /ghc -dynamic /' \
+-e 's/ ghc / ghc -dynamic /' \
+-i tests/*.sh tests/lib
+uusi $pkgname.cabal
+}
+
+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 \
+-fcurl -fpkgconfig -f-static -fterminfo -fthreaded -fexecutable \
+-f-rts -foptimize -f-warn-as-error -f-libiconv
+LD_LIBRARY_PATH="$srcdir"/$pkgname-$pkgver/dist/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
+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
+chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1"
+
+install -Dm644 contrib/darcs_completion 
"${pkgdir}/usr/share/bash-completion/completions/darcs"
+install -Dm644 contrib/_darcs.zsh 
"${pkgdir}/usr/share/zsh/site-functions/_darcs"
+}


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 07:02:56
  Author: felixonmars
Revision: 825829

upgpkg: darcs 2.16.3-58: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  darcs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 06:07:56 UTC (rev 825828)
+++ PKGBUILD2021-01-23 07:02:56 UTC (rev 825829)
@@ -3,7 +3,7 @@
 
 pkgname=darcs
 pkgver=2.16.3
-pkgrel=57
+pkgrel=58
 pkgdesc="A distributed, interactive, smart revision control system"
 url="http://darcs.net";
 license=("GPL")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:07:56
  Author: felixonmars
Revision: 825828

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-auth/repos/community-staging-x86_64/
  haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD
(from rev 825827, haskell-yesod-auth/trunk/PKGBUILD)

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

Copied: haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD (from rev 
825827, haskell-yesod-auth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 06:07:56 UTC (rev 825828)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-auth
+pkgname=haskell-yesod-auth
+pkgver=1.6.10.1
+pkgrel=68
+pkgdesc="Authentication for Yesod."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-email-validate' 'haskell-file-embed' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-network-uri' 'haskell-nonce' 'haskell-persistent' 
'haskell-random' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-yesod-core' 
'haskell-yesod-form'
+ 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1b02d57f06b06574a7b103abf60aadca61f19034dd9fed5b4548a2fc36d13606e4c0824f296237f8fab044407cd2394aa185f979ae76e0ad8e9f7ca53a5be070')
+
+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 \
+-fnetwork-uri
+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-authenticate/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:06:15
  Author: felixonmars
Revision: 825825

upgpkg: haskell-authenticate 1.3.5-254: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-authenticate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 06:05:26 UTC (rev 825824)
+++ PKGBUILD2021-01-23 06:06:15 UTC (rev 825825)
@@ -4,7 +4,7 @@
 _hkgname=authenticate
 pkgname=haskell-authenticate
 pkgver=1.3.5
-pkgrel=253
+pkgrel=254
 pkgdesc="Authentication methods for Haskell web applications."
 url="https://github.com/yesodweb/authenticate";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:07:47
  Author: felixonmars
Revision: 825827

upgpkg: haskell-yesod-auth 1.6.10.1-68: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 06:06:25 UTC (rev 825826)
+++ PKGBUILD2021-01-23 06:07:47 UTC (rev 825827)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10.1
-pkgrel=67
+pkgrel=68
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:06:25
  Author: felixonmars
Revision: 825826

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-authenticate/repos/community-staging-x86_64/PKGBUILD (from rev 
825825, haskell-authenticate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 06:06:25 UTC (rev 825826)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=authenticate
+pkgname=haskell-authenticate
+pkgver=1.3.5
+pkgrel=254
+pkgdesc="Authentication methods for Haskell web applications."
+url="https://github.com/yesodweb/authenticate";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-conduit' 'haskell-html-conduit' 
'haskell-http-conduit'
+ 'haskell-http-types' 'haskell-network-uri' 'haskell-resourcet'
+ 'haskell-unordered-containers' 'haskell-xml-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('12962fcf71c732a7e709e7069d46691917b9ee9f2af6aab5556b76a4556b6ffc39e52082a4fcdbe501c2cbc7cc496b1164b6a9f2c3883597fcdd0a8298d4ac1a')
+
+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 \
+-fnetwork-uri
+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-http-conduit/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:05:26
  Author: felixonmars
Revision: 825824

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-conduit/repos/community-staging-x86_64/
  haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD
(from rev 825823, haskell-http-conduit/trunk/PKGBUILD)

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

Copied: haskell-http-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 
825823, haskell-http-conduit/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 06:05:26 UTC (rev 825824)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-conduit
+pkgname=haskell-http-conduit
+pkgver=2.3.7.4
+pkgrel=35
+pkgdesc="HTTP client package with conduit interface and HTTPS support"
+url="https://www.yesodweb.com/book/http-conduit";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-resourcet'
+ 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-connection'
+ 'haskell-cookie' 'haskell-data-default-class' 'haskell-hunit' 
'haskell-hspec'
+ 'haskell-lifted-base' 'haskell-network' 
'haskell-streaming-commons' 'haskell-temporary'
+ 'haskell-unliftio' 'haskell-utf8-string' 'haskell-wai' 
'haskell-wai-conduit'
+ 'haskell-warp' 'haskell-warp-tls')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('4e6cd8c8015dd960a1a0584224fa99bae362487f0e227a712086dba5a757546cd64d857215b3cb5eab1f74e06d4064a9f1333a0f97ba15bd107dea28244df508')
+
+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-warp-tls/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:03:53
  Author: felixonmars
Revision: 825821

upgpkg: haskell-warp-tls 3.3.0-109: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-warp-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 06:03:08 UTC (rev 825820)
+++ PKGBUILD2021-01-23 06:03:53 UTC (rev 825821)
@@ -4,7 +4,7 @@
 _hkgname=warp-tls
 pkgname=haskell-warp-tls
 pkgver=3.3.0
-pkgrel=108
+pkgrel=109
 pkgdesc="HTTP over TLS support for Warp via the TLS package"
 url="https://github.com/yesodweb/wai";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:04:03
  Author: felixonmars
Revision: 825822

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-warp-tls/repos/community-staging-x86_64/
  haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD
(from rev 825821, haskell-warp-tls/trunk/PKGBUILD)

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

Copied: haskell-warp-tls/repos/community-staging-x86_64/PKGBUILD (from rev 
825821, haskell-warp-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 06:04:03 UTC (rev 825822)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp-tls
+pkgname=haskell-warp-tls
+pkgver=3.3.0
+pkgrel=109
+pkgdesc="HTTP over TLS support for Warp via the TLS package"
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-cryptonite" "haskell-data-default-class" 
"haskell-network"
+ "haskell-streaming-commons" "haskell-tls" 
"haskell-tls-session-manager" "haskell-wai"
+ "haskell-warp")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('238f698b3f18b9cc681bbb7fb4e6e086dacc32f74c31452bbb35381abf6cc4866d9feca44394733773bef4cb16e2f36a829c7c931a9ef3f2d7a4b4b857e8f242')
+
+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-yesod-static/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:03:08
  Author: felixonmars
Revision: 825820

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-static/repos/community-staging-x86_64/
  haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD
(from rev 825819, haskell-yesod-static/trunk/PKGBUILD)

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
825819, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 06:03:08 UTC (rev 825820)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=155
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-rio' 
'haskell-unix-compat'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('66037ec28eac83e374161c1b306a4d20805ecb35ccfc4878e7894d961daaf30d9936c6e209641ff323d7e3dd5626f5a24a12915d4205417c496e272a2e969f6e')
+
+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-http-conduit/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:05:17
  Author: felixonmars
Revision: 825823

upgpkg: haskell-http-conduit 2.3.7.4-35: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-http-conduit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 06:04:03 UTC (rev 825822)
+++ PKGBUILD2021-01-23 06:05:17 UTC (rev 825823)
@@ -4,7 +4,7 @@
 _hkgname=http-conduit
 pkgname=haskell-http-conduit
 pkgver=2.3.7.4
-pkgrel=34
+pkgrel=35
 pkgdesc="HTTP client package with conduit interface and HTTPS support"
 url="https://www.yesodweb.com/book/http-conduit";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:02:59
  Author: felixonmars
Revision: 825819

upgpkg: haskell-yesod-static 1.6.1.0-155: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 06:01:31 UTC (rev 825818)
+++ PKGBUILD2021-01-23 06:02:59 UTC (rev 825819)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=154
+pkgrel=155
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:59:54
  Author: felixonmars
Revision: 825816

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 825815, 
haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:59:54 UTC (rev 825816)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.0
+pkgrel=133
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-file-embed' 'haskell-monad-logger' 
'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('712eed39b64f515cb949186ddb950133cc2daccde6d4a9b0115809e5f4726a957b2809ee785b348971c617b3d173bcd40776b065f5bf1d68b79af12905ada77a')
+
+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-yesod-test/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:01:31
  Author: felixonmars
Revision: 825818

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
825817, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 06:01:31 UTC (rev 825818)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=34
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('777d112d8c5ae77d667da2b8d1ed91a1cf751850d5b3678e787e7123aca8666d0a4b6d6161b7109491012d56c160603d62563b881a136ccc76a1edd006c423d6')
+
+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-yesod-test/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 06:01:21
  Author: felixonmars
Revision: 825817

upgpkg: haskell-yesod-test 1.6.12-34: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:59:54 UTC (rev 825816)
+++ PKGBUILD2021-01-23 06:01:21 UTC (rev 825817)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.12
-pkgrel=33
+pkgrel=34
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com";
 license=('MIT')


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:59:44
  Author: felixonmars
Revision: 825815

upgpkg: haskell-yesod 1.6.1.0-133: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:58:44 UTC (rev 825814)
+++ PKGBUILD2021-01-23 05:59:44 UTC (rev 825815)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.0
-pkgrel=132
+pkgrel=133
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:58:34
  Author: felixonmars
Revision: 825813

upgpkg: haskell-yesod-form 1.6.7-353: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:57:18 UTC (rev 825812)
+++ PKGBUILD2021-01-23 05:58:34 UTC (rev 825813)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.6.7
-pkgrel=352
+pkgrel=353
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:57:18
  Author: felixonmars
Revision: 825812

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-persistent/repos/community-staging-x86_64/
  haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD
(from rev 825811, haskell-yesod-persistent/trunk/PKGBUILD)

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 825811, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:57:18 UTC (rev 825812)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.5
+pkgrel=64
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-persistent-template" "haskell-resource-pool" 
"haskell-resourcet"
+ "haskell-yesod-core")
+makedepends=('ghc' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b423085942660271aea65547dffc8f68b4cf8b78a7b13fa813fad60c82a5c447c9bccc19116bdc4248dc158d81d1573a925a60d096efd666e8178c863c2bafc8')
+
+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-yesod-form/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:58:44
  Author: felixonmars
Revision: 825814

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-form/repos/community-staging-x86_64/
  haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD
(from rev 825813, haskell-yesod-form/trunk/PKGBUILD)

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
825813, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:58:44 UTC (rev 825814)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.6.7
+pkgrel=353
+pkgdesc="Form handling support for Yesod Web Framework"
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-byteable' 'haskell-data-default' 
'haskell-email-validate'
+ 'haskell-network-uri' 'haskell-persistent' 'haskell-resourcet' 
'haskell-shakespeare'
+ 'haskell-wai' 'haskell-xss-sanitize' 'haskell-yesod-core' 
'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('a23c2cb67ed0a87afde9e9e903aa789f8fd9c071893a1bebd0ff9dc3dec6e8e03dd08a4a7ef6ef2d438fbf62597ea0181a038bd7bb5631199c9be83d2a8aef0c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_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 \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+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-yesod-persistent/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:57:09
  Author: felixonmars
Revision: 825811

upgpkg: haskell-yesod-persistent 1.6.0.5-64: rebuild with hspec 2.7.7, 
hspec-core 2.7.7, hspec-discover 2.7.7

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:56:02 UTC (rev 825810)
+++ PKGBUILD2021-01-23 05:57:09 UTC (rev 825811)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.5
-pkgrel=63
+pkgrel=64
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:55:53
  Author: felixonmars
Revision: 825809

upgpkg: haskell-yesod-core 1.6.18.8-33: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-yesod-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:54:30 UTC (rev 825808)
+++ PKGBUILD2021-01-23 05:55:53 UTC (rev 825809)
@@ -4,7 +4,7 @@
 _hkgname=yesod-core
 pkgname=haskell-yesod-core
 pkgver=1.6.18.8
-pkgrel=32
+pkgrel=33
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/";
 license=("MIT")


[arch-commits] Commit in haskell-wai-middleware-static/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:54:30
  Author: felixonmars
Revision: 825808

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-middleware-static/repos/community-staging-x86_64/
  haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD
(from rev 825807, haskell-wai-middleware-static/trunk/PKGBUILD)

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 825807, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:54:30 UTC (rev 825808)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.0
+pkgrel=51
+pkgdesc="WAI middleware that serves requests to static files"
+url="https://github.com/scotty-web/wai-middleware-static";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'haskell-memory' 
'haskell-expiring-cache-map'
+ 'haskell-http-types' 'haskell-mime-types' 'haskell-old-locale' 
'haskell-wai')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-hspec-expectations-lifted'
+ 'haskell-hspec-wai' 'haskell-mockery' 'haskell-scotty' 
'haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('4833afa649ed2e9604f396481dbf5e1f4d96db841fb9c300a9c0b66641241c12c14d8e010860626a3d4bf00507fa0b28b5480d37ac1f8d6daa1c3e96685b654c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' $_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-yesod-core/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:56:02
  Author: felixonmars
Revision: 825810

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-yesod-core/repos/community-staging-x86_64/
  haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD
(from rev 825809, haskell-yesod-core/trunk/PKGBUILD)

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

Copied: haskell-yesod-core/repos/community-staging-x86_64/PKGBUILD (from rev 
825809, haskell-yesod-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:56:02 UTC (rev 825810)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-core
+pkgname=haskell-yesod-core
+pkgver=1.6.18.8
+pkgrel=33
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-auto-update' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 'haskell-cereal'
+ 'haskell-clientsession' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cookie'
+ 'haskell-fast-logger' 'haskell-http-types' 'haskell-memory'
+ 'haskell-monad-logger' 'haskell-old-locale' 'haskell-path-pieces' 
'haskell-primitive'
+ 'haskell-random' 'haskell-resourcet' 'haskell-shakespeare' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 
'haskell-word8')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('1774281bf8de190995360bcf461adc46b65bac5fa2200aada0b511f73b3bc7bab8365fa4737b4de4723481f7b76c0cb440d68b118c15c46e3d455ea9126bffa7')
+
+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-scotty/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:53:21
  Author: felixonmars
Revision: 825806

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
825805, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:53:21 UTC (rev 825806)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=51
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:53:11
  Author: felixonmars
Revision: 825805

upgpkg: haskell-scotty 0.12-51: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:51:59 UTC (rev 825804)
+++ PKGBUILD2021-01-23 05:53:11 UTC (rev 825805)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=50
+pkgrel=51
 pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
 url="https://github.com/scotty-web/scotty";
 license=("BSD")


[arch-commits] Commit in haskell-wai-middleware-static/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:54:20
  Author: felixonmars
Revision: 825807

upgpkg: haskell-wai-middleware-static 0.9.0-51: rebuild with hspec 2.7.7, 
hspec-core 2.7.7, hspec-discover 2.7.7

Modified:
  haskell-wai-middleware-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:53:21 UTC (rev 825806)
+++ PKGBUILD2021-01-23 05:54:20 UTC (rev 825807)
@@ -4,7 +4,7 @@
 _hkgname=wai-middleware-static
 pkgname=haskell-wai-middleware-static
 pkgver=0.9.0
-pkgrel=50
+pkgrel=51
 pkgdesc="WAI middleware that serves requests to static files"
 url="https://github.com/scotty-web/wai-middleware-static";
 license=("BSD")


[arch-commits] Commit in haskell-wai-handler-launch/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:51:49
  Author: felixonmars
Revision: 825803

upgpkg: haskell-wai-handler-launch 3.0.3.1-189: rebuild with hspec 2.7.7, 
hspec-core 2.7.7, hspec-discover 2.7.7

Modified:
  haskell-wai-handler-launch/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:51:07 UTC (rev 825802)
+++ PKGBUILD2021-01-23 05:51:49 UTC (rev 825803)
@@ -4,7 +4,7 @@
 _hkgname=wai-handler-launch
 pkgname=haskell-wai-handler-launch
 pkgver=3.0.3.1
-pkgrel=188
+pkgrel=189
 pkgdesc="Launch a web app in the default browser."
 url="https://github.com/yesodweb/wai";
 license=("MIT")


[arch-commits] Commit in haskell-wai-handler-launch/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:51:59
  Author: felixonmars
Revision: 825804

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-handler-launch/repos/community-staging-x86_64/
  haskell-wai-handler-launch/repos/community-staging-x86_64/PKGBUILD
(from rev 825803, haskell-wai-handler-launch/trunk/PKGBUILD)

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

Copied: haskell-wai-handler-launch/repos/community-staging-x86_64/PKGBUILD 
(from rev 825803, haskell-wai-handler-launch/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:51:59 UTC (rev 825804)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-handler-launch
+pkgname=haskell-wai-handler-launch
+pkgver=3.0.3.1
+pkgrel=189
+pkgdesc="Launch a web app in the default browser."
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-wai' 'haskell-warp' 'haskell-http-types' 
'haskell-streaming-commons'
+ 'haskell-async')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('12505691dae45d743f739785cc4a32851e0bca55a7f3513d973de24722704eb5c62a8034f7bcddd8eb756ccf2a2fd9ab92986fec6e56d34d9e7a3fa900355c02')
+
+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-servant-server/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:51:07
  Author: felixonmars
Revision: 825802

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 825801, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:51:07 UTC (rev 825802)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.2
+pkgrel=5
+pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
+url="https://haskell-servant.readthedocs.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 
'haskell-base64-bytestring'
+ 'haskell-http-api-data' 'haskell-http-media' 'haskell-http-types'
+ 'haskell-network-uri' 'haskell-monad-control' 'haskell-network' 
'haskell-servant'
+ 'haskell-sop-core' 'haskell-string-conversions' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-warp'
+ 'haskell-word8')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-should-not-typecheck'
+ 'haskell-quickcheck' 'haskell-safe' 'haskell-wai-extra' 
'haskell-temporary'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('a8203535a2d4a62b16f717e262fda28685bba466c5e271b2bba991a668a7df4d494de8c10b0843faf3d56e71dba0f88065066ba7acce0e66e16d4a6ba2d96229')
+
+prepare() {
+uusi -u http-api-data -u base64-bytestring 
$_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-servant-server/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:50:57
  Author: felixonmars
Revision: 825801

upgpkg: haskell-servant-server 0.18.2-5: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:49:11 UTC (rev 825800)
+++ PKGBUILD2021-01-23 05:50:57 UTC (rev 825801)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.2
-pkgrel=4
+pkgrel=5
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/";
 license=("BSD")


[arch-commits] Commit in haskell-wai-app-static/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:49:11
  Author: felixonmars
Revision: 825800

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-app-static/repos/community-staging-x86_64/
  haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD
(from rev 825799, haskell-wai-app-static/trunk/PKGBUILD)

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 825799, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:49:11 UTC (rev 825800)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.7.2
+pkgrel=102
+pkgdesc="WAI application for static serving"
+url="https://www.yesodweb.com/book/web-application-interface";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-file-embed' 'haskell-http-date' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-unix-compat' 'haskell-unordered-containers' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e073d85efc201eab94b9c8be4e40ee71567d07ed2e2907504a946477211bc21aaf2250213cac67525ae58be499b164b09880600c0a6f62b0b1742fb9d730d6d9')
+
+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 \
+-f-print
+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-wai-app-static/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:49:02
  Author: felixonmars
Revision: 825799

upgpkg: haskell-wai-app-static 3.1.7.2-102: rebuild with hspec 2.7.7, 
hspec-core 2.7.7, hspec-discover 2.7.7

Modified:
  haskell-wai-app-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:47:57 UTC (rev 825798)
+++ PKGBUILD2021-01-23 05:49:02 UTC (rev 825799)
@@ -4,7 +4,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.7.2
-pkgrel=101
+pkgrel=102
 pkgdesc="WAI application for static serving"
 url="https://www.yesodweb.com/book/web-application-interface";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:47:57
  Author: felixonmars
Revision: 825798

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 825797, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:47:57 UTC (rev 825798)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.4
+pkgrel=3
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="https://shakebuild.com";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable'
+ 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('11e1598bbdc8d747615ea00bc8b2dd6b1a6c8402e488b437027b4b5cb8f60b0847327a41f3c220b04b1849267b1bb2ed24cc5ccbb3aeecca3213f1e29de2e575')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' 
src/Test/{Command.hs,CloseFileHandles.hs}
+sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-e 
's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/'
 \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+
+# Not sure about this one:
+sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-portable -f-cloud -f-embed-files
+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-shake/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:47:48
  Author: felixonmars
Revision: 825797

upgpkg: haskell-shake 0.19.4-3: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:34:59 UTC (rev 825796)
+++ PKGBUILD2021-01-23 05:47:48 UTC (rev 825797)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:34:59
  Author: felixonmars
Revision: 825796

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-js-jquery/repos/community-staging-x86_64/
  haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD
(from rev 825795, haskell-js-jquery/trunk/PKGBUILD)

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

Copied: haskell-js-jquery/repos/community-staging-x86_64/PKGBUILD (from rev 
825795, haskell-js-jquery/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:34:59 UTC (rev 825796)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=js-jquery
+pkgname=haskell-js-jquery
+pkgver=3.3.1
+pkgrel=571
+pkgdesc="Obtain minified jQuery code"
+url="https://github.com/ndmitchell/js-jquery#readme";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-http')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('359a4342bc5156d5360385a478e235def04db0381cc48f342baac5018e91350dce760adb9b9ada796bc6341d5629f807672f629ee127faefe521801d62bb')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
"${_opts[@]}" \
+--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-js-jquery/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:34:50
  Author: felixonmars
Revision: 825795

upgpkg: haskell-js-jquery 3.3.1-571: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-js-jquery/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:34:00 UTC (rev 825794)
+++ PKGBUILD2021-01-23 05:34:50 UTC (rev 825795)
@@ -4,7 +4,7 @@
 _hkgname=js-jquery
 pkgname=haskell-js-jquery
 pkgver=3.3.1
-pkgrel=570
+pkgrel=571
 pkgdesc="Obtain minified jQuery code"
 url="https://github.com/ndmitchell/js-jquery#readme";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:34:00
  Author: felixonmars
Revision: 825794

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 825793, haskell-cabal-install-parsers/trunk/PKGBUILD)

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

Copied: haskell-cabal-install-parsers/repos/community-staging-x86_64/PKGBUILD 
(from rev 825793, haskell-cabal-install-parsers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:34:00 UTC (rev 825794)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=cabal-install-parsers
+pkgname=haskell-cabal-install-parsers
+pkgver=0.4
+pkgrel=30
+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";)
+sha512sums=('ed521221e822b471ed297d8291fb1360d785197b0d36de7a4e1dd2bf44b5c2840281fc423e2618dd70dc38354b156984e05f7469f3915321a181a349e94a1a27')
+
+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
+}
+
+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-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:33:50
  Author: felixonmars
Revision: 825793

upgpkg: haskell-cabal-install-parsers 0.4-30: rebuild with hspec 2.7.7, 
hspec-core 2.7.7, hspec-discover 2.7.7

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:31:58 UTC (rev 825792)
+++ PKGBUILD2021-01-23 05:33:50 UTC (rev 825793)
@@ -3,7 +3,7 @@
 _hkgname=cabal-install-parsers
 pkgname=haskell-cabal-install-parsers
 pkgver=0.4
-pkgrel=29
+pkgrel=30
 pkgdesc="Utilities to work with cabal-install files"
 url="https://haskell-ci.rtfd.org/";
 license=("GPL" "BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:31:58
  Author: felixonmars
Revision: 825792

archrelease: copy trunk to community-staging-x86_64

Added:
  cabal-install/repos/community-staging-x86_64/
  cabal-install/repos/community-staging-x86_64/PKGBUILD
(from rev 825791, cabal-install/trunk/PKGBUILD)
  
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
(from rev 825791, 
cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)

--+
 PKGBUILD |   49 +
 cabal-install-base16-bytestring1.0.patch |   38 ++
 2 files changed, 87 insertions(+)

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 825791, 
cabal-install/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:31:58 UTC (rev 825792)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=cabal-install
+pkgver=3.2.0.0
+pkgrel=149
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="https://hackage.haskell.org/package/cabal-install";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base16-bytestring' 
'haskell-cryptohash-sha256'
+ 'haskell-echo' 'haskell-edit-distance' 'haskell-hackage-security' 
'haskell-hashable'
+ 'haskell-http' 'haskell-network' 'haskell-network-uri' 
'haskell-random' 'haskell-resolv'
+ 'haskell-tar' 'haskell-zlib' 'haskell-lukko')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz";
+
$pkgname-ghc8.10.patch::https://github.com/haskell/cabal/pull/6711.patch
+$pkgname-base16-bytestring1.0.patch)
+sha512sums=('ad937b2df42b688e4608aa2b91a25daf1042e5573626202e5182cbfeca9acc5933194853405a6396c60d0d28d6d0d5c5276fd85cb6acf4be2c8cd12afe747062'
+
'9e7245f5080e9c1609994b21d13ecbacb78fa9314d80425464f714f9bd68910d3fb4a5101b582461a89ec0b7115ef6acb2eb4ffba7a2477f65dca192f1eac1e7'
+
'391356a85d78a147a909e9dee5981b46b1f2c5ffa251c070f3bef700d8ac490e02f5fa45ea9674f5fb4e3d3067809dfd72494753dc5d20b01e64c11d6320367f')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p2 -i ../$pkgname-ghc8.10.patch || :
+patch -p2 -i ../$pkgname-base16-bytestring1.0.patch
+sed -i 's/< *1.2/<2/' $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla \
+--docdir="/usr/share/doc/${pkgname}"
+  runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+  cd $pkgname-$pkgver
+  runhaskell Setup copy --destdir="${pkgdir}"
+
+  install -Dm644 LICENSE \
+"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -Dm644 bash-completion/cabal \
+"${pkgdir}/usr/share/bash-completion/completions/cabal"
+}

Copied: 
cabal-install/repos/community-staging-x86_64/cabal-install-base16-bytestring1.0.patch
 (from rev 825791, cabal-install/trunk/cabal-install-base16-bytestring1.0.patch)
===
--- community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
(rev 0)
+++ community-staging-x86_64/cabal-install-base16-bytestring1.0.patch   
2021-01-23 05:31:58 UTC (rev 825792)
@@ -0,0 +1,38 @@
+diff --git a/cabal-install/Distribution/Client/HashValue.hs 
b/cabal-install/Distribution/Client/HashValue.hs
+index 54b8aee9e..11e647c1c 100644
+--- a/cabal-install/Distribution/Client/HashValue.hs
 b/cabal-install/Distribution/Client/HashValue.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP  #-}
+ {-# LANGUAGE DeriveDataTypeable #-}
+ {-# LANGUAGE DeriveGeneric  #-}
+ module Distribution.Client.HashValue (
+@@ -72,10 +73,14 @@ hashFromTUF (Sec.Hash hashstr) =
+ --TODO: [code cleanup] either we should get TUF to use raw bytestrings or
+ -- perhaps we should also just use a base16 string as the internal rep.
+ case Base16.decode (BS.pack hashstr) of
++#if MIN_VERSION_base16_bytestring(1,0,0)
++  Right hash -> HashValue hash
++  Left _ -> error "hashFromTUF: cannot decode base16"
++#else
+   (hash, trailing) | not (BS.null hash) && BS.null trailing
+ -> HashValue hash
+   _ -> error "hashFromTUF: cannot decode base16 hash"
+-
++#endif
+ 
+ -- | Truncate a 32 byte SHA256 hash to
+ --
+diff --git a/cabal-install/cabal-install.cabal 
b/cabal-install/cabal-install.cabal
+index ee49fe245..6d423fdb3 100644
+--- a/cabal-install/cabal-install.cabal
 b/cabal-install/cabal-install.cabal
+@@ -319,7 +319,7 @@ executable cabal
+ async  >= 2.0  && < 2.3,
+ array  >= 0.4  && < 0.6,
+ base   >= 4.8  && < 4

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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:31:47
  Author: felixonmars
Revision: 825791

upgpkg: cabal-install 3.2.0.0-149: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:28:44 UTC (rev 825790)
+++ PKGBUILD2021-01-23 05:31:47 UTC (rev 825791)
@@ -5,7 +5,7 @@
 
 pkgname=cabal-install
 pkgver=3.2.0.0
-pkgrel=148
+pkgrel=149
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="https://hackage.haskell.org/package/cabal-install";
 license=('BSD')


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:27:29
  Author: felixonmars
Revision: 825788

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 825787, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:27:29 UTC (rev 825788)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.3.13
+pkgrel=143
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-auto-update' 
'haskell-bsb-http-chunked'
+ 'haskell-case-insensitive' 'haskell-hashable' 'haskell-http-date' 
'haskell-http-types'
+ 'haskell-http2' 'haskell-iproute' 'haskell-network' 
'haskell-simple-sendfile'
+ 'haskell-streaming-commons' 'haskell-time-manager' 
'haskell-unix-compat' 'haskell-vault'
+ 'haskell-wai' 'haskell-word8' 'haskell-x509')
+makedepends=('ghc' 'haskell-doctest' 'haskell-http-client' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-lifted-base' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('ac37e1f274d26b2c846429960074d27010c0864efd87da6d79f03e3f833aca3269176bb99301ab8cb59c4476ff12bae35b26e0fe602e7b0e2cad2837592e07b1')
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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-http/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:28:44
  Author: felixonmars
Revision: 825790

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http/repos/community-staging-x86_64/PKGBUILD (from rev 825789, 
haskell-http/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:28:44 UTC (rev 825790)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.3.15
+pkgrel=79
+pkgdesc="A library for client-side HTTP"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-hunit' 'haskell-httpd-shed' 'haskell-puremd5' 
'haskell-split'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-case-insensitive'
+ 'haskell-http-types' 'haskell-wai' 'haskell-warp' 
'haskell-conduit'
+ 'haskell-conduit-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('74015725d15f5dcd1f7212100e26ae82da31201b77e729322ea95e88018ae1ef3a1bd5c2b8ac525f14276a24f2781de9de757aa5f83c71e260d6a61223b756d2')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *3.3/<4/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -fnetwork-uri
+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-http/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:28:35
  Author: felixonmars
Revision: 825789

upgpkg: haskell-http 4000.3.15-79: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:27:29 UTC (rev 825788)
+++ PKGBUILD2021-01-23 05:28:35 UTC (rev 825789)
@@ -4,7 +4,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.15
-pkgrel=78
+pkgrel=79
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('BSD')


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:27:20
  Author: felixonmars
Revision: 825787

upgpkg: haskell-warp 3.3.13-143: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-warp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:26:00 UTC (rev 825786)
+++ PKGBUILD2021-01-23 05:27:20 UTC (rev 825787)
@@ -4,7 +4,7 @@
 _hkgname=warp
 pkgname=haskell-warp
 pkgver=3.3.13
-pkgrel=142
+pkgrel=143
 pkgdesc="A fast, light-weight web server for WAI applications."
 url="https://github.com/yesodweb/wai";
 license=("MIT")


[arch-commits] Commit in haskell-hspec-wai-json/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:26:00
  Author: felixonmars
Revision: 825786

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-wai-json/repos/community-staging-x86_64/
  haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD
(from rev 825785, haskell-hspec-wai-json/trunk/PKGBUILD)

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

Copied: haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD (from 
rev 825785, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:26:00 UTC (rev 825786)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai-json
+pkgname=haskell-hspec-wai-json
+pkgver=0.11.0
+pkgrel=65
+pkgdesc="Testing JSON APIs with hspec-wai"
+url="https://github.com/hspec/hspec-wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-qq' 
'haskell-case-insensitive'
+ 'haskell-hspec-wai')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('db14622fd95bfb9f52a48da4e8fa345c9fdd7014aeec1cb10d75573738f8020f36d97f7085373b9b2e865a9874f377d5532e29c1f31e27f41bf5c6c89fe68546')
+
+prepare() {
+uusi -u hspec-wai $_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-hspec-wai-json/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:25:50
  Author: felixonmars
Revision: 825785

upgpkg: haskell-hspec-wai-json 0.11.0-65: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-hspec-wai-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:24:58 UTC (rev 825784)
+++ PKGBUILD2021-01-23 05:25:50 UTC (rev 825785)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.11.0
-pkgrel=64
+pkgrel=65
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:24:58
  Author: felixonmars
Revision: 825784

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-wai/repos/community-staging-x86_64/
  haskell-hspec-wai/repos/community-staging-x86_64/PKGBUILD
(from rev 825783, haskell-hspec-wai/trunk/PKGBUILD)

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

Copied: haskell-hspec-wai/repos/community-staging-x86_64/PKGBUILD (from rev 
825783, haskell-hspec-wai/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:24:58 UTC (rev 825784)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai
+pkgname=haskell-hspec-wai
+pkgver=0.11.1
+pkgrel=26
+pkgdesc="Experimental Hspec support for testing WAI applications"
+url="https://github.com/hspec/hspec-wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-base-compat' 
'haskell-case-insensitive'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-hspec-expectations' 
'haskell-http-types'
+ 'haskell-wai' 'haskell-wai-extra')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('c5c72dee572f6fd7bd80f3beb4e668697d58f3bb045dabb321e65098f4fc3b1d577aa32e5fe607cab3e18433627538582b6c7acc7bb4728a99daeb20afe41b0a')
+
+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-hspec-wai/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:24:48
  Author: felixonmars
Revision: 825783

upgpkg: haskell-hspec-wai 0.11.1-26: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-hspec-wai/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:23:51 UTC (rev 825782)
+++ PKGBUILD2021-01-23 05:24:48 UTC (rev 825783)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai
 pkgname=haskell-hspec-wai
 pkgver=0.11.1
-pkgrel=25
+pkgrel=26
 pkgdesc="Experimental Hspec support for testing WAI applications"
 url="https://github.com/hspec/hspec-wai";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:23:51
  Author: felixonmars
Revision: 825782

archrelease: copy trunk to community-staging-x86_64

Added:
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
(from rev 825781, idris/trunk/PKGBUILD)

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

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 825781, 
idris/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:23:51 UTC (rev 825782)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=idris
+pkgver=1.3.3
+pkgrel=155
+pkgdesc="Functional Programming Language with Dependent Types"
+url="https://www.idris-lang.org/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-ansi-wl-pprint' 'haskell-async' 'haskell-base64-bytestring' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cheapskate' 'haskell-code-page' 
'haskell-fingertree'
+ 'haskell-fsnotify' 'haskell-ieee754' 'haskell-libffi' 
'haskell-megaparsec'
+ 'haskell-network' 'haskell-optparse-applicative' 
'haskell-parser-combinators'
+ 'haskell-regex-tdfa' 'haskell-safe' 'haskell-split' 
'haskell-terminal-size'
+ 'haskell-uniplate' 'haskell-unordered-containers' 
'haskell-utf8-string' 'haskell-vector'
+ 'haskell-vector-binary-instances' 'haskell-zip-archive')
+makedepends=('ghc' 'uusi' 'haskell-tagged' 'haskell-tasty' 
'haskell-tasty-golden' 'haskell-tasty-rerun'
+ 'nodejs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz";
+
idris-haskeline-0.8.patch::https://github.com/idris-lang/Idris-dev/pull/4871.patch)
+sha512sums=('fc5c65847c8021ed691c7968043a04fcffaed3a44a6339f611fed616fddefa1b5bc2da8e7e6662dfa552981688a1c96571eadc197e4e50ba060de3c6ddbd03de'
+
'5f2efe359d5626c44f0c146f108dae4635ae2c8babf53841d5147d17d5be2460ab19a0b952492c68c93fa6470989bcf396cd7fbf6c8d44ac77792a54c3bbb141')
+
+prepare() {
+cd Idris-dev-$pkgver
+patch -p1 -i ../idris-haskeline-0.8.patch
+sed -i '1ioverride IDRIS := env LD_PRELOAD=$(shell ls 
../../dist/build/libHSidris-*-ghc*.so) $(IDRIS)' \
+libs/*/Makefile
+sed -i 's/Just sline/sline/' src/Idris/Parser/Stack.hs
+uusi idris.cabal
+}
+
+build() {
+cd Idris-dev-$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 \
+-fFFI -fGMP -f-release -f-freestanding -f-CI -f-execonly 
--ghc-option='-pie'
+LC_CTYPE=en_US.UTF-8 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 Idris-dev-$pkgver
+# TODO: figure out the tests
+PATH="$PWD/dist/build:$PWD/dist/build/idris:$PATH" 
LD_LIBRARY_PATH="$PWD/dist/build" IDRIS_LIBRARY_PATH="$PWD/libs" runhaskell 
Setup test || echo "Tests failed"
+}
+
+package() {
+cd Idris-dev-$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 idris/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:23:41
  Author: felixonmars
Revision: 825781

upgpkg: idris 1.3.3-155: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  idris/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:05:39 UTC (rev 825780)
+++ PKGBUILD2021-01-23 05:23:41 UTC (rev 825781)
@@ -3,7 +3,7 @@
 
 pkgname=idris
 pkgver=1.3.3
-pkgrel=154
+pkgrel=155
 pkgdesc="Functional Programming Language with Dependent Types"
 url="https://www.idris-lang.org/";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:05:39
  Author: felixonmars
Revision: 825780

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-cheapskate/repos/community-staging-x86_64/PKGBUILD (from rev 
825779, haskell-cheapskate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:05:39 UTC (rev 825780)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=cheapskate
+pkgname=haskell-cheapskate
+pkgver=0.1.1.2
+pkgrel=231
+pkgdesc="Experimental markdown processor."
+url="https://github.com/jgm/cheapskate";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-blaze-html" 
"haskell-data-default" "haskell-http-types"
+ "haskell-syb" "haskell-uniplate" "haskell-wai"
+ "haskell-wai-extra" "haskell-xss-sanitize")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b671ada413b8bd90f28b008c7bada4b744dedac2c7711090f1148dfa1643f7843f44e56c9a5a99fd0f71ded8393a0095b04fbdf73f70a707698dc9fb76ed1b45')
+
+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 \
+-fdingus
+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-cheapskate/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:05:30
  Author: felixonmars
Revision: 825779

upgpkg: haskell-cheapskate 0.1.1.2-231: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-cheapskate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:03:40 UTC (rev 825778)
+++ PKGBUILD2021-01-23 05:05:30 UTC (rev 825779)
@@ -4,7 +4,7 @@
 _hkgname=cheapskate
 pkgname=haskell-cheapskate
 pkgver=0.1.1.2
-pkgrel=230
+pkgrel=231
 pkgdesc="Experimental markdown processor."
 url="https://github.com/jgm/cheapskate";
 license=("BSD")


[arch-commits] Commit in haskell-wai-extra/repos/community-staging-x86_64 (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:03:40
  Author: felixonmars
Revision: 825778

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD
(from rev 825777, haskell-wai-extra/trunk/PKGBUILD)
Deleted:
  haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-23 05:03:30 UTC (rev 825777)
+++ PKGBUILD2021-01-23 05:03:40 UTC (rev 825778)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=wai-extra
-pkgname=haskell-wai-extra
-pkgver=3.1.6
-pkgrel=3
-pkgdesc="Provides some basic WAI handlers and middleware."
-url="https://github.com/yesodweb/wai";
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base64-bytestring'
- 'haskell-case-insensitive' 'haskell-cookie' 
'haskell-data-default-class'
- 'haskell-fast-logger' 'haskell-http-types' 'haskell-http2' 
'haskell-iproute'
- 'haskell-network' 'haskell-resourcet' 'haskell-streaming-commons'
- 'haskell-vault' 'haskell-wai' 'haskell-wai-logger' 'haskell-word8' 
'haskell-hunit'
- 'haskell-call-stack')
-makedepends=('ghc' 'haskell-hspec' 'haskell-zlib')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('9de9b919b7c62a4e73eabfed952770ce0735b8445cb3e5a4155195fb564ae3da7994b2cdcf297ccbc5b5cd4378200fb1f1fe69b736d8e95c2a7159813e0a4fd0')
-
-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 \
--f-build-example
-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
-}

Copied: haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD (from rev 
825777, haskell-wai-extra/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-01-23 05:03:40 UTC (rev 825778)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-extra
+pkgname=haskell-wai-extra
+pkgver=3.1.6
+pkgrel=4
+pkgdesc="Provides some basic WAI handlers and middleware."
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base64-bytestring'
+ 'haskell-case-insensitive' 'haskell-cookie' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-http-types' 'haskell-http2' 
'haskell-iproute'
+ 'haskell-network' 'haskell-resourcet' 'haskell-streaming-commons'
+ 'haskell-vault' 'haskell-wai' 'haskell-wai-logger' 'haskell-word8' 
'haskell-hunit'
+ 'haskell-call-stack')
+makedepends=('ghc' 'haskell-hspec' 'haskell-zlib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9de9b919b7c62a4e73eabfed952770ce0735b8445cb3e5a4155195fb564ae3da7994b2cdcf297ccbc5b5cd4378200fb1f1fe69b736d8e95c2a7159813e0a4fd0')
+
+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 \
+-f-build-example
+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/unre

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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:03:30
  Author: felixonmars
Revision: 825777

upgpkg: haskell-wai-extra 3.1.6-4: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-wai-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:02:20 UTC (rev 825776)
+++ PKGBUILD2021-01-23 05:03:30 UTC (rev 825777)
@@ -4,7 +4,7 @@
 _hkgname=wai-extra
 pkgname=haskell-wai-extra
 pkgver=3.1.6
-pkgrel=3
+pkgrel=4
 pkgdesc="Provides some basic WAI handlers and middleware."
 url="https://github.com/yesodweb/wai";
 license=("MIT")


[arch-commits] Commit in haskell-wai-logger/repos/community-staging-x86_64 (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:02:20
  Author: felixonmars
Revision: 825776

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD
(from rev 825775, haskell-wai-logger/trunk/PKGBUILD)
Deleted:
  haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-01-23 05:02:10 UTC (rev 825775)
+++ PKGBUILD2021-01-23 05:02:20 UTC (rev 825776)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=wai-logger
-pkgname=haskell-wai-logger
-pkgver=2.3.6
-pkgrel=217
-pkgdesc="A logging system for WAI"
-url="https://hackage.haskell.org/package/${_hkgname}";
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-byteorder' 'haskell-fast-logger'
- 'haskell-http-types' 'haskell-network' 'haskell-wai')
-makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
-checkdepends=('haskell-wai-extra')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('0c16120c342321cd686ab7cf9fa7df503a426b0c3d145c16e566013e0df44ef565d9890726d780c1fb73a49507f49bbf5fb886ff4bdccbd19a19b4c00626532e')
-
-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
-}

Copied: haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD (from rev 
825775, haskell-wai-logger/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-01-23 05:02:20 UTC (rev 825776)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-logger
+pkgname=haskell-wai-logger
+pkgver=2.3.6
+pkgrel=218
+pkgdesc="A logging system for WAI"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-byteorder' 'haskell-fast-logger'
+ 'haskell-http-types' 'haskell-network' 'haskell-wai')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
+checkdepends=('haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0c16120c342321cd686ab7cf9fa7df503a426b0c3d145c16e566013e0df44ef565d9890726d780c1fb73a49507f49bbf5fb886ff4bdccbd19a19b4c00626532e')
+
+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-wai-logger/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:02:10
  Author: felixonmars
Revision: 825775

upgpkg: haskell-wai-logger 2.3.6-218: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7

Modified:
  haskell-wai-logger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 05:01:10 UTC (rev 825774)
+++ PKGBUILD2021-01-23 05:02:10 UTC (rev 825775)
@@ -4,7 +4,7 @@
 _hkgname=wai-logger
 pkgname=haskell-wai-logger
 pkgver=2.3.6
-pkgrel=217
+pkgrel=218
 pkgdesc="A logging system for WAI"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:01:00
  Author: felixonmars
Revision: 825773

upgpkg: haskell-wai-extra 3.1.6-3: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-wai-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 04:58:44 UTC (rev 825772)
+++ PKGBUILD2021-01-23 05:01:00 UTC (rev 825773)
@@ -4,7 +4,7 @@
 _hkgname=wai-extra
 pkgname=haskell-wai-extra
 pkgver=3.1.6
-pkgrel=2
+pkgrel=3
 pkgdesc="Provides some basic WAI handlers and middleware."
 url="https://github.com/yesodweb/wai";
 license=("MIT")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 05:01:10
  Author: felixonmars
Revision: 825774

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai-extra/repos/community-staging-x86_64/PKGBUILD (from rev 
825773, haskell-wai-extra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 05:01:10 UTC (rev 825774)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-extra
+pkgname=haskell-wai-extra
+pkgver=3.1.6
+pkgrel=3
+pkgdesc="Provides some basic WAI handlers and middleware."
+url="https://github.com/yesodweb/wai";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-base64-bytestring'
+ 'haskell-case-insensitive' 'haskell-cookie' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-http-types' 'haskell-http2' 
'haskell-iproute'
+ 'haskell-network' 'haskell-resourcet' 'haskell-streaming-commons'
+ 'haskell-vault' 'haskell-wai' 'haskell-wai-logger' 'haskell-word8' 
'haskell-hunit'
+ 'haskell-call-stack')
+makedepends=('ghc' 'haskell-hspec' 'haskell-zlib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9de9b919b7c62a4e73eabfed952770ce0735b8445cb3e5a4155195fb564ae3da7994b2cdcf297ccbc5b5cd4378200fb1f1fe69b736d8e95c2a7159813e0a4fd0')
+
+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 \
+-f-build-example
+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-wai-logger/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 04:58:44
  Author: felixonmars
Revision: 825772

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wai-logger/repos/community-staging-x86_64/
  haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD
(from rev 825771, haskell-wai-logger/trunk/PKGBUILD)

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

Copied: haskell-wai-logger/repos/community-staging-x86_64/PKGBUILD (from rev 
825771, haskell-wai-logger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 04:58:44 UTC (rev 825772)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-logger
+pkgname=haskell-wai-logger
+pkgver=2.3.6
+pkgrel=217
+pkgdesc="A logging system for WAI"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-byteorder' 'haskell-fast-logger'
+ 'haskell-http-types' 'haskell-network' 'haskell-wai')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest')
+checkdepends=('haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0c16120c342321cd686ab7cf9fa7df503a426b0c3d145c16e566013e0df44ef565d9890726d780c1fb73a49507f49bbf5fb886ff4bdccbd19a19b4c00626532e')
+
+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-http2/repos (2 files)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 04:57:52
  Author: felixonmars
Revision: 825770

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http2/repos/community-staging-x86_64/PKGBUILD (from rev 825769, 
haskell-http2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-23 04:57:52 UTC (rev 825770)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http2
+pkgname=haskell-http2
+pkgver=2.0.5
+pkgrel=76
+pkgdesc="HTTP/2 library"
+url="https://github.com/kazu-yamamoto/http2";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-http-types' 
'haskell-network'
+ 'haskell-network-byte-order' 'haskell-psqueues' 
'haskell-time-manager')
+makedepends=('ghc' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-base16-bytestring'
+ 'haskell-doctest' 'haskell-glob' 'haskell-hspec' 
'haskell-unordered-containers'
+ 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";
+
http2-base16-bytestring-1.0.patch::https://github.com/kazu-yamamoto/http2/commit/e8f218ee42e575bb124613fdbd6b9aec8398cdf9.patch)
+sha512sums=('94a45aa97090db4a12eb64a0a1e8596049182d8011b6a1edb22c4841e7164fbd6c118770a638605f999296e71e796ec660c1701e7bc25d4c4a8d4c801b3b773e'
+
'f0a2b0ffe081760a5da874dca4fa9bff359f9e95f833f48d4195285c11069eca5aba453d7cb8b342557c00458ae18157c6e29160189473bb2671e53c2cd6bc37')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < http2-base16-bytestring-1.0.patch || :
+}
+
+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 \
+-f-devel
+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-wai-logger/trunk (PKGBUILD)

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 04:58:34
  Author: felixonmars
Revision: 825771

upgpkg: haskell-wai-logger 2.3.6-217: rebuild with hspec 2.7.7, hspec-core 
2.7.7, hspec-discover 2.7.7 (rebuild pass 1, specified --nocheck)

Modified:
  haskell-wai-logger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 04:57:52 UTC (rev 825770)
+++ PKGBUILD2021-01-23 04:58:34 UTC (rev 825771)
@@ -4,7 +4,7 @@
 _hkgname=wai-logger
 pkgname=haskell-wai-logger
 pkgver=2.3.6
-pkgrel=216
+pkgrel=217
 pkgdesc="A logging system for WAI"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=("BSD")


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

2021-01-22 Thread Felix Yan via arch-commits
Date: Saturday, January 23, 2021 @ 04:57:43
  Author: felixonmars
Revision: 825769

upgpkg: haskell-http2 2.0.5-76: rebuild with hspec 2.7.7, hspec-core 2.7.7, 
hspec-discover 2.7.7

Modified:
  haskell-http2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-01-23 04:55:55 UTC (rev 825768)
+++ PKGBUILD2021-01-23 04:57:43 UTC (rev 825769)
@@ -4,7 +4,7 @@
 _hkgname=http2
 pkgname=haskell-http2
 pkgver=2.0.5
-pkgrel=75
+pkgrel=76
 pkgdesc="HTTP/2 library"
 url="https://github.com/kazu-yamamoto/http2";
 license=("BSD")


  1   2   3   4   5   6   7   8   9   10   >