[arch-commits] Commit in abiword/repos/extra-x86_64 (16 files)

2021-07-04 Thread Antonio Rojas via arch-commits
Date: Monday, July 5, 2021 @ 06:59:06
  Author: arojas
Revision: 418941

archrelease: copy trunk to extra-x86_64

Added:
  abiword/repos/extra-x86_64/PKGBUILD
(from rev 418940, abiword/trunk/PKGBUILD)
  abiword/repos/extra-x86_64/abiword-3.0.0-librevenge.patch
(from rev 418940, abiword/trunk/abiword-3.0.0-librevenge.patch)
  abiword/repos/extra-x86_64/abiword-3.0.1-libwps-0.4.patch
(from rev 418940, abiword/trunk/abiword-3.0.1-libwps-0.4.patch)
  abiword/repos/extra-x86_64/aiksaurus-plugin.m4
(from rev 418940, abiword/trunk/aiksaurus-plugin.m4)
  abiword/repos/extra-x86_64/boost-asio.patch
(from rev 418940, abiword/trunk/boost-asio.patch)
  abiword/repos/extra-x86_64/command-plugin.m4
(from rev 418940, abiword/trunk/command-plugin.m4)
  abiword/repos/extra-x86_64/enchant-2.1.patch
(from rev 418940, abiword/trunk/enchant-2.1.patch)
  abiword/repos/extra-x86_64/python-override.patch
(from rev 418940, abiword/trunk/python-override.patch)
Deleted:
  abiword/repos/extra-x86_64/PKGBUILD
  abiword/repos/extra-x86_64/abiword-3.0.0-librevenge.patch
  abiword/repos/extra-x86_64/abiword-3.0.1-libwps-0.4.patch
  abiword/repos/extra-x86_64/aiksaurus-plugin.m4
  abiword/repos/extra-x86_64/boost-asio.patch
  abiword/repos/extra-x86_64/command-plugin.m4
  abiword/repos/extra-x86_64/enchant-2.1.patch
  abiword/repos/extra-x86_64/python-override.patch

+
 PKGBUILD   |  175 +-
 abiword-3.0.0-librevenge.patch | 2372 +++
 abiword-3.0.1-libwps-0.4.patch |   82 -
 aiksaurus-plugin.m4|   92 -
 boost-asio.patch   |  328 ++---
 command-plugin.m4  |   94 -
 enchant-2.1.patch  |   58 
 python-override.patch  |   62 -
 8 files changed, 1634 insertions(+), 1629 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-05 06:58:48 UTC (rev 418940)
+++ PKGBUILD2021-07-05 06:59:06 UTC (rev 418941)
@@ -1,85 +0,0 @@
-# Maintainer: Jan de Groot 
-# Contributor: Giovanni Scafora 
-# Contributor: Maël Lavault 
-
-pkgname=abiword
-pkgver=3.0.4
-pkgrel=4
-pkgdesc='Fully-featured word processor'
-arch=('x86_64')
-license=('GPL')
-url='https://www.abisource.com'
-depends=('fribidi' 'wv' 'goffice' 'librsvg' 'enchant' 'desktop-file-utils'
- 'redland' 'libical' 'gtk-update-icon-cache' 'loudmouth' 'libwpg' 
'libwps' 'libwmf' 'link-grammar' 
- 'gtkmathview' 'aiksaurus' 'libxslt' 'libsoup' 'libots' 'libgsf' 
'psiconv')
-makedepends=('pkgconfig' 'boost' 'gobject-introspection' 'libwpd' 'libwps' 
'python-gobject' 'autoconf-archive')
-conflicts=('abiword-plugins')
-replaces=('abiword-plugins')
-options=('!makeflags')
-source=(https://www.abisource.com/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz{,.asc}
-abiword-3.0.0-librevenge.patch
-   abiword-3.0.1-libwps-0.4.patch
-aiksaurus-plugin.m4
-command-plugin.m4
-python-override.patch
-enchant-2.1.patch
-# 
https://github.com/AbiWord/abiword/commit/de5dc5fd94a5fe321791d44e88d209a4972264ba
-boost-asio.patch)  
-sha256sums=('e93096cb192e5bc19d62e180fc5eda643206465315a710113ae5036bc2a1a5d7'
-'SKIP'
-'77b52a3722096cec3bfbe4fff3802f51b6c9e0ff7aaa30028c29825fd4e6a65f'
-'f1375b2ab7af2959717cba0259ba546c8e75ef849e84263bdc253019e849cb2a'
-'5f80a2f94f9929cdba9809c5e1a87cd5d537a2518bb879bfb9eab51a71c8dac1'
-'2f26826e9d59d80dacd0dae4aceb815804eaa75954e47507a0897794f33e45be'
-'dba1e3265cd42589f17b41fea1a39c8aa4b83c7203b9d5944b578d0ff9c858be'
-'444dc2aadea3c80310a509b690097541573f6d2652c573d04da66a0f385fcfb2'
-'3d119595c8080f90570ce09e02d6765a0cb84b16f4cc51ef8eee4ff289c19e77')
-validpgpkeys=('6C44DB3E0BF3EAF5B433239A5FEE05E6A56E15A3') # Hubert Figuiere 

-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # fix build with librevenge based import filters
-  patch -Np0 -i ../abiword-3.0.0-librevenge.patch
-
-  # Fix libwpd 0.4 detection
-  patch -Np1 -i ../abiword-3.0.1-libwps-0.4.patch
-
-  # Fix python override code to work with Python 3.x
-  patch -Np1 -i ../python-override.patch
-
-  # Replace deprecated enchant functions
-  patch -Np1 -i ../enchant-2.1.patch
-
-  # Install missing m4 file
-  install -m644 ../aiksaurus-plugin.m4 plugins/aiksaurus/plugin.m4
-  install -m644 ../command-plugin.m4 plugins/command/plugin.m4
-
-  # Generate m4 file for configure
-  find plugins -name plugin.m4 | xargs cat > plugin-configure.m4
-
-  # enchant-2 naming change
-  sed -i 's/enchant >=/enchant-2 >=/' configure.ac
-
-  libtoolize --force
-  autoreconf -fi
-}
-
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr \
---enable-shared \
---disable-static \
---enable-clipart \
---enable-templates \
---enable-plugins \
---enable-introspection
-  sed -i -e 's/ -shared / -Wl,-O1,--as-n

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

2021-07-04 Thread Antonio Rojas via arch-commits
Date: Monday, July 5, 2021 @ 06:58:48
  Author: arojas
Revision: 418940

Update to 3.0.5

Modified:
  abiword/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:24:10 UTC (rev 418939)
+++ PKGBUILD2021-07-05 06:58:48 UTC (rev 418940)
@@ -3,8 +3,8 @@
 # Contributor: Maël Lavault 
 
 pkgname=abiword
-pkgver=3.0.4
-pkgrel=4
+pkgver=3.0.5
+pkgrel=1
 pkgdesc='Fully-featured word processor'
 arch=('x86_64')
 license=('GPL')
@@ -26,7 +26,7 @@
 enchant-2.1.patch
 # 
https://github.com/AbiWord/abiword/commit/de5dc5fd94a5fe321791d44e88d209a4972264ba
 boost-asio.patch)  
-sha256sums=('e93096cb192e5bc19d62e180fc5eda643206465315a710113ae5036bc2a1a5d7'
+sha256sums=('1257247e9970508d6d1456d3e330cd1909c4b42b25e0f0a1bc32526d6f3a21b4'
 'SKIP'
 '77b52a3722096cec3bfbe4fff3802f51b6c9e0ff7aaa30028c29825fd4e6a65f'
 'f1375b2ab7af2959717cba0259ba546c8e75ef849e84263bdc253019e849cb2a'



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:38:14
  Author: felixonmars
Revision: 972302

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 972301, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/ghc9.patch
(from rev 972301, stack/trunk/ghc9.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 972301, stack/trunk/stack.install)

---+
 PKGBUILD  |   80 +++
 ghc9.patch|  233 
 stack.install |4 
 3 files changed, 317 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 972301, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:38:14 UTC (rev 972302)
@@ -0,0 +1,80 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.1
+pkgrel=10
+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-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' 'uusi' '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";
+ghc9.patch)
+sha512sums=('SKIP'
+
'55ad4c484e6858206d7728077ef94c5f299727b4433b51c027931f1e09371c04c454a785091bcb1a28bf7d8af5652e0fc326dd1141e4b60d6bd185834bfd89bd')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+}
+
+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 --show-details=direct
+  # 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 "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install -Dm644 stack_co

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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:37:59
  Author: felixonmars
Revision: 972301

upgpkg: stack 2.7.1-10: rebuild with persistent 2.13.0.3

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:33:43 UTC (rev 972300)
+++ PKGBUILD2021-07-05 06:37:59 UTC (rev 972301)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.1
-pkgrel=9
+pkgrel=10
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack";
 license=("BSD")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:33:43
  Author: felixonmars
Revision: 972300

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 972299, haskell-pantry/trunk/PKGBUILD)

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
972299, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:33:43 UTC (rev 972300)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.5.2.2
+pkgrel=11
+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-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' 'uusi' '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=('59e69dc418c0a1305c2612035933b024670f7961e254ad87a5870e78dd71e137b659ce3bfee129fba65500f8063125d909ad50b44df5d487f69c6581bebd94f7')
+
+prepare() {
+cd $_hkgname-$pkgver
+gen-setup
+uusi -d persistent-template $_hkgname.cabal
+sed -i 's/flip SQLite.withStorage_/flip (\\x y -> SQLite.withStorage_ x 
y)/' src/Pantry/Storage.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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:33:32
  Author: felixonmars
Revision: 972299

upgpkg: haskell-pantry 0.5.2.2-11: rebuild with persistent 2.13.0.3

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:27:28 UTC (rev 972298)
+++ PKGBUILD2021-07-05 06:33:32 UTC (rev 972299)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.5.2.2
-pkgrel=10
+pkgrel=11
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry";
 license=('BSD')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:27:28
  Author: felixonmars
Revision: 972298

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 972297, haskell-casa-client/trunk/PKGBUILD)

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

Copied: haskell-casa-client/repos/community-staging-x86_64/PKGBUILD (from rev 
972297, haskell-casa-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:27:28 UTC (rev 972298)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-client
+pkgname=haskell-casa-client
+pkgver=0.0.1
+pkgrel=290
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:27:18
  Author: felixonmars
Revision: 972297

upgpkg: haskell-casa-client 0.0.1-290: rebuild with persistent 2.13.0.3

Modified:
  haskell-casa-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:26:30 UTC (rev 972296)
+++ PKGBUILD2021-07-05 06:27:18 UTC (rev 972297)
@@ -3,7 +3,7 @@
 _hkgname=casa-client
 pkgname=haskell-casa-client
 pkgver=0.0.1
-pkgrel=289
+pkgrel=290
 pkgdesc="Content Addressable Storage Archive client"
 url="https://github.com/fpco/casa";
 license=('MIT')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:26:30
  Author: felixonmars
Revision: 972296

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-casa-types/repos/community-staging-x86_64/PKGBUILD (from rev 
972295, haskell-casa-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:26:30 UTC (rev 972296)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=casa-types
+pkgname=haskell-casa-types
+pkgver=0.0.2
+pkgrel=109
+pkgdesc="Content Addressable Storage Archive types"
+url="https://github.com/fpco/casa";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-hashable' 'haskell-path-pieces' 'haskell-persistent')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a54bb7f15310878e0a4c0524749ba8c8de8537a60892d278941cacefb80ad9d31e9ba16dd236c196b6639758f281f9ae66911d04c39b0ec6e2b75db5127ad5bf')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:26:20
  Author: felixonmars
Revision: 972295

upgpkg: haskell-casa-types 0.0.2-109: rebuild with persistent 2.13.0.3

Modified:
  haskell-casa-types/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:25:35 UTC (rev 972294)
+++ PKGBUILD2021-07-05 06:26:20 UTC (rev 972295)
@@ -3,7 +3,7 @@
 _hkgname=casa-types
 pkgname=haskell-casa-types
 pkgver=0.0.2
-pkgrel=108
+pkgrel=109
 pkgdesc="Content Addressable Storage Archive types"
 url="https://github.com/fpco/casa";
 license=('MIT')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:25:35
  Author: felixonmars
Revision: 972294

archrelease: copy trunk to community-staging-x86_64

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

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

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



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:25:25
  Author: felixonmars
Revision: 972293

upgpkg: git-annex 8.20210428-40: rebuild with persistent 2.13.0.3

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:20:36 UTC (rev 972292)
+++ PKGBUILD2021-07-05 06:25:25 UTC (rev 972293)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210428
-pkgrel=39
+pkgrel=40
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/";
 license=("AGPL3")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:20:36
  Author: felixonmars
Revision: 972292

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 972291, tamarin-prover/trunk/PKGBUILD)
  tamarin-prover/repos/community-staging-x86_64/maude-3.1.patch
(from rev 972291, tamarin-prover/trunk/maude-3.1.patch)

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
972291, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:20:36 UTC (rev 972292)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.6.0
+pkgrel=230
+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-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
+
remove-monad-unlift.patch::https://github.com/tamarin-prover/tamarin-prover/pull/421.patch)
+sha512sums=('7f3569f740d63d715b92a8f073eaecb8b32efe59b910b246977d36bb9e873765440e72feb6e76c7cbafab0495b88cfc666bb1dd12f685627c60d5cbd97b2973e'
+
'1ef5e4c370a0c5f5541d50600604ba7adc566c2f5cf415cdb844842bb10b343edd00aa5aa654f8e55355c80f48a34382c87c3fba4adca0c77e726f407f3815c3'
+
'45121081ea373df5d5c1be5abc52850100343b2874e07b7fa68addb411477ee43fdbc5e9147b8bb2be118d0765a3fb9c5a7f53a902a44140cc13976cc2257e30')
+
+prepare() {
+cd $pkgname-$pkgver
+patch -p1 -i ../maude-3.1.patch
+patch -p1 -i ../remove-monad-unlift.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 
972291, 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-07-05 06:20:36 UTC (rev 
972292)
@@ -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.
+ p

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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:20:24
  Author: felixonmars
Revision: 972291

upgpkg: tamarin-prover 1.6.0-230: rebuild with persistent 2.13.0.3

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:18:30 UTC (rev 972290)
+++ PKGBUILD2021-07-05 06:20:24 UTC (rev 972291)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.0
-pkgrel=229
+pkgrel=230
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io";
 license=("GPL")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:18:30
  Author: felixonmars
Revision: 972290

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 972289, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:18:30 UTC (rev 972290)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.21
+pkgrel=69
+pkgdesc="Web-based user interface for the hledger accounting system"
+url="http://hledger.org";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'hledger' 'haskell-hledger-lib' 'haskell-aeson' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-case-insensitive' 
'haskell-clientsession'
+ 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-data-default'
+ 'haskell-decimal' 'haskell-extra' 'haskell-hjsmin' 'haskell-hspec' 
'haskell-http-conduit'
+ 'haskell-http-client' 'haskell-http-types' 'haskell-megaparsec' 
'haskell-network'
+ 'haskell-shakespeare' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-utf8-string' 'haskell-wai' 'haskell-wai-cors' 
'haskell-wai-extra'
+ 'haskell-wai-handler-launch' 'haskell-warp' 'haskell-yesod' 
'haskell-yesod-core'
+ 'haskell-yesod-form' 'haskell-yesod-static' 'haskell-yesod-test')
+makedepends=('ghc' 'uusi')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('69080f22c9f8af8a3130b42f26cb3a676dde5df93a87beb7dd2f45e789d0243cd57627d68e75c7be40c838c29abfe8b606c23f432dd7469e214f97ae2bdbaf9c')
+
+prepare() {
+cd $pkgname-$pkgver
+uusi -u base -u yesod-form $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" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-dev -f-library-only -fthreaded
+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 --show-details=direct
+}
+
+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-web.1 -t "$pkgdir"/usr/share/man/man1/
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:18:20
  Author: felixonmars
Revision: 972289

upgpkg: hledger-web 1.21-69: rebuild with persistent 2.13.0.3

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:16:44 UTC (rev 972288)
+++ PKGBUILD2021-07-05 06:18:20 UTC (rev 972289)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.21
-pkgrel=68
+pkgrel=69
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org";
 license=("GPL")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:16:44
  Author: felixonmars
Revision: 972288

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 972287, haskell-yesod-static/trunk/PKGBUILD)

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
972287, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:16:44 UTC (rev 972288)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.1.0
+pkgrel=271
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:16:33
  Author: felixonmars
Revision: 972287

upgpkg: haskell-yesod-static 1.6.1.0-271: rebuild with persistent 2.13.0.3

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:15:20 UTC (rev 972286)
+++ PKGBUILD2021-07-05 06:16:33 UTC (rev 972287)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=270
+pkgrel=271
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:15:20
  Author: felixonmars
Revision: 972286

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 972285, haskell-yesod-test/trunk/PKGBUILD)

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
972285, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:15:20 UTC (rev 972286)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.12
+pkgrel=148
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:15:10
  Author: felixonmars
Revision: 972285

upgpkg: haskell-yesod-test 1.6.12-148: rebuild with persistent 2.13.0.3

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:13:58 UTC (rev 972284)
+++ PKGBUILD2021-07-05 06:15:10 UTC (rev 972285)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.12
-pkgrel=147
+pkgrel=148
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com";
 license=('MIT')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:13:58
  Author: felixonmars
Revision: 972284

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 972283, haskell-yesod/trunk/PKGBUILD)

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 972283, 
haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:13:58 UTC (rev 972284)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.1.2
+pkgrel=5
+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=('a062f74502c5d88784a20f3bbe4c5799475043f3d17fea28b8199e9e4a3f9cc044e7b21a97bdb0c7e9e91c6e76aec4350a2cddc6306afb7c2f78f347ebf4f249')
+
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:13:48
  Author: felixonmars
Revision: 972283

upgpkg: haskell-yesod 1.6.1.2-5: rebuild with persistent 2.13.0.3

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:12:51 UTC (rev 972282)
+++ PKGBUILD2021-07-05 06:13:48 UTC (rev 972283)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.1.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:12:51
  Author: felixonmars
Revision: 972282

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 972281, haskell-yesod-form/trunk/PKGBUILD)

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
972281, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:12:51 UTC (rev 972282)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.7.0
+pkgrel=40
+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=('dc5373c62e78d79e570171c608fa2e9cfb2092a859b81a881ab69a406c357cc9eeff0ff04d0c08f8cc29cf66ef488ce6b96195d26b9c6dff879a1fea96eff013')
+
+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-form/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:12:41
  Author: felixonmars
Revision: 972281

upgpkg: haskell-yesod-form 1.7.0-40: rebuild with persistent 2.13.0.3

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:11:30 UTC (rev 972280)
+++ PKGBUILD2021-07-05 06:12:41 UTC (rev 972281)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.7.0
-pkgrel=39
+pkgrel=40
 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-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:11:30
  Author: felixonmars
Revision: 972280

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 972279, haskell-yesod-persistent/trunk/PKGBUILD)

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 972279, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:11:30 UTC (rev 972280)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.7
+pkgrel=28
+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-resource-pool" "haskell-resourcet" "haskell-yesod-core")
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9312189947a6ba97bec12c057535a54bb024847ee0f08ba50473a78327f7ca25083738f0742c0847d0b329ef0e764412c85ac32aab4ebde2851a29e60e82d337')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d persistent-template $_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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:11:18
  Author: felixonmars
Revision: 972279

upgpkg: haskell-yesod-persistent 1.6.0.7-28: rebuild with persistent 2.13.0.3

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:09:54 UTC (rev 972278)
+++ PKGBUILD2021-07-05 06:11:18 UTC (rev 972279)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.7
-pkgrel=27
+pkgrel=28
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/";
 license=("MIT")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:09:54
  Author: felixonmars
Revision: 972278

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-mysql/repos/community-staging-x86_64/PKGBUILD (from 
rev 972277, haskell-persistent-mysql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:09:54 UTC (rev 972278)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-mysql
+pkgname=haskell-persistent-mysql
+pkgver=2.13.0.1
+pkgrel=12
+pkgdesc="Backend for the persistent library using MySQL database server."
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-builder' 'haskell-conduit' 
'haskell-monad-logger'
+ 'haskell-mysql' 'haskell-mysql-simple' 'haskell-persistent' 
'haskell-resource-pool'
+ 'haskell-resourcet' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances')
+#checkdepends=('percona-server' 'percona-server-clients')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('e726a54704b5eedd3f3c9ccb20516501a9f42c787d3e5e7998e900637f26f0abf7f5bd82900ad66d99091abe9112d0c697460dc536c7b07d24f2476a0e0552b4')
+
+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
+  mkdir -p /tmp/mysql_test
+  # TODO: Try to make percona work?
+  #mysqld --no-defaults --initialize-insecure --datadir=/tmp/mysql_test 
+  #mysqld --no-defaults --datadir=/tmp/mysql_test 
--secure-file-priv=/tmp/mysql_test --socket=/tmp/socket.mysql 
--bind-address=127.0.0.1 --skip-grant-tables &
+  
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS persistent;"
+
+  # Compatibility issue with mariadb: 
https://github.com/yesodweb/persistent/issues/1158
+  TRAVIS=true runhaskell Setup test --show-details=direct || echo "Tests 
failed"
+
+  kill $MYSQL_PID
+}
+
+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-persistent-mysql/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:09:44
  Author: felixonmars
Revision: 972277

upgpkg: haskell-persistent-mysql 2.13.0.1-12: rebuild with persistent 2.13.0.3

Modified:
  haskell-persistent-mysql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:08:21 UTC (rev 972276)
+++ PKGBUILD2021-07-05 06:09:44 UTC (rev 972277)
@@ -3,7 +3,7 @@
 _hkgname=persistent-mysql
 pkgname=haskell-persistent-mysql
 pkgver=2.13.0.1
-pkgrel=11
+pkgrel=12
 pkgdesc="Backend for the persistent library using MySQL database server."
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:08:21
  Author: felixonmars
Revision: 972276

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-postgresql/repos/community-staging-x86_64/PKGBUILD 
(from rev 972275, haskell-persistent-postgresql/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:08:21 UTC (rev 972276)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-postgresql
+pkgname=haskell-persistent-postgresql
+pkgver=2.13.0.3
+pkgrel=2
+pkgdesc="Backend for the persistent library using postgresql."
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-postgresql-libpq'
+ 'haskell-postgresql-simple' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-string-conversions' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-fast-logger' 
'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-hspec-expectations-lifted'
+ 'haskell-http-api-data' 'haskell-path-pieces' 
'haskell-persistent-qq'
+ 'haskell-persistent-test' 'haskell-quickcheck-instances' 
'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-vector')
+checkdepends=('pifpaf' 'postgresql')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('9378b05b24fcf491d1afc2c9fd83592c83a4a239cc746a88a08330eed29b1e99ea1c32335c7dd9fe4b23417edc5958ff9c51006475f2c0dd0b24cea3ef2f8ecf')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  # pifpaf's default port
+  sed -i 's/port=5432/port=9824/' test/PgInit.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  eval $(pifpaf run postgresql --host 127.0.0.1)
+  createuser -s postgres
+  createdb test
+  # https://github.com/yesodweb/persistent/issues/1278
+  runhaskell Setup test --show-details=direct || echo "Tests failed"
+  pifpaf_stop
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:08:11
  Author: felixonmars
Revision: 972275

upgpkg: haskell-persistent-postgresql 2.13.0.3-2: rebuild with persistent 
2.13.0.3

Modified:
  haskell-persistent-postgresql/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:06:25 UTC (rev 972274)
+++ PKGBUILD2021-07-05 06:08:11 UTC (rev 972275)
@@ -3,7 +3,7 @@
 _hkgname=persistent-postgresql
 pkgname=haskell-persistent-postgresql
 pkgver=2.13.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Backend for the persistent library using postgresql."
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:06:25
  Author: felixonmars
Revision: 972274

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
972273, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:06:25 UTC (rev 972274)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.12.0.1
+pkgrel=12
+pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
+url="https://github.com/yesod-web/persistent";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta' 'haskell-persistent')
+makedepends=('ghc' 'haskell-aeson' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-monad-logger' 'haskell-persistent-sqlite' 
'haskell-resourcet'
+ 'haskell-unliftio')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('14a06fd7b2b773a80f0963658bdc74f17755579ddee45f7875208ad4046d7cdee096cbf2fdba41b34baa43bc6fecb901cfdbd65c12845a9381844bf14afd6df6')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:06:15
  Author: felixonmars
Revision: 972273

upgpkg: haskell-persistent-qq 2.12.0.1-12: rebuild with persistent 2.13.0.3

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:04:50 UTC (rev 972272)
+++ PKGBUILD2021-07-05 06:06:15 UTC (rev 972273)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.12.0.1
-pkgrel=11
+pkgrel=12
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent";
 license=('MIT')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:04:50
  Author: felixonmars
Revision: 972272

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 972271, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:04:50 UTC (rev 972272)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.13.0.3
+pkgrel=10
+pkgdesc="Backend for the persistent library using sqlite3"
+url="https://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 
'haskell-microlens-th'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-unliftio-core' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-fast-logger' 'haskell-hspec' 'haskell-hunit' 
'haskell-microlens'
+ 'haskell-persistent-test' 'haskell-quickcheck' 
'haskell-system-fileio'
+ 'haskell-system-filepath' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('d47b4e38929272df432f61e027767caa369875450509d2c7b7a0f266c663f0493dd3b493543523b49a49c3a7c24b4c65970870d365c73857c63cbece85af8ac5')
+
+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-sanity-exe -fsystemlib -fuse-pkgconfig
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:04:40
  Author: felixonmars
Revision: 972271

upgpkg: haskell-persistent-sqlite 2.13.0.3-10: rebuild with persistent 2.13.0.3

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:03:08 UTC (rev 972270)
+++ PKGBUILD2021-07-05 06:04:40 UTC (rev 972271)
@@ -4,7 +4,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.13.0.3
-pkgrel=9
+pkgrel=10
 pkgdesc="Backend for the persistent library using sqlite3"
 url="https://www.yesodweb.com/book/persistent";
 license=("MIT")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:03:08
  Author: felixonmars
Revision: 972270

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-test/repos/community-staging-x86_64/PKGBUILD (from 
rev 972269, haskell-persistent-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:03:08 UTC (rev 972270)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-test
+pkgname=haskell-persistent-test
+pkgver=2.13.0.3
+pkgrel=9
+pkgdesc="Tests for Persistent"
+url="https://github.com/yesodweb/persistent";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-persistent' 'haskell-aeson' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-hspec' 'haskell-hspec-expectations' 'haskell-hunit' 
'haskell-monad-control'
+ 'haskell-monad-logger' 'haskell-path-pieces' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-random' 'haskell-resourcet'
+ 'haskell-transformers-base' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-hspec' 'haskell-http-api-data' 
'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('794c7f22a7d44b7fa0c2d05d936ce68c6e13927abc909bfe3784228e9750103576417e6b8400bb8ea34002a17e59a4a5dd73626035a4dc81b02a1d9059c2')
+
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:02:58
  Author: felixonmars
Revision: 972269

upgpkg: haskell-persistent-test 2.13.0.3-9: rebuild with persistent 2.13.0.3

Modified:
  haskell-persistent-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 06:01:00 UTC (rev 972268)
+++ PKGBUILD2021-07-05 06:02:58 UTC (rev 972269)
@@ -3,7 +3,7 @@
 _hkgname=persistent-test
 pkgname=haskell-persistent-test
 pkgver=2.13.0.3
-pkgrel=8
+pkgrel=9
 pkgdesc="Tests for Persistent"
 url="https://github.com/yesodweb/persistent";
 license=('MIT')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:01:00
  Author: felixonmars
Revision: 972268

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 
972267, haskell-esqueleto/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 06:01:00 UTC (rev 972268)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=3.5.0.0
+pkgrel=8
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/bitemyapp/esqueleto";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-blaze-html' 
'haskell-conduit'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-unliftio' 'haskell-unordered-containers')
+makedepends=('ghc')  # 'haskell-vector')  # Not enabled yet
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9a5702a7bc80cc8d76d521faf66096e75603d9d4faa86e134e7e972e253fb88b5f1908a07456c8eb6b0b9247d34633b03a3a4e1f6ef3f090582c76b7f07ad310')
+
+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 \
+-f-mysql -f-postgresql
+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-esqueleto/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 06:00:49
  Author: felixonmars
Revision: 972267

upgpkg: haskell-esqueleto 3.5.0.0-8: rebuild with persistent 2.13.0.3

Modified:
  haskell-esqueleto/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:59:30 UTC (rev 972266)
+++ PKGBUILD2021-07-05 06:00:49 UTC (rev 972267)
@@ -4,7 +4,7 @@
 _hkgname=esqueleto
 pkgname=haskell-esqueleto
 pkgver=3.5.0.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
 url="https://github.com/bitemyapp/esqueleto";
 license=("BSD")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:59:30
  Author: felixonmars
Revision: 972266

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent/repos/community-staging-x86_64/PKGBUILD (from rev 
972265, haskell-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:59:30 UTC (rev 972266)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent
+pkgname=haskell-persistent
+pkgver=2.13.0.3
+pkgrel=1
+pkgdesc="Type-safe, multi-backend data serialization"
+url="http://www.yesodweb.com/book/persistent";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-conduit' 'haskell-fast-logger' 
'haskell-http-api-data'
+ 'haskell-lift-type' 'haskell-monad-logger' 'haskell-path-pieces' 
'haskell-resource-pool'
+ 'haskell-resourcet' 'haskell-scientific' 'haskell-silently' 
'haskell-th-lift-instances'
+ 'haskell-unordered-containers' 'haskell-unliftio' 
'haskell-unliftio-core'
+ 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-shakespeare')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('70a642d509d02f908d7665b16937a1658700a00618a6b6028354a7208edfeb1ad4a1e9df7c3ddd64e91871e617447495b7417064a4ec615ecba80bbcd73df15e')
+
+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-nooverlap
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:59:18
  Author: felixonmars
Revision: 972265

upgpkg: haskell-persistent 2.13.0.3-1: rebuild with persistent 2.13.0.3

Modified:
  haskell-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:55:58 UTC (rev 972264)
+++ PKGBUILD2021-07-05 05:59:18 UTC (rev 972265)
@@ -3,8 +3,8 @@
 
 _hkgname=persistent
 pkgname=haskell-persistent
-pkgver=2.13.0.2
-pkgrel=9
+pkgver=2.13.0.3
+pkgrel=1
 pkgdesc="Type-safe, multi-backend data serialization"
 url="http://www.yesodweb.com/book/persistent";
 license=("MIT")
@@ -18,7 +18,7 @@
 makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
  'haskell-shakespeare')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('10290d73377cad62ae74452c2557b2a487edaddeb61498b43358323065b01325502afdf07dc94f85233b25ddb5616001866518accbbb8cb9b92d9f905c7967c1')
+sha512sums=('70a642d509d02f908d7665b16937a1658700a00618a6b6028354a7208edfeb1ad4a1e9df7c3ddd64e91871e617447495b7417064a4ec615ecba80bbcd73df15e')
 
 build() {
 cd $_hkgname-$pkgver



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:26:27
  Author: felixonmars
Revision: 972251

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-language-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 972250, haskell-language-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:26:27 UTC (rev 972251)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+
+pkgname=haskell-language-server
+pkgver=1.2.0.0
+pkgrel=11
+pkgdesc="LSP server for GHC"
+url="https://github.com/haskell/haskell-language-server#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-async'
+ 'haskell-base16-bytestring' 'haskell-cryptohash-sha1' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghc-paths' 'haskell-gitrev'
+ 'haskell-hashable' 'haskell-hie-bios' 'haskell-hiedb' 
'haskell-hls-brittany-plugin'
+ 'haskell-hls-explicit-imports-plugin'
+ 'haskell-hls-floskell-plugin' 'haskell-hls-graph'
+ 'haskell-hls-haddock-comments-plugin' 'haskell-hls-hlint-plugin'
+ 'haskell-hls-module-name-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-plugin-api'
+ 'haskell-hls-pragmas-plugin'
+ 'haskell-hls-retrie-plugin' 'haskell-hslogger'
+ 'haskell-lens' 'haskell-lsp' 'haskell-optparse-applicative' 
'haskell-optparse-simple'
+ 'haskell-regex-tdfa' 'haskell-safe-exceptions' 
'haskell-sqlite-simple' 'haskell-temporary'
+ 'haskell-unordered-containers')
+# Disabled due to not compatible with GHC 9:
+# 'haskell-hls-brittany-plugin' 'haskell-hls-class-plugin' 
'haskell-hls-eval-plugin'
+# 'haskell-hls-fourmolu-plugin' 'haskell-hls-ormolu-plugin' 
'haskell-hls-refine-imports-plugin'
+# 'haskell-hls-splice-plugin' 'haskell-hls-stylish-haskell-plugin' 
'haskell-hls-tactics-plugin'
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 
'haskell-hspec-expectations' 'haskell-lsp-test'
+ 'haskell-lsp-types')
+checkdepends=('cabal-install')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('c8ca57796be15796e7334e20ef3a983b4a77335d41084add87d102746e893fc80c43ee6c761d04d52afad846d4744007a0aec8d70a7e12e4576f847a684726ab')
+
+prepare() {
+  cd $pkgname-$pkgver
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+}
+
+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' -f-brittany -f-class -f-eval -f-fourmolu -f-ormolu 
-f-refineImports -f-splice -f-stylishHaskell -f-tactic
+
+  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
+  
PATH="$PWD/dist/build/haskell-language-server:$PWD/dist/build/haskell-language-server-wrapper:$PATH"
 LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:26:17
  Author: felixonmars
Revision: 972250

upgpkg: haskell-language-server 1.2.0.0-11: rebuild with shake 0.19.5

Modified:
  haskell-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:23:21 UTC (rev 972249)
+++ PKGBUILD2021-07-05 05:26:17 UTC (rev 972250)
@@ -2,7 +2,7 @@
 
 pkgname=haskell-language-server
 pkgver=1.2.0.0
-pkgrel=10
+pkgrel=11
 pkgdesc="LSP server for GHC"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:23:21
  Author: felixonmars
Revision: 972249

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-pragmas-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 972248, haskell-hls-pragmas-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:23:21 UTC (rev 972249)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-pragmas-plugin
+pkgname=haskell-hls-pragmas-plugin
+pkgver=1.0.0.0
+pkgrel=10
+pkgdesc="Pragmas plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-pragmas-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-fuzzy' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lens' 'haskell-lsp' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils' 'haskell-lsp-test' 
'haskell-lsp-types')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('faffabfb7da5b88dc777185cfe879779e5391b14d4e4f7196cda303a5b4978fe')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-pragmas-plugin/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:23:11
  Author: felixonmars
Revision: 972248

upgpkg: haskell-hls-pragmas-plugin 1.0.0.0-10: rebuild with shake 0.19.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:21:27 UTC (rev 972247)
+++ PKGBUILD2021-07-05 05:23:11 UTC (rev 972248)
@@ -3,7 +3,7 @@
 _hkgname=hls-pragmas-plugin
 pkgname=haskell-hls-pragmas-plugin
 pkgver=1.0.0.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Pragmas plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-pragmas-plugin";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:21:27
  Author: felixonmars
Revision: 972247

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-haddock-comments-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 972246, haskell-hls-haddock-comments-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:21:27 UTC (rev 972247)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-haddock-comments-plugin
+pkgname=haskell-hls-haddock-comments-plugin
+pkgver=1.0.0.2
+pkgrel=10
+pkgdesc="Haddock comments plugin for Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc' 'haskell-ghc-exactprint' 'haskell-ghcide' 
'haskell-hls-plugin-api'
+ 'haskell-lsp-types' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('f50c9fc595e8cebcff38d4fb7c3f6f8df59d0df5e8924718812c3ee38da38db5d25ab082e1347d8fdd6a01a779e2c03e029fb6b74bcfd6ebeb55ac1a21642fb6')
+
+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
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-haddock-comments-plugin/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:21:16
  Author: felixonmars
Revision: 972246

upgpkg: haskell-hls-haddock-comments-plugin 1.0.0.2-10: rebuild with shake 
0.19.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:20:11 UTC (rev 972245)
+++ PKGBUILD2021-07-05 05:21:16 UTC (rev 972246)
@@ -3,7 +3,7 @@
 _hkgname=hls-haddock-comments-plugin
 pkgname=haskell-hls-haddock-comments-plugin
 pkgver=1.0.0.2
-pkgrel=9
+pkgrel=10
 pkgdesc="Haddock comments plugin for Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:20:11
  Author: felixonmars
Revision: 972245

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/
  haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 972244, haskell-hls-module-name-plugin/trunk/PKGBUILD)

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

Copied: haskell-hls-module-name-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 972244, haskell-hls-module-name-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:20:11 UTC (rev 972245)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-module-name-plugin
+pkgname=haskell-hls-module-name-plugin
+pkgver=1.0.0.0
+pkgrel=10
+pkgdesc="Module name plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-module-name-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghcide' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('abcf1d52aa552b97e459c0e8c70af03f8428e292c253dcd14eea753283fd81a8')
+
+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
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-module-name-plugin/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:20:01
  Author: felixonmars
Revision: 972244

upgpkg: haskell-hls-module-name-plugin 1.0.0.0-10: rebuild with shake 0.19.5

Modified:
  haskell-hls-module-name-plugin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:18:56 UTC (rev 972243)
+++ PKGBUILD2021-07-05 05:20:01 UTC (rev 972244)
@@ -3,7 +3,7 @@
 _hkgname=hls-module-name-plugin
 pkgname=haskell-hls-module-name-plugin
 pkgver=1.0.0.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Module name plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-module-name-plugin";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:18:56
  Author: felixonmars
Revision: 972243

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-floskell-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 972242, haskell-hls-floskell-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:18:56 UTC (rev 972243)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-floskell-plugin
+pkgname=haskell-hls-floskell-plugin
+pkgver=1.0.0.0
+pkgrel=10
+pkgdesc="Integration with the Floskell code formatter"
+url="https://hackage.haskell.org/package/hls-floskell-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-floskell' 'haskell-ghcide' 
'haskell-hls-plugin-api' 'haskell-lsp-types')
+makedepends=('ghc' 'uusi' 'haskell-hls-test-utils')
+checkdepends=('git')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c873a0d71001cba5391435a7fdc8ce69dbf27070cfc887b1f51b76a20622c471')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u ghcide $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-floskell-plugin/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:18:45
  Author: felixonmars
Revision: 972242

upgpkg: haskell-hls-floskell-plugin 1.0.0.0-10: rebuild with shake 0.19.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:17:40 UTC (rev 972241)
+++ PKGBUILD2021-07-05 05:18:45 UTC (rev 972242)
@@ -3,7 +3,7 @@
 _hkgname=hls-floskell-plugin
 pkgname=haskell-hls-floskell-plugin
 pkgver=1.0.0.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Integration with the Floskell code formatter"
 url="https://hackage.haskell.org/package/hls-floskell-plugin";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:17:40
  Author: felixonmars
Revision: 972241

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-test-utils/repos/community-staging-x86_64/
  haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD
(from rev 972240, haskell-hls-test-utils/trunk/PKGBUILD)

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

Copied: haskell-hls-test-utils/repos/community-staging-x86_64/PKGBUILD (from 
rev 972240, haskell-hls-test-utils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:17:40 UTC (rev 972241)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-test-utils
+pkgname=haskell-hls-test-utils
+pkgver=1.0.1.0
+pkgrel=10
+pkgdesc="Utilities used in the tests of Haskell Language Server"
+url="https://github.com/haskell/haskell-language-server#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-async' 'haskell-blaze-markup' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghcide' 'haskell-hls-graph' 
'haskell-hls-plugin-api'
+ 'haskell-hspec' 'haskell-hspec-core' 'haskell-lens' 'haskell-lsp' 
'haskell-lsp-test'
+ 'haskell-lsp-types' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-golden'
+ 'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-temporary'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('ba5c13ce3fe5dc502d25221456e832d3ee521c112a9f1a3e066d10205e4b553b2de21c476ad0f4f051041ed421d03499abde14a7ff1bed29cf94bc3b29a40c19')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u hspec $_hkgname.cabal
+  # https://github.com/haskell/haskell-language-server/issues/1835
+  sed -i '/configOutputFile/d' src/Test/Hls/Util.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:17:28
  Author: felixonmars
Revision: 972240

upgpkg: haskell-hls-test-utils 1.0.1.0-10: rebuild with shake 0.19.5

Modified:
  haskell-hls-test-utils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:16:24 UTC (rev 972239)
+++ PKGBUILD2021-07-05 05:17:28 UTC (rev 972240)
@@ -3,7 +3,7 @@
 _hkgname=hls-test-utils
 pkgname=haskell-hls-test-utils
 pkgver=1.0.1.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Utilities used in the tests of Haskell Language Server"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:16:24
  Author: felixonmars
Revision: 972239

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-hlint-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 972238, haskell-hls-hlint-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:16:24 UTC (rev 972239)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-hlint-plugin
+pkgname=haskell-hls-hlint-plugin
+pkgver=1.0.1.0
+pkgrel=10
+pkgdesc="Hlint integration plugin with Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-hlint-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-apply-refact' 
'haskell-data-default'
+ 'haskell-extra' 'haskell-ghc' 'haskell-ghc-exactprint' 
'haskell-ghcide' 'haskell-hashable'
+ 'hlint' 'haskell-hls-plugin-api' 'haskell-hslogger' 'haskell-lens' 
'haskell-lsp'
+ 'haskell-regex-tdfa' 'haskell-temporary' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('a76d166f8215fcaaf6b8d597f21ceafa64b34435b3aff6717db939f905c864efc3c441a9bc3f590677d76009d46e7783b72150c220c8f47ec2f56f57e23d6776')
+
+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' -fhlint33
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-hlint-plugin/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:16:13
  Author: felixonmars
Revision: 972238

upgpkg: haskell-hls-hlint-plugin 1.0.1.0-10: rebuild with shake 0.19.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:15:08 UTC (rev 972237)
+++ PKGBUILD2021-07-05 05:16:13 UTC (rev 972238)
@@ -3,7 +3,7 @@
 _hkgname=hls-hlint-plugin
 pkgname=haskell-hls-hlint-plugin
 pkgver=1.0.1.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Hlint integration plugin with Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-hlint-plugin";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:15:08
  Author: felixonmars
Revision: 972237

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-hls-explicit-imports-plugin/repos/community-staging-x86_64/PKGBUILD 
(from rev 972236, haskell-hls-explicit-imports-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:15:08 UTC (rev 972237)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-explicit-imports-plugin
+pkgname=haskell-hls-explicit-imports-plugin
+pkgver=1.0.0.3
+pkgrel=10
+pkgdesc="Explicit imports plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-explicit-imports-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ghc' 'haskell-ghc-api-compat' 
'haskell-ghcide'
+ 'haskell-hls-graph' 'haskell-hls-plugin-api' 'haskell-lsp' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('9ee3ef0e88179ec03f64e2f23ba21c00ed02dd2b64c097de926c9502d2b4b77fb3c5e17c1ebe7f3e7e4a8db2a38a888de6ddb523b247f2883c9750452c603358')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-explicit-imports-plugin/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:14:58
  Author: felixonmars
Revision: 972236

upgpkg: haskell-hls-explicit-imports-plugin 1.0.0.3-10: rebuild with shake 
0.19.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:13:59 UTC (rev 972235)
+++ PKGBUILD2021-07-05 05:14:58 UTC (rev 972236)
@@ -3,7 +3,7 @@
 _hkgname=hls-explicit-imports-plugin
 pkgname=haskell-hls-explicit-imports-plugin
 pkgver=1.0.0.3
-pkgrel=9
+pkgrel=10
 pkgdesc="Explicit imports plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-explicit-imports-plugin";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:13:59
  Author: felixonmars
Revision: 972235

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-retrie-plugin/repos/community-staging-x86_64/PKGBUILD (from 
rev 972234, haskell-hls-retrie-plugin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 05:13:59 UTC (rev 972235)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-retrie-plugin
+pkgname=haskell-hls-retrie-plugin
+pkgver=1.0.1.0
+pkgrel=10
+pkgdesc="Retrie integration plugin for Haskell Language Server"
+url="https://hackage.haskell.org/package/hls-retrie-plugin";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-extra' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-ghcide' 'haskell-hashable' 'haskell-hls-plugin-api' 
'haskell-lsp'
+ 'haskell-lsp-types' 'haskell-retrie' 'haskell-safe-exceptions'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('42b17ab6aaca200f5eba741d276d68810a7568e6f41b85735ec9739dbd580de15da8737be9d416c7b5cb845fc12e18cc9d2b2ccfd841cece38907b6be07bd7ea')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-retrie-plugin/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:13:49
  Author: felixonmars
Revision: 972234

upgpkg: haskell-hls-retrie-plugin 1.0.1.0-10: rebuild with shake 0.19.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 05:12:33 UTC (rev 972233)
+++ PKGBUILD2021-07-05 05:13:49 UTC (rev 972234)
@@ -3,7 +3,7 @@
 _hkgname=hls-retrie-plugin
 pkgname=haskell-hls-retrie-plugin
 pkgver=1.0.1.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Retrie integration plugin for Haskell Language Server"
 url="https://hackage.haskell.org/package/hls-retrie-plugin";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:12:33
  Author: felixonmars
Revision: 972233

archrelease: copy trunk to community-staging-x86_64

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

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

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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 05:12:23
  Author: felixonmars
Revision: 972232

upgpkg: haskell-ghcide 1.4.0.2-6: rebuild with shake 0.19.5

Modified:
  haskell-ghcide/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:47:21 UTC (rev 972231)
+++ PKGBUILD2021-07-05 05:12:23 UTC (rev 972232)
@@ -3,7 +3,7 @@
 _hkgname=ghcide
 pkgname=haskell-ghcide
 pkgver=1.4.0.2
-pkgrel=5
+pkgrel=6
 pkgdesc="The core of an IDE"
 
url="https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:47:21
  Author: felixonmars
Revision: 972231

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hls-plugin-api/repos/community-staging-x86_64/PKGBUILD (from 
rev 972230, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:47:21 UTC (rev 972231)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=1.1.0.2
+pkgrel=7
+pkgdesc="Haskell Language Server API for plugin communication"
+url="https://github.com/haskell/haskell-language-server/hls-plugin-api";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-diff' 'haskell-aeson' 'haskell-data-default' 
'haskell-dependent-map'
+ 'haskell-dependent-sum' 'haskell-dlist' 'haskell-ghc' 
'haskell-ghc-api-compat'
+ 'haskell-hashable' 'haskell-hls-graph' 'haskell-hslogger' 
'haskell-lens' 'haskell-lsp'
+ 'haskell-opentelemetry' 'haskell-regex-tdfa' 
'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('fd6be87c3103fd3a87d1f83652861075bda2016fb7a5db9071f76f3a153fd8a6f36b7d4f0bab3f04d9012b127ed3ed6eb52f4516c67cc2840911e204ef89cc46')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



[arch-commits] Commit in haskell-hls-plugin-api/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:47:11
  Author: felixonmars
Revision: 972230

upgpkg: haskell-hls-plugin-api 1.1.0.2-7: rebuild with shake 0.19.5

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:46:15 UTC (rev 972229)
+++ PKGBUILD2021-07-05 04:47:11 UTC (rev 972230)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=1.1.0.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Haskell Language Server API for plugin communication"
 url="https://github.com/haskell/haskell-language-server/hls-plugin-api";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:46:15
  Author: felixonmars
Revision: 972229

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hls-graph/repos/community-staging-x86_64/
  haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD
(from rev 972228, haskell-hls-graph/trunk/PKGBUILD)

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

Copied: haskell-hls-graph/repos/community-staging-x86_64/PKGBUILD (from rev 
972228, haskell-hls-graph/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:46:15 UTC (rev 972229)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-graph
+pkgname=haskell-hls-graph
+pkgver=1.4.0.0
+pkgrel=6
+pkgdesc="Haskell Language Server internal graph API"
+url="https://github.com/haskell/haskell-language-server#readme";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-shake' 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('8ee3bf2a7f11f15741c94a9d40560aa2fe35af3c8fce40166796233322a5a474')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:46:05
  Author: felixonmars
Revision: 972228

upgpkg: haskell-hls-graph 1.4.0.0-6: rebuild with shake 0.19.5

Modified:
  haskell-hls-graph/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:45:14 UTC (rev 972227)
+++ PKGBUILD2021-07-05 04:46:05 UTC (rev 972228)
@@ -3,7 +3,7 @@
 _hkgname=hls-graph
 pkgname=haskell-hls-graph
 pkgver=1.4.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Haskell Language Server internal graph API"
 url="https://github.com/haskell/haskell-language-server#readme";
 license=("Apache")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:45:14
  Author: felixonmars
Revision: 972227

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 972226, haskell-shake/trunk/PKGBUILD)

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 972226, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:45:14 UTC (rev 972227)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.5
+pkgrel=1
+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=('655c146102ca6479d5a1de11040e7c6b5f18c5386f9bb93d5305c837bc405e6bd3dd9f2e9daec74fb59de6a91272485f83bb708028cd55d9771afb39ff3b9f64')
+
+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
+# https://github.com/ndmitchell/shake/issues/809
+runhaskell Setup test --show-details=direct || 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-shake/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:45:03
  Author: felixonmars
Revision: 972226

upgpkg: haskell-shake 0.19.5-1: rebuild with shake 0.19.5

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:36:03 UTC (rev 972225)
+++ PKGBUILD2021-07-05 04:45:03 UTC (rev 972226)
@@ -3,8 +3,8 @@
 
 _hkgname=shake
 pkgname=haskell-shake
-pkgver=0.19.4
-pkgrel=96
+pkgver=0.19.5
+pkgrel=1
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com";
 license=("BSD")
@@ -14,7 +14,7 @@
  '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')
+sha512sums=('655c146102ca6479d5a1de11040e7c6b5f18c5386f9bb93d5305c837bc405e6bd3dd9f2e9daec74fb59de6a91272485f83bb708028cd55d9771afb39ff3b9f64')
 
 prepare() {
 cd $_hkgname-$pkgver



[arch-commits] Commit in npm-check-updates/repos/community-any (PKGBUILD PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:35:31
  Author: felixonmars
Revision: 972220

archrelease: copy trunk to community-any

Added:
  npm-check-updates/repos/community-any/PKGBUILD
(from rev 972219, npm-check-updates/trunk/PKGBUILD)
Deleted:
  npm-check-updates/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-05 04:35:20 UTC (rev 972219)
+++ PKGBUILD2021-07-05 04:35:31 UTC (rev 972220)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=npm-check-updates
-pkgdesc='Find newer versions of dependencies than what your package.json or 
bower.json allows'
-pkgver=11.7.1
-pkgrel=1
-arch=('any')
-url='https://github.com/tjunnone/npm-check-updates'
-license=('Apache')
-depends=('nodejs-nopt' 'npm' 'semver')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('d591f595ee9f22e092fcbae3f612b376cd9b05ca5ceb470435927af35ac9f9cc76d36266c2c9a75663e3ea50b87fd30d6f4fc3f3541747441b22de68a83290b4')
-
-package() {
-  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
-  # Experimental dedup
-  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}nopt
-  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}semver
-
-  # Non-deterministic race in npm gives 777 permissions to random directories.
-  # See https://github.com/npm/npm/issues/9359 for details.
-  chmod -R u=rwX,go=rX "$pkgdir"
-
-  # npm installs package.json owned by build user
-  # https://bugs.archlinux.org/task/63396
-  chown -R root:root "$pkgdir"
-}

Copied: npm-check-updates/repos/community-any/PKGBUILD (from rev 972219, 
npm-check-updates/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-05 04:35:31 UTC (rev 972220)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan 
+
+pkgname=npm-check-updates
+pkgdesc='Find newer versions of dependencies than what your package.json or 
bower.json allows'
+pkgver=11.8.0
+pkgrel=1
+arch=('any')
+url='https://github.com/tjunnone/npm-check-updates'
+license=('Apache')
+depends=('nodejs-nopt' 'npm' 'semver')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('95c0ef6cac5a9de3f6d90c05f3e3c87b40b247818c93c366524451a5c959de64911b57ea1f901330b19d9bde897e80b67922d21e4848aba999d5068b4487')
+
+package() {
+  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+  # Experimental dedup
+  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}nopt
+  rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/{,.bin/}semver
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/npm/issues/9359 for details.
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # npm installs package.json owned by build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "$pkgdir"
+}



[arch-commits] Commit in npm-check-updates/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:35:20
  Author: felixonmars
Revision: 972219

upgpkg: npm-check-updates 11.8.0-1

Modified:
  npm-check-updates/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:33:59 UTC (rev 972218)
+++ PKGBUILD2021-07-05 04:35:20 UTC (rev 972219)
@@ -2,7 +2,7 @@
 
 pkgname=npm-check-updates
 pkgdesc='Find newer versions of dependencies than what your package.json or 
bower.json allows'
-pkgver=11.7.1
+pkgver=11.8.0
 pkgrel=1
 arch=('any')
 url='https://github.com/tjunnone/npm-check-updates'
@@ -10,7 +10,7 @@
 depends=('nodejs-nopt' 'npm' 'semver')
 source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
 noextract=($pkgname-$pkgver.tgz)
-sha512sums=('d591f595ee9f22e092fcbae3f612b376cd9b05ca5ceb470435927af35ac9f9cc76d36266c2c9a75663e3ea50b87fd30d6f4fc3f3541747441b22de68a83290b4')
+sha512sums=('95c0ef6cac5a9de3f6d90c05f3e3c87b40b247818c93c366524451a5c959de64911b57ea1f901330b19d9bde897e80b67922d21e4848aba999d5068b4487')
 
 package() {
   npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:33:59
  Author: felixonmars
Revision: 972218

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 972217, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/ghc9.patch
(from rev 972217, stack/trunk/ghc9.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 972217, stack/trunk/stack.install)

---+
 PKGBUILD  |   80 +++
 ghc9.patch|  233 
 stack.install |4 
 3 files changed, 317 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 972217, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:33:59 UTC (rev 972218)
@@ -0,0 +1,80 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.1
+pkgrel=9
+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-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' 'uusi' '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";
+ghc9.patch)
+sha512sums=('SKIP'
+
'55ad4c484e6858206d7728077ef94c5f299727b4433b51c027931f1e09371c04c454a785091bcb1a28bf7d8af5652e0fc326dd1141e4b60d6bd185834bfd89bd')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+}
+
+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 --show-details=direct
+  # 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 "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install -Dm644 stack_com

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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:33:44
  Author: felixonmars
Revision: 972217

upgpkg: stack 2.7.1-9: rebuild with authenticate-oauth 1.7

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:29:46 UTC (rev 972216)
+++ PKGBUILD2021-07-05 04:33:44 UTC (rev 972217)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.1
-pkgrel=8
+pkgrel=9
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack";
 license=("BSD")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:29:46
  Author: felixonmars
Revision: 972216

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-mustache/repos/community-staging-x86_64/
  haskell-mustache/repos/community-staging-x86_64/PKGBUILD
(from rev 972215, haskell-mustache/trunk/PKGBUILD)
  haskell-mustache/repos/community-staging-x86_64/ghc9.patch
(from rev 972215, haskell-mustache/trunk/ghc9.patch)

+
 PKGBUILD   |   50 ++
 ghc9.patch |   40 
 2 files changed, 90 insertions(+)

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
972215, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:29:46 UTC (rev 972216)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=337
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+ghc9.patch)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3'
+
'bb1a1df1ce2972998b65014a020dcab8467a89325a332df4b842881f11f3263f9720167c958b4164061443db44ea2bea82de07fcc57be90120e75d0eaca0c649')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < ghc9.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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: haskell-mustache/repos/community-staging-x86_64/ghc9.patch (from rev 
972215, haskell-mustache/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-07-05 04:29:46 UTC (rev 972216)
@@ -0,0 +1,40 @@
+diff --git a/src/Text/Mustache/Internal/Types.hs 
b/src/Text/Mustache/Internal/Types.hs
+index d824ba7..1552d09 100644
+--- a/src/Text/Mustache/Internal/Types.hs
 b/src/Text/Mustache/Internal/Types.hs
+@@ -24,7 +24,8 @@ import   Data.Text
+ import   Data.Text
+ import qualified Data.Text.Lazy   as LT
+ import qualified Data.Vector  as V
+-import   Language.Haskell.TH.Lift (Lift (lift), deriveLift)
++import   Language.Haskell.TH.Lift (deriveLift)
++import Language.Haskell.TH.Syntax
+
+
+ -- | Type of errors we may encounter during substitution.
+@@ -380,16 +381,20 @@ data Template = Template
+   , partials :: TemplateCache
+   } deriving (Show)
+
++
++deriveLift ''DataIdentifier
++deriveLift ''Node
++deriveLift ''Template
++
+ instance Lift TemplateCache where
++#if MIN_VERSION_template_haskell(2,16,0)
++  liftTyped m = [|| HM.fromList $$(liftTyped $ HM.toList m) ||]
++#else
+   lift m = [| HM.fromList $(lift $ HM.toList m) |]
++#endif
+
+ --Data.Text 1.2.4.0 introduces its own Lift Text instance
+ #if !MIN_VERSION_text(1,2,4)
+ instance Lift Text where
+   lift = lift . unpack
+ #endif
+-
+-deriveLift ''DataIdentifier
+-deriveLift ''Node
+-deriveLift ''Template
+-



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:29:33
  Author: felixonmars
Revision: 972215

upgpkg: haskell-mustache 2.3.1-337: rebuild with authenticate-oauth 1.7

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:28:20 UTC (rev 972214)
+++ PKGBUILD2021-07-05 04:29:33 UTC (rev 972215)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=336
+pkgrel=337
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache";
 license=('BSD')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:28:20
  Author: felixonmars
Revision: 972214

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 972213, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:28:20 UTC (rev 972214)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.3.3
+pkgrel=68
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-hashable' 'haskell-http-client' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f074790cf3370d9356efbf5aeabb7421d59299471e02d93010453bb6f4e8daee517fcdf6891245272a9b08a35bc7b1b2233b75825ec377f6403c99cf91041f2e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fdoctest -f-aws -fhttpbin -f-developer
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:28:10
  Author: felixonmars
Revision: 972213

upgpkg: haskell-wreq 0.5.3.3-68: rebuild with authenticate-oauth 1.7

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:25:09 UTC (rev 972212)
+++ PKGBUILD2021-07-05 04:28:10 UTC (rev 972213)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.3
-pkgrel=67
+pkgrel=68
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq";
 license=('BSD')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:25:09
  Author: felixonmars
Revision: 972212

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-req/repos/community-staging-x86_64/PKGBUILD (from rev 972211, 
haskell-req/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:25:09 UTC (rev 972212)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=req
+pkgname=haskell-req
+pkgver=3.9.1
+pkgrel=7
+pkgdesc="HTTP client library"
+url="https://github.com/mrkkrp/req";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate-oauth' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
+ 'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
+ 'haskell-unordered-containers')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth $_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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:24:59
  Author: felixonmars
Revision: 972211

upgpkg: haskell-req 3.9.1-7: rebuild with authenticate-oauth 1.7

Modified:
  haskell-req/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:20:40 UTC (rev 972210)
+++ PKGBUILD2021-07-05 04:24:59 UTC (rev 972211)
@@ -3,7 +3,7 @@
 _hkgname=req
 pkgname=haskell-req
 pkgver=3.9.1
-pkgrel=6
+pkgrel=7
 pkgdesc="HTTP client library"
 url="https://github.com/mrkkrp/req";
 license=('BSD')
@@ -12,11 +12,16 @@
  'haskell-case-insensitive' 'haskell-connection' 
'haskell-http-api-data'
  'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 
'haskell-modern-uri'
  'haskell-monad-control' 'haskell-retry' 'haskell-transformers-base' 
'haskell-unliftio-core')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-hspec-core'
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-core'
  'haskell-unordered-containers')
 
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
 
sha512sums=('ff63baca6647249a419b654d7bf296c2146b41dea3eae2cd0f7e1bfd9b0c8dc87f9259fd63b84f109838e3f2b85e308b969bd3c19b1d5323ecb7ff34ddf26946')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u authenticate-oauth $_hkgname.cabal
+} 
+
 build() {
   cd $_hkgname-$pkgver
 



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:20:40
  Author: felixonmars
Revision: 972210

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD 
(from rev 972209, haskell-authenticate-oauth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 04:20:40 UTC (rev 972210)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+
+_hkgname=authenticate-oauth
+pkgname=haskell-authenticate-oauth
+pkgver=1.7
+pkgrel=1
+pkgdesc="Library to authenticate with OAuth for Haskell web applications."
+url="https://github.com/yesodweb/authenticate";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http-client' 'haskell-crypto-pubkey-types' 
'haskell-rsa'
+ 'haskell-data-default' 'haskell-base64-bytestring' 'haskell-sha' 
'haskell-random'
+ 'haskell-http-types' 'haskell-blaze-builder' 
'haskell-transformers-compat')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c216d05051971715a834f2831278833fb685d91b7c0c8c1cf9732a3b39795a2dcf596bf7e5670df25ee3713c64496599043a7ec0092c538c759f2965f1230e57')
+
+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-authenticate-oauth/trunk (PKGBUILD)

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 04:20:29
  Author: felixonmars
Revision: 972209

upgpkg: haskell-authenticate-oauth 1.7-1: rebuild with authenticate-oauth 1.7

Modified:
  haskell-authenticate-oauth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 04:07:23 UTC (rev 972208)
+++ PKGBUILD2021-07-05 04:20:29 UTC (rev 972209)
@@ -2,8 +2,8 @@
 
 _hkgname=authenticate-oauth
 pkgname=haskell-authenticate-oauth
-pkgver=1.6.0.1
-pkgrel=286
+pkgver=1.7
+pkgrel=1
 pkgdesc="Library to authenticate with OAuth for Haskell web applications."
 url="https://github.com/yesodweb/authenticate";
 license=('BSD')
@@ -13,13 +13,8 @@
  'haskell-http-types' 'haskell-blaze-builder' 
'haskell-transformers-compat')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('b2a6310097a6edc5bd3c38052a2eca73d3f398c0b9ff4b8f1d43a1f4dc83b7297df12f3fc0bfdecfce17e600f90b13c4c9e3f31c02b17d7fec0134a34c093fd6')
+sha512sums=('c216d05051971715a834f2831278833fb685d91b7c0c8c1cf9732a3b39795a2dcf596bf7e5670df25ee3713c64496599043a7ec0092c538c759f2965f1230e57')
 
-prepare() {
-cd $_hkgname-$pkgver
-sed -i 's/< *1.1/<2/' $_hkgname.cabal
-}
-
 build() {
 cd $_hkgname-$pkgver
 



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:46:39
  Author: felixonmars
Revision: 972203

archrelease: copy trunk to community-staging-x86_64

Added:
  stack/repos/community-staging-x86_64/
  stack/repos/community-staging-x86_64/PKGBUILD
(from rev 972202, stack/trunk/PKGBUILD)
  stack/repos/community-staging-x86_64/ghc9.patch
(from rev 972202, stack/trunk/ghc9.patch)
  stack/repos/community-staging-x86_64/stack.install
(from rev 972202, stack/trunk/stack.install)

---+
 PKGBUILD  |   80 +++
 ghc9.patch|  233 
 stack.install |4 
 3 files changed, 317 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 972202, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 02:46:39 UTC (rev 972203)
@@ -0,0 +1,80 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.7.1
+pkgrel=8
+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-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' 'uusi' '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";
+ghc9.patch)
+sha512sums=('SKIP'
+
'55ad4c484e6858206d7728077ef94c5f299727b4433b51c027931f1e09371c04c454a785091bcb1a28bf7d8af5652e0fc326dd1141e4b60d6bd185834bfd89bd')
+
+prepare() {
+  cd $pkgname
+  patch -p1 -i ../ghc9.patch
+  uusi -d semigroups -d persistent-template $pkgname.cabal
+}
+
+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 --show-details=direct
+  # 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 "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install -Dm644 stack_com

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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:46:24
  Author: felixonmars
Revision: 972202

upgpkg: stack 2.7.1-8: rebuild with http-streams 0.8.8.1

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 02:42:16 UTC (rev 972201)
+++ PKGBUILD2021-07-05 02:46:24 UTC (rev 972202)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.7.1
-pkgrel=7
+pkgrel=8
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack";
 license=("BSD")



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:42:16
  Author: felixonmars
Revision: 972201

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-mustache/repos/community-staging-x86_64/
  haskell-mustache/repos/community-staging-x86_64/PKGBUILD
(from rev 972200, haskell-mustache/trunk/PKGBUILD)
  haskell-mustache/repos/community-staging-x86_64/ghc9.patch
(from rev 972200, haskell-mustache/trunk/ghc9.patch)

+
 PKGBUILD   |   50 ++
 ghc9.patch |   40 
 2 files changed, 90 insertions(+)

Copied: haskell-mustache/repos/community-staging-x86_64/PKGBUILD (from rev 
972200, haskell-mustache/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 02:42:16 UTC (rev 972201)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mustache
+pkgname=haskell-mustache
+pkgver=2.3.1
+pkgrel=336
+pkgdesc="A mustache template parser library."
+url="https://github.com/JustusAdam/mustache";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-either' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-scientific' 'haskell-th-lift' 'haskell-cmdargs' 
'haskell-yaml')
+makedepends=('ghc' 'haskell-hspec' 'haskell-base-unicode-symbols' 
'haskell-wreq' 'haskell-zlib'
+ 'haskell-tar' 'haskell-lens' 'haskell-temporary')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+ghc9.patch)
+sha512sums=('162360cb635d40086721d4dd350036884207679b240d30420b9fc71eebef847e542bd143275931a22a42c583d513d0c906a6b112d780824dc189ad07e3027aa3'
+
'bb1a1df1ce2972998b65014a020dcab8467a89325a332df4b842881f11f3263f9720167c958b4164061443db44ea2bea82de07fcc57be90120e75d0eaca0c649')
+
+prepare() {
+patch -d $_hkgname-$pkgver -p1 < ghc9.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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Copied: haskell-mustache/repos/community-staging-x86_64/ghc9.patch (from rev 
972200, haskell-mustache/trunk/ghc9.patch)
===
--- community-staging-x86_64/ghc9.patch (rev 0)
+++ community-staging-x86_64/ghc9.patch 2021-07-05 02:42:16 UTC (rev 972201)
@@ -0,0 +1,40 @@
+diff --git a/src/Text/Mustache/Internal/Types.hs 
b/src/Text/Mustache/Internal/Types.hs
+index d824ba7..1552d09 100644
+--- a/src/Text/Mustache/Internal/Types.hs
 b/src/Text/Mustache/Internal/Types.hs
+@@ -24,7 +24,8 @@ import   Data.Text
+ import   Data.Text
+ import qualified Data.Text.Lazy   as LT
+ import qualified Data.Vector  as V
+-import   Language.Haskell.TH.Lift (Lift (lift), deriveLift)
++import   Language.Haskell.TH.Lift (deriveLift)
++import Language.Haskell.TH.Syntax
+
+
+ -- | Type of errors we may encounter during substitution.
+@@ -380,16 +381,20 @@ data Template = Template
+   , partials :: TemplateCache
+   } deriving (Show)
+
++
++deriveLift ''DataIdentifier
++deriveLift ''Node
++deriveLift ''Template
++
+ instance Lift TemplateCache where
++#if MIN_VERSION_template_haskell(2,16,0)
++  liftTyped m = [|| HM.fromList $$(liftTyped $ HM.toList m) ||]
++#else
+   lift m = [| HM.fromList $(lift $ HM.toList m) |]
++#endif
+
+ --Data.Text 1.2.4.0 introduces its own Lift Text instance
+ #if !MIN_VERSION_text(1,2,4)
+ instance Lift Text where
+   lift = lift . unpack
+ #endif
+-
+-deriveLift ''DataIdentifier
+-deriveLift ''Node
+-deriveLift ''Template
+-



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:42:03
  Author: felixonmars
Revision: 972200

upgpkg: haskell-mustache 2.3.1-336: rebuild with http-streams 0.8.8.1

Modified:
  haskell-mustache/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 02:40:48 UTC (rev 972199)
+++ PKGBUILD2021-07-05 02:42:03 UTC (rev 972200)
@@ -3,7 +3,7 @@
 _hkgname=mustache
 pkgname=haskell-mustache
 pkgver=2.3.1
-pkgrel=335
+pkgrel=336
 pkgdesc="A mustache template parser library."
 url="https://github.com/JustusAdam/mustache";
 license=('BSD')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:40:48
  Author: felixonmars
Revision: 972199

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 972198, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 02:40:48 UTC (rev 972199)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.3.3
+pkgrel=67
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-hashable' 'haskell-http-client' 'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f074790cf3370d9356efbf5aeabb7421d59299471e02d93010453bb6f4e8daee517fcdf6891245272a9b08a35bc7b1b2233b75825ec377f6403c99cf91041f2e')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fdoctest -f-aws -fhttpbin -f-developer
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE.md 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:40:37
  Author: felixonmars
Revision: 972198

upgpkg: haskell-wreq 0.5.3.3-67: rebuild with http-streams 0.8.8.1

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 02:37:33 UTC (rev 972197)
+++ PKGBUILD2021-07-05 02:40:37 UTC (rev 972198)
@@ -3,7 +3,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.3.3
-pkgrel=66
+pkgrel=67
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq";
 license=('BSD')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:37:33
  Author: felixonmars
Revision: 972197

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-05 02:37:22 UTC (rev 972196)
+++ PKGBUILD2021-07-05 02:37:33 UTC (rev 972197)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan 
-
-_hkgname=http-streams
-pkgname=haskell-http-streams
-pkgver=0.8.8.1
-pkgrel=1
-pkgdesc="An HTTP client using io-streams"
-url="https://github.com/aesiniath/http-streams";
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
- 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
- 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
- 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
-makedepends=('ghc')
-checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
- 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
- 'haskell-system-fileio' 'haskell-system-filepath')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('41de4d985cc4dc7cc9cca440a9dedb428fd261ec4584d8f9260129e15747f0905b4a800c150603fbf965db8194ef4aed1803fbe122fdf6b7a433534d77969fb1')
-
-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
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $_hkgname-$pkgver
-runhaskell Setup test --show-details=direct
-}
-
-package() {
-cd $_hkgname-$pkgver
-
-install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
-install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
-runhaskell Setup copy --destdir="$pkgdir"
-install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
972196, haskell-http-streams/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-05 02:37:33 UTC (rev 972197)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.8.1
+pkgrel=2
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/http-streams";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('41de4d985cc4dc7cc9cca440a9dedb428fd261ec4584d8f9260129e15747f0905b4a800c150603fbf965db8194ef4aed1803fbe122fdf6b7a433534d77969fb1')
+
+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
+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() {
+  

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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:37:22
  Author: felixonmars
Revision: 972196

upgpkg: haskell-http-streams 0.8.8.1-2: rebuild with http-streams 0.8.8.1

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 02:36:24 UTC (rev 972195)
+++ PKGBUILD2021-07-05 02:37:22 UTC (rev 972196)
@@ -3,7 +3,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/aesiniath/http-streams";
 license=('BSD')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:36:24
  Author: felixonmars
Revision: 972195

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
972194, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 02:36:24 UTC (rev 972195)
@@ -0,0 +1,61 @@
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.2.0
+pkgrel=175
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapfamework/snap-server";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+  'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+  'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+  'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('da17f988a364e6c04b29020a9e27fa5d8b98fe890577cb6ca4ee4cc3df016ac6a9ea6d8ffcae564f25efa0362f3bd454f72ad3344f7571ccaa620c6c1bf57665')
+
+prepare() {
+cd $_hkgname-$pkgver
+uusi -d bytestring-builder -u attoparsec -u base $_hkgname.cabal
+gen-setup
+}
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:36:13
  Author: felixonmars
Revision: 972194

upgpkg: haskell-snap-server 1.1.2.0-175: rebuild with http-streams 0.8.8.1

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-05 02:34:04 UTC (rev 972193)
+++ PKGBUILD2021-07-05 02:36:13 UTC (rev 972194)
@@ -3,7 +3,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.2.0
-pkgrel=174
+pkgrel=175
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapfamework/snap-server";
 license=('BSD')



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:34:04
  Author: felixonmars
Revision: 972193

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
972192, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-05 02:34:04 UTC (rev 972193)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.8.1
+pkgrel=1
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/aesiniath/http-streams";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc')
+checkdepends=('haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('41de4d985cc4dc7cc9cca440a9dedb428fd261ec4584d8f9260129e15747f0905b4a800c150603fbf965db8194ef4aed1803fbe122fdf6b7a433534d77969fb1')
+
+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
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-04 Thread Felix Yan via arch-commits
Date: Monday, July 5, 2021 @ 02:33:53
  Author: felixonmars
Revision: 972192

upgpkg: haskell-http-streams 0.8.8.1-1: rebuild with http-streams 0.8.8.1

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-04 22:46:48 UTC (rev 972191)
+++ PKGBUILD2021-07-05 02:33:53 UTC (rev 972192)
@@ -2,10 +2,10 @@
 
 _hkgname=http-streams
 pkgname=haskell-http-streams
-pkgver=0.8.7.2
-pkgrel=251
+pkgver=0.8.8.1
+pkgrel=1
 pkgdesc="An HTTP client using io-streams"
-url="https://github.com/afcowie/http-streams";
+url="https://github.com/aesiniath/http-streams";
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
@@ -17,7 +17,7 @@
  'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
  'haskell-system-fileio' 'haskell-system-filepath')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('1028e7a102fc189ddd20d353492306d506f24f0408a234e0ec2b01c11737bc9ffec76a5609e18e355ef838663ec412ce3b358d8223deea7dd4c35ada5223f3ea')
+sha512sums=('41de4d985cc4dc7cc9cca440a9dedb428fd261ec4584d8f9260129e15747f0905b4a800c150603fbf965db8194ef4aed1803fbe122fdf6b7a433534d77969fb1')
 
 build() {
 cd $_hkgname-$pkgver



[arch-commits] Commit in spice/repos (testing-x86_64 testing-x86_64/PKGBUILD)

2021-07-04 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, July 5, 2021 @ 00:47:28
  Author: svenstaro
Revision: 418938

archrelease: copy trunk to testing-x86_64

Added:
  spice/repos/testing-x86_64/
  spice/repos/testing-x86_64/PKGBUILD
(from rev 418937, spice/trunk/PKGBUILD)

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

Copied: spice/repos/testing-x86_64/PKGBUILD (from rev 418937, 
spice/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-07-05 00:47:28 UTC (rev 418938)
@@ -0,0 +1,38 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Patryk Kowalczyk < patryk at kowalczyk dot ws>
+
+pkgname=spice
+pkgver=0.15.0
+pkgrel=1
+pkgdesc="SPICE server"
+arch=('x86_64')
+url="https://www.spice-space.org";
+license=('LGPL2.1')
+depends=('pixman' 'opus' 'libjpeg-turbo' 'glib2' 'libsasl' 'lz4')
+makedepends=('meson' 'spice-protocol' 'libcacard')
+checkdepends=('gdk-pixbuf2' 'glib-networking')
+provides=('libspice-server.so')
+source=("https://www.spice-space.org/download/releases/spice-server/$pkgname-$pkgver.tar.bz2"{,.sig})
+sha256sums=('b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5'
+'SKIP')
+validpgpkeys=('206D3B352F566F3B0E6572E997D9123DE37A484F') # Victor Toso 

+
+prepare() {
+  sed -i "s/if not version_info.contains('git')/if version_info.length() >= 
4/" $pkgname-$pkgver/server/meson.build
+  # Consider removing the following sed once this issue is resolved:
+  # https://gitlab.freedesktop.org/spice/spice/-/issues/62
+  sed -i "/doxygen.sh/d" $pkgname-$pkgver/meson.build
+}
+
+build() {
+  arch-meson "$pkgname-$pkgver" build -D gstreamer=no
+  ninja -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



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

2021-07-04 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, July 5, 2021 @ 00:47:24
  Author: svenstaro
Revision: 418937

upgpkg: spice 0.15.0-1

Modified:
  spice/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-04 20:59:28 UTC (rev 418936)
+++ PKGBUILD2021-07-05 00:47:24 UTC (rev 418937)
@@ -2,8 +2,8 @@
 # Maintainer: Patryk Kowalczyk < patryk at kowalczyk dot ws>
 
 pkgname=spice
-pkgver=0.14.3
-pkgrel=3
+pkgver=0.15.0
+pkgrel=1
 pkgdesc="SPICE server"
 arch=('x86_64')
 url="https://www.spice-space.org";
@@ -12,13 +12,16 @@
 makedepends=('meson' 'spice-protocol' 'libcacard')
 checkdepends=('gdk-pixbuf2' 'glib-networking')
 provides=('libspice-server.so')
-source=("https://www.spice-space.org/download/releases/spice-server/$pkgname-$pkgver.tar.bz2"{,.sign})
-sha256sums=('551d4be4a07667cf0543f3c895beb6da8a93ef5a9829f2ae47817be5e616a114'
+source=("https://www.spice-space.org/download/releases/spice-server/$pkgname-$pkgver.tar.bz2"{,.sig})
+sha256sums=('b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5'
 'SKIP')
 validpgpkeys=('206D3B352F566F3B0E6572E997D9123DE37A484F') # Victor Toso 

 
 prepare() {
   sed -i "s/if not version_info.contains('git')/if version_info.length() >= 
4/" $pkgname-$pkgver/server/meson.build
+  # Consider removing the following sed once this issue is resolved:
+  # https://gitlab.freedesktop.org/spice/spice/-/issues/62
+  sed -i "/doxygen.sh/d" $pkgname-$pkgver/meson.build
 }
 
 build() {



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

2021-07-04 Thread Robin Broda via arch-commits
Date: Sunday, July 4, 2021 @ 22:46:48
  Author: coderobe
Revision: 972191

archrelease: copy trunk to community-x86_64

Added:
  libguestfs/repos/community-x86_64/PKGBUILD
(from rev 972190, libguestfs/trunk/PKGBUILD)
Deleted:
  libguestfs/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  162 ++---
 1 file changed, 81 insertions(+), 81 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-04 22:46:28 UTC (rev 972190)
+++ PKGBUILD2021-07-04 22:46:48 UTC (rev 972191)
@@ -1,81 +0,0 @@
-# Maintainer: Robin Broda 
-# Contributor: Peter Wu 
-# Contributor: Evaggelos Balaskas 
-# Contributor: Xiao-Long Chen 
-# Contributor: Nikos Skalkotos 
-
-pkgname=libguestfs
-pkgver=1.44.1
-_pkgver_short=${pkgver%.*}
-pkgrel=4
-pkgdesc="Access and modify virtual machine disk images"
-arch=('x86_64')
-url="http://libguestfs.org/";
-license=('GPL2' 'LGPL2.1')
-_appliancedeps=('iproute2' 'mdadm' 'lvm2' 'libldm' 'btrfs-progs' 'dosfstools' 
'gdisk' 'procps' 'psmisc'
-'rsync' 'xfsprogs' 'dhcpcd' 'iputils' 'ntfs-3g' 'vim' 
'systemd-sysvcompat' 'openssh'
-'f2fs-tools' 'jfsutils' 'lsscsi' 'lsof' 'lzop' 'pciutils' 
'squashfs-tools'
-'strace' 'syslinux' 'debootstrap' 'exfat-utils' 'grub' 'lrzip' 
'mtools'
-'multipath-tools' 'nilfs-utils' 'reiserfsprogs' 'yara')
-#   'scrub' 'zerofree' 'hfsprogs')
-depends=('augeas' 'libvirt' 'jansson' 'fuse' 'hivex' 'sleuthkit' 'supermin' 
'qemu-headless' 'libconfig'
- 'perl-libintl-perl' "${_appliancedeps[@]}")
-makedepends=('ocaml' 'ocaml-findlib' 'gperf' 'cdrtools' 'perl-module-build' 
'python'
- 'gobject-introspection' 'vala' 'bash-completion' 'cpio' 
'java-environment'
- 'php' 'erlang-nox' 'lua' 'rust')
-# 'go' 'ghc' 'ruby')
-checkdepends=('linux')
-optdepends=('ocaml: OCaml Bindings'
-'python: Python Bindings'
-'gobject-introspection: GObject-Introspection Bindings')
-provides=('libguestfs.so' 'libguestfs-gobject-1.0.so')
-backup=('etc/libguestfs-tools.conf'
-'etc/xdg/virt-builder/repos.d/libguestfs.conf'
-'etc/xdg/virt-builder/repos.d/libguestfs.gpg'
-'etc/xdg/virt-builder/repos.d/opensuse.conf'
-'etc/xdg/virt-builder/repos.d/opensuse.gpg')
-source=("http://download.libguestfs.org/$_pkgver_short-stable/$pkgname-$pkgver.tar.gz"{,.sig})
-sha256sums=('72b7dcdd32da1c17c932cf5a0a70b3bd68bc93e94828ad66a539f2e616adb025'
-'SKIP')
-validpgpkeys=('F7774FB1AD074A7E8C8767EA91738F73E1B768A0') # Richard W.M. Jones 

-
-prepare() {
-  cd "$pkgname-$pkgver"
-  sed -i 's/ Sys::Virt / /g' m4/guestfs-perl.m4
-  autoreconf -vi
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  ./configure \
---prefix=/usr \
---sysconfdir=/etc \
---sbindir=/usr/bin \
---disable-static \
---disable-haskell \
---disable-ruby \
---with-extra-packages="libldm systemd-sysvcompat openssh qemu-headless" \
---with-guestfs-path=/usr/lib/guestfs
-  # ^ haskell & ruby bindings do not build
-  make
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  #tests require /dev/kvm to be available
-#  make quickcheck
-#  make -k check ||: takes ages
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
-  find "$pkgdir/usr/lib/perl5" -name '*.so' -exec chmod 644 {} +
-  find "$pkgdir/usr/lib/perl5" -name '*.bs' -exec rm -f {} +
-
-  # Remove obsolete binaries (RHBZ#1213298).
-  rm -f "$pkgdir"/usr/bin/virt-list-{filesystems,partitions}
-  rm -f "$pkgdir"/usr/bin/virt-tar
-  rm -f "$pkgdir"/usr/share/man/man1/virt-list-{filesystems,partitions}.1*
-  rm -f "$pkgdir"/usr/share/man/man1/virt-tar.1*
-}

Copied: libguestfs/repos/community-x86_64/PKGBUILD (from rev 972190, 
libguestfs/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-04 22:46:48 UTC (rev 972191)
@@ -0,0 +1,81 @@
+# Maintainer: Robin Broda 
+# Contributor: Peter Wu 
+# Contributor: Evaggelos Balaskas 
+# Contributor: Xiao-Long Chen 
+# Contributor: Nikos Skalkotos 
+
+pkgname=libguestfs
+pkgver=1.44.1
+_pkgver_short=${pkgver%.*}
+pkgrel=5
+pkgdesc="Access and modify virtual machine disk images"
+arch=('x86_64')
+url="http://libguestfs.org/";
+license=('GPL2' 'LGPL2.1')
+_appliancedeps=('iproute2' 'mdadm' 'lvm2' 'libldm' 'btrfs-progs' 'dosfstools' 
'gdisk' 'procps' 'psmisc'
+'rsync' 'xfsprogs' 'dhcpcd' 'iputils' 'ntfs-3g' 'vim' 
'systemd-sysvcompat' 'openssh'
+'f2fs-tools' 'jfsutils' 'lsscsi' 'lsof' 'lzop' 'pciutils' 
'squashfs-tools'
+'strace' 'syslinux' 'debootstrap' 'exfat-utils' 'grub' 'lrzip' 
'mtools'
+'multipath-tools' 'nilfs-utils' 'reiserfsprogs' 'yara')
+#   'scrub' 'zerofree' 'hfsprogs')
+depends=('augeas' 'libvirt' 'jansson' 'fuse' '

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

2021-07-04 Thread Robin Broda via arch-commits
Date: Sunday, July 4, 2021 @ 22:46:28
  Author: coderobe
Revision: 972190

upgpkg: libguestfs 1.44.1-5: rebuild for yara

Modified:
  libguestfs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-04 22:35:51 UTC (rev 972189)
+++ PKGBUILD2021-07-04 22:46:28 UTC (rev 972190)
@@ -7,7 +7,7 @@
 pkgname=libguestfs
 pkgver=1.44.1
 _pkgver_short=${pkgver%.*}
-pkgrel=4
+pkgrel=5
 pkgdesc="Access and modify virtual machine disk images"
 arch=('x86_64')
 url="http://libguestfs.org/";



[arch-commits] Commit in dovecot-fts-xapian/repos/community-x86_64 (4 files)

2021-07-04 Thread George Rawlinson via arch-commits
Date: Sunday, July 4, 2021 @ 22:35:51
  Author: grawlinson
Revision: 972189

archrelease: copy trunk to community-x86_64

Added:
  dovecot-fts-xapian/repos/community-x86_64/PKGBUILD
(from rev 972188, dovecot-fts-xapian/trunk/PKGBUILD)
  dovecot-fts-xapian/repos/community-x86_64/dovecot-fts-xapian.install
(from rev 972188, dovecot-fts-xapian/trunk/dovecot-fts-xapian.install)
Deleted:
  dovecot-fts-xapian/repos/community-x86_64/PKGBUILD
  dovecot-fts-xapian/repos/community-x86_64/dovecot-fts-xapian.install

+
 PKGBUILD   |  102 +--
 dovecot-fts-xapian.install |   24 +-
 2 files changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-04 22:33:40 UTC (rev 972188)
+++ PKGBUILD2021-07-04 22:35:51 UTC (rev 972189)
@@ -1,51 +0,0 @@
-# Maintainer: George Rawlinson 
-# Maintainer: Thore Bödecker 
-
-# This must be built against the version of dovecot being used,
-# otherwise it will fail to load and thus work.
-# Specify the version of dovecot to be used here:
-_dcpkgver=2.3.15
-# Make sure to bump pkgrel if changing this.
-
-pkgname=dovecot-fts-xapian
-_pkgname="${pkgname#dovecot-}"
-pkgver=1.4.10
-pkgrel=2
-pkgdesc="Dovecot FTS plugin based on Xapian"
-arch=('x86_64')
-url="https://github.com/grosjo/fts-xapian";
-license=('LGPL2.1')
-depends=("dovecot=${_dcpkgver}" 'icu' 'xapian-core')
-install="$pkgname.install"
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-b2sums=('9f886bbb3a3786451e86207f0dd856c56b1facde21facdbeb6d8fbe05fe132d76a96aa4906e6d29d32dc0aa1b12b468be6449c600831f656f7ae9ed51b0cebaf')
-
-build() {
-  cd "$_pkgname-$pkgver"
-  autoreconf -vi
-  ./configure \
---prefix=/usr \
---with-dovecot=/usr/lib/dovecot
-
-  make
-  
-  # generate systemd unit files
-  mkdir build
-  sed "s:@@prefix@@:/usr/bin:" contrib/systemd/dovecot-fts-optimize.service.in 
\
-> build/dovecot-fts-optimize.service
-  sed "s:@@index_frequency@@:daily:" 
contrib/systemd/dovecot-fts-optimize.timer.in \
-> build/dovecot-fts-optimize.timer
-}
-
-package() {
-  cd "$_pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
-  # systemd integration
-  install -vDm644 -t "$pkgdir/usr/lib/systemd/system" \
-build/dovecot-fts-optimize.{service,timer}
-}

Copied: dovecot-fts-xapian/repos/community-x86_64/PKGBUILD (from rev 972188, 
dovecot-fts-xapian/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-04 22:35:51 UTC (rev 972189)
@@ -0,0 +1,51 @@
+# Maintainer: George Rawlinson 
+# Maintainer: Thore Bödecker 
+
+# This must be built against the version of dovecot being used,
+# otherwise it will fail to load and thus work.
+# Specify the version of dovecot to be used here:
+_dcpkgver=2.3.15
+# Make sure to bump pkgrel if changing this.
+
+pkgname=dovecot-fts-xapian
+_pkgname="${pkgname#dovecot-}"
+pkgver=1.4.11
+pkgrel=1
+pkgdesc="Dovecot FTS plugin based on Xapian"
+arch=('x86_64')
+url="https://github.com/grosjo/fts-xapian";
+license=('LGPL2.1')
+depends=("dovecot=${_dcpkgver}" 'icu' 'xapian-core')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+b2sums=('124aa0e3dd00ba981e2ea796ff0987be60bbc5c7dbf8b525a17aaf76d58a6ab57c8557888abf919afadfbc1024e946ebb72f218cd36f490876c37a9d5933af3e')
+
+build() {
+  cd "$_pkgname-$pkgver"
+  autoreconf -vi
+  ./configure \
+--prefix=/usr \
+--with-dovecot=/usr/lib/dovecot
+
+  make
+  
+  # generate systemd unit files
+  mkdir build
+  sed "s:@@prefix@@:/usr/bin:" contrib/systemd/dovecot-fts-optimize.service.in 
\
+> build/dovecot-fts-optimize.service
+  sed "s:@@index_frequency@@:daily:" 
contrib/systemd/dovecot-fts-optimize.timer.in \
+> build/dovecot-fts-optimize.timer
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # systemd integration
+  install -vDm644 -t "$pkgdir/usr/lib/systemd/system" \
+build/dovecot-fts-optimize.{service,timer}
+}

Deleted: dovecot-fts-xapian.install
===
--- dovecot-fts-xapian.install  2021-07-04 22:33:40 UTC (rev 972188)
+++ dovecot-fts-xapian.install  2021-07-04 22:35:51 UTC (rev 972189)
@@ -1,12 +0,0 @@
-post_install() {
-   cat <<-EOF
-
-   Documentation is included in /usr/share/doc/dovecot-fts-xapian
-
-   For more documentation, see:
- * https://github.com/grosjo/fts-xapian
- * https://doc.dovecot.org/configuration_manual/fts
- * https://doc.dovecot.org/settings/plugin/fts-plugin
-
-   EOF
-}

Copied: dovecot-fts-xapian/repos/community-x86_64/dovecot-fts-xapia

[arch-commits] Commit in dovecot-fts-xapian/trunk (PKGBUILD)

2021-07-04 Thread George Rawlinson via arch-commits
Date: Sunday, July 4, 2021 @ 22:33:40
  Author: grawlinson
Revision: 972188

upgpkg: dovecot-fts-xapian 1.4.11-1

New upstream release.

Modified:
  dovecot-fts-xapian/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-04 21:50:05 UTC (rev 972187)
+++ PKGBUILD2021-07-04 22:33:40 UTC (rev 972188)
@@ -9,8 +9,8 @@
 
 pkgname=dovecot-fts-xapian
 _pkgname="${pkgname#dovecot-}"
-pkgver=1.4.10
-pkgrel=2
+pkgver=1.4.11
+pkgrel=1
 pkgdesc="Dovecot FTS plugin based on Xapian"
 arch=('x86_64')
 url="https://github.com/grosjo/fts-xapian";
@@ -18,7 +18,7 @@
 depends=("dovecot=${_dcpkgver}" 'icu' 'xapian-core')
 install="$pkgname.install"
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-b2sums=('9f886bbb3a3786451e86207f0dd856c56b1facde21facdbeb6d8fbe05fe132d76a96aa4906e6d29d32dc0aa1b12b468be6449c600831f656f7ae9ed51b0cebaf')
+b2sums=('124aa0e3dd00ba981e2ea796ff0987be60bbc5c7dbf8b525a17aaf76d58a6ab57c8557888abf919afadfbc1024e946ebb72f218cd36f490876c37a9d5933af3e')
 
 build() {
   cd "$_pkgname-$pkgver"



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

2021-07-04 Thread David Runge via arch-commits
Date: Sunday, July 4, 2021 @ 21:50:05
  Author: dvzrv
Revision: 972187

archrelease: copy trunk to community-x86_64

Added:
  mixxx/repos/community-x86_64/PKGBUILD
(from rev 972186, mixxx/trunk/PKGBUILD)
Deleted:
  mixxx/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-07-04 21:48:25 UTC (rev 972186)
+++ PKGBUILD2021-07-04 21:50:05 UTC (rev 972187)
@@ -1,54 +0,0 @@
-# Maintainer: Lukas Fleischer 
-# Contributor: David Runge 
-# Contributor: Ali H. Caliskan 
-# Contributor: Ryan Coyner 
-# Contributor: Stefan Husmann 
-
-pkgname=mixxx
-pkgver=2.3.0
-pkgrel=1
-pkgdesc="Free, open source software for digital DJ'ing."
-arch=('x86_64')
-url="https://www.mixxx.org";
-license=('GPL2')
-groups=('pro-audio')
-# TODO: package libshout-idjc
-depends=('gcc-libs' 'glibc' 'hidapi' 'lame' 'libglvnd' 'libmad' 'libmodplug'
-'libmp4v2' 'libx11' 'openssl' 'opusfile' 'qt5-base' 'qt5-script'
-'qt5-svg' 'qt5-x11extras' 'qtkeychain' 'soundtouch' 'speex' 'sqlite' 'taglib'
-'upower' 'wavpack')
-makedepends=('chromaprint' 'cmake' 'faad2' 'ffmpeg' 'fftw' 'flac' 'glib2' 'glu'
-'gperftools' 'libid3tag' 'libogg' 'libsndfile' 'libusb' 'libvorbis' 'lilv'
-'lv2' 'qt5-tools' 'portaudio' 'portmidi' 'protobuf' 'rubberband'
-'vamp-plugin-sdk')
-checkdepends=('xorg-server-xvfb')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}dj/${pkgname}/archive/${pkgver}.tar.gz";)
-sha512sums=('9ebb735b4f5d85b5f2b1ea6b8976ccfc0b1cd39516c5d5d6eb9038761836bb640583ea5c941f3b0d37e1882fa14dbc971c99f69498de764218d2815f58fc00f1')
-b2sums=('346bef3feecf1671729b2b07156be281d9f7879aaf3bb5764ec7bdfa1004ef1630c9279df46467ab3696ea7debf3c2a6b68202db9f5a288879d8a34ee00df738')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_BUILD_TYPE='Release' \
--Wno-dev \
--B build \
--S .
-  make VERBOSE=1 -C build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  xvfb-run build/${pkgname}-test
-}
-
-package() {
-  depends+=('libFLAC.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
-  'libchromaprint.so' 'libfftw3.so' 'libglib-2.0.so' 'libid3tag.so'
-  'libgobject-2.0.so' 'liblilv-0.so' 'libogg.so' 'libportaudio.so'
-  'libportmidi.so' 'libprotobuf-lite.so' 'librubberband.so' 'libsndfile.so'
-  'libtcmalloc.so' 'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so'
-  'libvorbisfile.so')
-
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install -C build
-}

Copied: mixxx/repos/community-x86_64/PKGBUILD (from rev 972186, 
mixxx/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-07-04 21:50:05 UTC (rev 972187)
@@ -0,0 +1,52 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: David Runge 
+# Contributor: Ali H. Caliskan 
+# Contributor: Ryan Coyner 
+# Contributor: Stefan Husmann 
+
+pkgname=mixxx
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="Free, open source software for digital DJ'ing."
+arch=('x86_64')
+url="https://www.mixxx.org";
+license=('GPL2')
+groups=('pro-audio')
+# TODO: package libshout-idjc
+depends=('gcc-libs' 'glibc' 'hidapi' 'lame' 'libglvnd' 'libmad' 'libmodplug'
+'libx11' 'openssl' 'opusfile' 'qt5-base' 'qt5-script' 'qt5-svg' 'qt5-x11extras'
+'qtkeychain' 'soundtouch' 'speex' 'sqlite' 'taglib' 'upower' 'wavpack')
+makedepends=('chromaprint' 'cmake' 'faad2' 'ffmpeg' 'fftw' 'flac' 'glib2' 'glu'
+'gperftools' 'libid3tag' 'libogg' 'libsndfile' 'libusb' 'libvorbis' 'lilv'
+'lv2' 'qt5-tools' 'portaudio' 'portmidi' 'protobuf' 'rubberband'
+'vamp-plugin-sdk')
+checkdepends=('xorg-server-xvfb')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}dj/${pkgname}/archive/${pkgver}.tar.gz";)
+sha512sums=('9ebb735b4f5d85b5f2b1ea6b8976ccfc0b1cd39516c5d5d6eb9038761836bb640583ea5c941f3b0d37e1882fa14dbc971c99f69498de764218d2815f58fc00f1')
+b2sums=('346bef3feecf1671729b2b07156be281d9f7879aaf3bb5764ec7bdfa1004ef1630c9279df46467ab3696ea7debf3c2a6b68202db9f5a288879d8a34ee00df738')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_BUILD_TYPE='Release' \
+-Wno-dev \
+-B build \
+-S .
+  make VERBOSE=1 -C build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  xvfb-run build/${pkgname}-test
+}
+
+package() {
+  depends+=('libFLAC.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
+  'libchromaprint.so' 'libfftw3.so' 'libglib-2.0.so' 'libid3tag.so'
+  'libgobject-2.0.so' 'liblilv-0.so' 'libogg.so' 'libportaudio.so'
+  'libportmidi.so' 'libprotobuf-lite.so' 'librubberband.so' 'libsndfile.so'
+  'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
+
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install -C build
+}



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

2021-07-04 Thread David Runge via arch-commits
Date: Sunday, July 4, 2021 @ 21:48:25
  Author: dvzrv
Revision: 972186

upgpkg: mixxx 2.3.0-2: Rebuild to remove unneeded dependencies.

Upstream notified us, that libmp4v2 has been replaced with ffmpeg:
https://github.com/archlinux/svntogit-community/commit/da37cf256156dead98e5a62219ab4006167986f9#r53012446
Remove libtcmalloc.so, as the binary does not in fact link against it.

Modified:
  mixxx/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-04 20:53:04 UTC (rev 972185)
+++ PKGBUILD2021-07-04 21:48:25 UTC (rev 972186)
@@ -6,7 +6,7 @@
 
 pkgname=mixxx
 pkgver=2.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Free, open source software for digital DJ'ing."
 arch=('x86_64')
 url="https://www.mixxx.org";
@@ -14,9 +14,8 @@
 groups=('pro-audio')
 # TODO: package libshout-idjc
 depends=('gcc-libs' 'glibc' 'hidapi' 'lame' 'libglvnd' 'libmad' 'libmodplug'
-'libmp4v2' 'libx11' 'openssl' 'opusfile' 'qt5-base' 'qt5-script'
-'qt5-svg' 'qt5-x11extras' 'qtkeychain' 'soundtouch' 'speex' 'sqlite' 'taglib'
-'upower' 'wavpack')
+'libx11' 'openssl' 'opusfile' 'qt5-base' 'qt5-script' 'qt5-svg' 'qt5-x11extras'
+'qtkeychain' 'soundtouch' 'speex' 'sqlite' 'taglib' 'upower' 'wavpack')
 makedepends=('chromaprint' 'cmake' 'faad2' 'ffmpeg' 'fftw' 'flac' 'glib2' 'glu'
 'gperftools' 'libid3tag' 'libogg' 'libsndfile' 'libusb' 'libvorbis' 'lilv'
 'lv2' 'qt5-tools' 'portaudio' 'portmidi' 'protobuf' 'rubberband'
@@ -46,8 +45,7 @@
   'libchromaprint.so' 'libfftw3.so' 'libglib-2.0.so' 'libid3tag.so'
   'libgobject-2.0.so' 'liblilv-0.so' 'libogg.so' 'libportaudio.so'
   'libportmidi.so' 'libprotobuf-lite.so' 'librubberband.so' 'libsndfile.so'
-  'libtcmalloc.so' 'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so'
-  'libvorbisfile.so')
+  'libusb-1.0.so' 'libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
 
   cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install -C build



[arch-commits] Commit in cuda/repos (34 files)

2021-07-04 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, July 4, 2021 @ 20:53:04
  Author: svenstaro
Revision: 972185

archrelease: copy trunk to community-testing-x86_64

Added:
  cuda/repos/community-testing-x86_64/
  cuda/repos/community-testing-x86_64/PKGBUILD
(from rev 972184, cuda/trunk/PKGBUILD)
  cuda/repos/community-testing-x86_64/accinj64.pc
(from rev 972184, cuda/trunk/accinj64.pc)
  cuda/repos/community-testing-x86_64/cublas.pc
(from rev 972184, cuda/trunk/cublas.pc)
  cuda/repos/community-testing-x86_64/cuda-findgllib_mk.diff
(from rev 972184, cuda/trunk/cuda-findgllib_mk.diff)
  cuda/repos/community-testing-x86_64/cuda.conf
(from rev 972184, cuda/trunk/cuda.conf)
  cuda/repos/community-testing-x86_64/cuda.install
(from rev 972184, cuda/trunk/cuda.install)
  cuda/repos/community-testing-x86_64/cuda.pc
(from rev 972184, cuda/trunk/cuda.pc)
  cuda/repos/community-testing-x86_64/cuda.sh
(from rev 972184, cuda/trunk/cuda.sh)
  cuda/repos/community-testing-x86_64/cudart.pc
(from rev 972184, cuda/trunk/cudart.pc)
  cuda/repos/community-testing-x86_64/cufft.pc
(from rev 972184, cuda/trunk/cufft.pc)
  cuda/repos/community-testing-x86_64/cufftw.pc
(from rev 972184, cuda/trunk/cufftw.pc)
  cuda/repos/community-testing-x86_64/cuinj64.pc
(from rev 972184, cuda/trunk/cuinj64.pc)
  cuda/repos/community-testing-x86_64/curand.pc
(from rev 972184, cuda/trunk/curand.pc)
  cuda/repos/community-testing-x86_64/cusolver.pc
(from rev 972184, cuda/trunk/cusolver.pc)
  cuda/repos/community-testing-x86_64/cusparse.pc
(from rev 972184, cuda/trunk/cusparse.pc)
  cuda/repos/community-testing-x86_64/nppc.pc
(from rev 972184, cuda/trunk/nppc.pc)
  cuda/repos/community-testing-x86_64/nppi.pc
(from rev 972184, cuda/trunk/nppi.pc)
  cuda/repos/community-testing-x86_64/nppial.pc
(from rev 972184, cuda/trunk/nppial.pc)
  cuda/repos/community-testing-x86_64/nppicc.pc
(from rev 972184, cuda/trunk/nppicc.pc)
  cuda/repos/community-testing-x86_64/nppicom.pc
(from rev 972184, cuda/trunk/nppicom.pc)
  cuda/repos/community-testing-x86_64/nppidei.pc
(from rev 972184, cuda/trunk/nppidei.pc)
  cuda/repos/community-testing-x86_64/nppif.pc
(from rev 972184, cuda/trunk/nppif.pc)
  cuda/repos/community-testing-x86_64/nppig.pc
(from rev 972184, cuda/trunk/nppig.pc)
  cuda/repos/community-testing-x86_64/nppim.pc
(from rev 972184, cuda/trunk/nppim.pc)
  cuda/repos/community-testing-x86_64/nppist.pc
(from rev 972184, cuda/trunk/nppist.pc)
  cuda/repos/community-testing-x86_64/nppisu.pc
(from rev 972184, cuda/trunk/nppisu.pc)
  cuda/repos/community-testing-x86_64/nppitc.pc
(from rev 972184, cuda/trunk/nppitc.pc)
  cuda/repos/community-testing-x86_64/npps.pc
(from rev 972184, cuda/trunk/npps.pc)
  cuda/repos/community-testing-x86_64/nvToolsExt.pc
(from rev 972184, cuda/trunk/nvToolsExt.pc)
  cuda/repos/community-testing-x86_64/nvgraph.pc
(from rev 972184, cuda/trunk/nvgraph.pc)
  cuda/repos/community-testing-x86_64/nvidia-ml.pc
(from rev 972184, cuda/trunk/nvidia-ml.pc)
  cuda/repos/community-testing-x86_64/nvjpeg.pc
(from rev 972184, cuda/trunk/nvjpeg.pc)
  cuda/repos/community-testing-x86_64/nvrtc.pc
(from rev 972184, cuda/trunk/nvrtc.pc)

+
 PKGBUILD   |  174 +++
 accinj64.pc|9 ++
 cublas.pc  |9 ++
 cuda-findgllib_mk.diff |   22 +
 cuda.conf  |3 
 cuda.install   |   11 ++
 cuda.pc|9 ++
 cuda.sh|2 
 cudart.pc  |9 ++
 cufft.pc   |9 ++
 cufftw.pc  |9 ++
 cuinj64.pc |9 ++
 curand.pc  |9 ++
 cusolver.pc|9 ++
 cusparse.pc|9 ++
 nppc.pc|9 ++
 nppi.pc|9 ++
 nppial.pc  |9 ++
 nppicc.pc  |9 ++
 nppicom.pc |9 ++
 nppidei.pc |9 ++
 nppif.pc   |9 ++
 nppig.pc   |9 ++
 nppim.pc   |9 ++
 nppist.pc  |9 ++
 nppisu.pc  |9 ++
 nppitc.pc  |9 ++
 npps.pc|9 ++
 nvToolsExt.pc  |9 ++
 nvgraph.pc |9 ++
 nvidia-ml.pc   |9 ++
 nvjpeg.pc  |9 ++
 nvrtc.pc   |9 ++
 33 files changed, 464 insertions(+)

Copied: cuda/repos/community-testing-x86_64/PKGBUILD (from rev 972184, 
cuda/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-07-04 20:53:04 UTC (rev 972185)
@@ -0,0 +1,174 @@
+# Maintainer: Sven-Hendrik Haase 
+# Maintainer: Konstantin Gizdov 
+pkgname=(cuda cuda-tools)
+pkgbase=cuda
+pkgver=11.4.0
+_driverver=470.42.01
+pkgrel=1
+pkgdesc="NVIDIA's GPU programming

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

2021-07-04 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, July 4, 2021 @ 20:43:52
  Author: svenstaro
Revision: 972184

upgpkg: cuda 11.4.0-1

Modified:
  cuda/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-07-04 20:05:29 UTC (rev 972183)
+++ PKGBUILD2021-07-04 20:43:52 UTC (rev 972184)
@@ -2,8 +2,8 @@
 # Maintainer: Konstantin Gizdov 
 pkgname=(cuda cuda-tools)
 pkgbase=cuda
-pkgver=11.3.1
-_driverver=465.19.01
+pkgver=11.4.0
+_driverver=470.42.01
 pkgrel=1
 pkgdesc="NVIDIA's GPU programming toolkit"
 arch=('x86_64')
@@ -44,7 +44,7 @@
 nvjpeg.pc
 nvrtc.pc
 nvToolsExt.pc)
-sha512sums=('e2db8b4dcb5f6aee2c3e8a8a6848186cdcdd7cd9d5f4bfd069bd3dc2ea500797c66a4592f0e28dcbee6c3611d1f88b6fda6afcd734aa9ef45f4aa17a1527aedb'
+sha512sums=('17165102e7f64da77588fd47f5ce3f3151a2b482bdc005427ad77ada5d0ff5a51dcd40a27a467cd5988968469476ba90b0191aed993806d284833a08ccb1'
 
'35f1f56411eecb2d978553f5606a0d6e70ad363cfaa9f37b9e6f12a799b041caa4aeca183341055d4789425dc4d62bee0aac68cc9d864155084b1ea571ee998f'
 
'714d973bc79446f73bebe85306b3566fe25b554bcbcba2fcbe76709a3eca71fb5d183ab4da2d3b5e9326cb9cd8d13a93f6d4a005ea5a41f7ef8e6c6e81e06b5e'
 
'41d6b6cad934f135eafde610d1cbd862033977fd4416a4b6abaa47709a70bab7fcf6f8377c21329084fb9db13f2a8c8c20e93c15292d7d4a6448d70a33b23f1b'



  1   2   3   >