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

2021-02-25 Thread Antonio Rojas via arch-commits
Date: Friday, February 26, 2021 @ 07:20:52
  Author: arojas
Revision: 874372

archrelease: copy trunk to community-x86_64

Added:
  python-pikepdf/repos/community-x86_64/PKGBUILD
(from rev 874371, python-pikepdf/trunk/PKGBUILD)
Deleted:
  python-pikepdf/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-26 07:20:41 UTC (rev 874371)
+++ PKGBUILD2021-02-26 07:20:52 UTC (rev 874372)
@@ -1,30 +0,0 @@
-# Maintainer: Antonio Rojas 
-# Contributor: Fredrick Brennan 
-# Contributor: Stephan Eisvogel 
-
-pkgname=python-pikepdf
-pkgver=2.5.2 
-pkgrel=1
-pkgdesc='Read and write PDFs with Python, powered by qpdf'
-arch=(x86_64)
-url='https://github.com/pikepdf/pikepdf'
-license=(MPL2)
-makedepends=(pybind11 python-setuptools-scm python-wheel python-toml)
-depends=(python-lxml python-pillow qpdf)
-source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
-sha256sums=('8fc3e97b24dafbd4b1ac057c8f144c18467ce55d342a1a8c42688890ead58ef3')
-
-prepare() {
-  sed -e '/setuptools_scm_git_archive/d' -i pikepdf-$pkgver/setup.py # Remove 
unused build dependency
-}
-
-build() {
-  cd pikepdf-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd pikepdf-$pkgver
-  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 
--skip-build
-  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-pikepdf/repos/community-x86_64/PKGBUILD (from rev 874371, 
python-pikepdf/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-26 07:20:52 UTC (rev 874372)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Fredrick Brennan 
+# Contributor: Stephan Eisvogel 
+
+pkgname=python-pikepdf
+pkgver=2.6.0
+pkgrel=1
+pkgdesc='Read and write PDFs with Python, powered by qpdf'
+arch=(x86_64)
+url='https://github.com/pikepdf/pikepdf'
+license=(MPL2)
+makedepends=(pybind11 python-setuptools-scm python-wheel python-toml)
+depends=(python-lxml python-pillow qpdf)
+source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
+sha256sums=('42277afc386f1dd312dedf94e2230ab238a947f77514ccd67ac046b025af76f8')
+
+prepare() {
+  sed -e '/setuptools_scm_git_archive/d' -i pikepdf-$pkgver/setup.py # Remove 
unused build dependency
+}
+
+build() {
+  cd pikepdf-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd pikepdf-$pkgver
+  python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 
--skip-build
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
+}


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

2021-02-25 Thread Antonio Rojas via arch-commits
Date: Friday, February 26, 2021 @ 07:20:41
  Author: arojas
Revision: 874371

Update to 2.6.0

Modified:
  python-pikepdf/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:40:39 UTC (rev 874370)
+++ PKGBUILD2021-02-26 07:20:41 UTC (rev 874371)
@@ -3,7 +3,7 @@
 # Contributor: Stephan Eisvogel 
 
 pkgname=python-pikepdf
-pkgver=2.5.2 
+pkgver=2.6.0
 pkgrel=1
 pkgdesc='Read and write PDFs with Python, powered by qpdf'
 arch=(x86_64)
@@ -12,7 +12,7 @@
 makedepends=(pybind11 python-setuptools-scm python-wheel python-toml)
 depends=(python-lxml python-pillow qpdf)
 
source=(https://pypi.python.org/packages/source/p/pikepdf/pikepdf-$pkgver.tar.gz)
-sha256sums=('8fc3e97b24dafbd4b1ac057c8f144c18467ce55d342a1a8c42688890ead58ef3')
+sha256sums=('42277afc386f1dd312dedf94e2230ab238a947f77514ccd67ac046b025af76f8')
 
 prepare() {
   sed -e '/setuptools_scm_git_archive/d' -i pikepdf-$pkgver/setup.py # Remove 
unused build dependency


[arch-commits] Commit in kwin/repos/extra-x86_64 (4 files)

2021-02-25 Thread Antonio Rojas via arch-commits
Date: Friday, February 26, 2021 @ 07:15:23
  Author: arojas
Revision: 408830

archrelease: copy trunk to extra-x86_64

Added:
  kwin/repos/extra-x86_64/PKGBUILD
(from rev 408829, kwin/trunk/PKGBUILD)
  kwin/repos/extra-x86_64/kwin.install
(from rev 408829, kwin/trunk/kwin.install)
Deleted:
  kwin/repos/extra-x86_64/PKGBUILD
  kwin/repos/extra-x86_64/kwin.install

--+
 PKGBUILD |   76 ++---
 kwin.install |   18 ++---
 2 files changed, 50 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2021-02-26 07:15:04 UTC (rev 408829)
+++ PKGBUILD2021-02-26 07:15:23 UTC (rev 408830)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan 
-# Maintainer: Antonio Rojas 
-# Contributor: Andrea Scarpino 
-
-pkgname=kwin
-pkgver=5.21.1
-pkgrel=1
-pkgdesc='An easy to use, but flexible, composited Window Manager'
-arch=(x86_64)
-url='https://kde.org/plasma-desktop/'
-license=(LGPL)
-depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils 
kwayland-server breeze
- qt5-script pipewire libqaccessibilityclient lcms2)
-makedepends=(extra-cmake-modules qt5-tools kdoctools krunner)
-optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland')
-groups=(plasma)
-source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
-install=$pkgname.install
-sha256sums=('5a044450ffdc1610a73d5db3f3f50d2513de930f4be5c167da703cc7d23abc0c'
-'SKIP')
-validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell 

-  '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah 

-  'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson 

-  '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin 

-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
--DCMAKE_INSTALL_LIBEXECDIR=lib \
--DBUILD_TESTING=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: kwin/repos/extra-x86_64/PKGBUILD (from rev 408829, kwin/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2021-02-26 07:15:23 UTC (rev 408830)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=kwin
+pkgver=5.21.1
+pkgrel=2
+pkgdesc='An easy to use, but flexible, composited Window Manager'
+arch=(x86_64)
+url='https://kde.org/plasma-desktop/'
+license=(LGPL)
+depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils 
kwayland-server breeze
+ qt5-script pipewire libqaccessibilityclient lcms2)
+makedepends=(extra-cmake-modules qt5-tools kdoctools krunner)
+optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland')
+groups=(plasma)
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
+ 
kdebug-433145.patch::"https://invent.kde.org/plasma/kwin/commit/c2b2127f.patch;)
+install=$pkgname.install
+sha256sums=('5a044450ffdc1610a73d5db3f3f50d2513de930f4be5c167da703cc7d23abc0c'
+'SKIP'
+'0b48b38734ab4e7223449f24504fd4e0352b8bf5c7c47e4423a806cecb260256')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell 

+  '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah 

+  'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson 

+  '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin 

+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < kdebug-433145.patch # Fix drm-gpu crashes
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+-DCMAKE_INSTALL_LIBEXECDIR=lib \
+-DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Deleted: kwin.install
===
--- kwin.install2021-02-26 07:15:04 UTC (rev 408829)
+++ kwin.install2021-02-26 07:15:23 UTC (rev 408830)
@@ -1,9 +0,0 @@
-post_install() {
-# this is executed by make install, but doesn't work since setcap can only be 
run as root
-  setcap CAP_SYS_NICE=+ep /usr/bin/kwin_wayland
-}
-
-post_upgrade() {
-  post_install
-}
-

Copied: kwin/repos/extra-x86_64/kwin.install (from rev 408829, 
kwin/trunk/kwin.install)
===
--- kwin.install(rev 0)
+++ kwin.install2021-02-26 07:15:23 UTC (rev 408830)
@@ -0,0 +1,9 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be 
run as root
+  setcap CAP_SYS_NICE=+ep /usr/bin/kwin_wayland
+}
+
+post_upgrade() {
+  post_install
+}
+


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

2021-02-25 Thread Antonio Rojas via arch-commits
Date: Friday, February 26, 2021 @ 07:15:04
  Author: arojas
Revision: 408829

Fix drm-gpu crashes (FS#69790)

Modified:
  kwin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:22:49 UTC (rev 408828)
+++ PKGBUILD2021-02-26 07:15:04 UTC (rev 408829)
@@ -4,7 +4,7 @@
 
 pkgname=kwin
 pkgver=5.21.1
-pkgrel=1
+pkgrel=2
 pkgdesc='An easy to use, but flexible, composited Window Manager'
 arch=(x86_64)
 url='https://kde.org/plasma-desktop/'
@@ -14,15 +14,21 @@
 makedepends=(extra-cmake-modules qt5-tools kdoctools krunner)
 optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland')
 groups=(plasma)
-source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
+ 
kdebug-433145.patch::"https://invent.kde.org/plasma/kwin/commit/c2b2127f.patch;)
 install=$pkgname.install
 sha256sums=('5a044450ffdc1610a73d5db3f3f50d2513de930f4be5c167da703cc7d23abc0c'
-'SKIP')
+'SKIP'
+'0b48b38734ab4e7223449f24504fd4e0352b8bf5c7c47e4423a806cecb260256')
 validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E'  # Jonathan Riddell 

   '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D'  # Bhushan Shah 

   'D07BD8662C56CB291B316EB2F5675605C74E02CF'  # David Edmundson 

   '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin 

 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < kdebug-433145.patch # Fix drm-gpu crashes
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
 -DCMAKE_INSTALL_LIBEXECDIR=lib \


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:58:18
  Author: felixonmars
Revision: 874199

upgpkg: shellcheck 0.7.1-308: rebuild with http-date 0.0.11

Modified:
  shellcheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 21:55:53 UTC (rev 874198)
+++ PKGBUILD2021-02-25 21:58:18 UTC (rev 874199)
@@ -4,7 +4,7 @@
 _hkgname=ShellCheck
 pkgname=shellcheck
 pkgver=0.7.1
-pkgrel=307
+pkgrel=308
 pkgdesc="Shell script analysis tool"
 url="https://www.shellcheck.net;
 license=("GPL")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:36:00
  Author: felixonmars
Revision: 874361

upgpkg: haskell-summoner-tui 2.0.1.1-135: rebuild with inspection-testing 
0.4.3.0

Modified:
  haskell-summoner-tui/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:35:26 UTC (rev 874360)
+++ PKGBUILD2021-02-25 23:36:00 UTC (rev 874361)
@@ -4,7 +4,7 @@
 _hkgname=summoner-tui
 pkgname=haskell-summoner-tui
 pkgver=2.0.1.1
-pkgrel=134
+pkgrel=135
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:37:06
  Author: felixonmars
Revision: 874364

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-safecopy/repos/community-staging-x86_64/PKGBUILD (from rev 
874363, haskell-safecopy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:37:06 UTC (rev 874364)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=safecopy
+pkgname=haskell-safecopy
+pkgver=0.10.4
+pkgrel=2
+pkgdesc="Binary serialization with version control."
+url="http://acid-state.seize.it/safecopy;
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 
'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f7fa73fc1dd8967959f777d8b1a95f6cdbcaf1b51a2760983ffbaeabb71fdbd97883220d6ee45446e774d894a466c85c8d4774da5079d73196edd79aee0a')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:39:14
  Author: felixonmars
Revision: 874367

upgpkg: haskell-hopenpgp 2.9.5-85: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-hopenpgp/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:37:47 UTC (rev 874366)
+++ PKGBUILD2021-02-25 23:39:14 UTC (rev 874367)
@@ -3,7 +3,7 @@
 _hkgname=hOpenPGP
 pkgname=haskell-hopenpgp
 pkgver=2.9.5
-pkgrel=84
+pkgrel=85
 pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
 url="http://floss.scru.org/hOpenPGP/;
 license=('MIT')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:36:55
  Author: felixonmars
Revision: 874363

upgpkg: haskell-safecopy 0.10.4-2: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-safecopy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:36:11 UTC (rev 874362)
+++ PKGBUILD2021-02-25 23:36:55 UTC (rev 874363)
@@ -3,7 +3,7 @@
 _hkgname=safecopy
 pkgname=haskell-safecopy
 pkgver=0.10.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Binary serialization with version control."
 url="http://acid-state.seize.it/safecopy;
 license=('custom:PublicDomain')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:36:11
  Author: felixonmars
Revision: 874362

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-summoner-tui/repos/community-staging-x86_64/PKGBUILD (from rev 
874361, haskell-summoner-tui/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:36:11 UTC (rev 874362)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner-tui
+pkgname=haskell-summoner-tui
+pkgver=2.0.1.1
+pkgrel=135
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects using TUI."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-brick' 'haskell-colourista' 'haskell-microlens' 
'haskell-microlens-th'
+ 'haskell-relude' 'haskell-summoner' 'haskell-validation-selective' 
'haskell-vty')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('9f840f25d72c54b4b5ed0c5e6755e52ca71e9961759de6bd0046d567bd1f2c27')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:37:37
  Author: felixonmars
Revision: 874365

upgpkg: haskell-ixset-typed 0.5-121: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-ixset-typed/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:37:06 UTC (rev 874364)
+++ PKGBUILD2021-02-25 23:37:37 UTC (rev 874365)
@@ -3,7 +3,7 @@
 _hkgname=ixset-typed
 pkgname=haskell-ixset-typed
 pkgver=0.5
-pkgrel=120
+pkgrel=121
 pkgdesc="Efficient relational queries on Haskell sets"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=('BSD')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:40:39
  Author: felixonmars
Revision: 874370

archrelease: copy trunk to community-staging-x86_64

Added:
  hopenpgp-tools/repos/community-staging-x86_64/
  hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 874369, hopenpgp-tools/trunk/PKGBUILD)

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

Copied: hopenpgp-tools/repos/community-staging-x86_64/PKGBUILD (from rev 
874369, hopenpgp-tools/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:40:39 UTC (rev 874370)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hopenpgp-tools
+pkgver=0.23.6
+pkgrel=40
+pkgdesc="hOpenPGP-based command-line tools"
+url="https://salsa.debian.org/clint/hopenpgp-tools;
+license=("AGPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite' 
'haskell-errors'
+ 'haskell-fgl' 'haskell-graphviz' 'haskell-hopenpgp' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-ixset-typed' 
'haskell-lens'
+ 'haskell-memory' 'haskell-monad-loops' 'haskell-openpgp-asciiarmor'
+ 'haskell-optparse-applicative' 'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 
'haskell-prettyprinter-convert-ansi-wl-pprint'
+ 'haskell-resourcet' 'haskell-time-locale-compat' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('alex' 'happy' 'ghc')
+source=(https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('73c83f939492c66b4ad5782e01acd0af97011a0ae797bce82d9431eb3e9c155ce1b4af1c4b3a5922f10e0e468c1c009cb270b8f15c7ba3236d9d8bf9e0265018')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--docdir="/usr/share/doc/${pkgname}"
+runhaskell Setup build $MAKEFLAGS
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+rm "$pkgdir/usr/share/doc/hopenpgp-tools/LICENSE"
+rmdir "$pkgdir/usr/share/doc/hopenpgp-tools" "$pkgdir/usr/share/doc" 
"$pkgdir/usr/share"
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:55:53
  Author: felixonmars
Revision: 874198

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 
874197, pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 21:55:53 UTC (rev 874198)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc-citeproc
+pkgver=0.17.0.2
+pkgrel=209
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-base-compat' 'haskell-data-default' 'haskell-hs-bibutils' 
'haskell-libyaml'
+ 'haskell-network' 'haskell-old-locale' 'pandoc' 
'haskell-pandoc-types' 'haskell-rfc5051'
+ 'haskell-safe' 'haskell-setenv' 'haskell-split' 'haskell-syb' 
'haskell-tagsoup'
+ 'haskell-temporary' 'haskell-text-icu' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-xml-conduit' 'haskell-yaml' 'haskell-hsyaml' 
'haskell-hsyaml-aeson')
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz;)
+sha512sums=('5ce079a542b096c06d6e4e205625a993422a972f04787495ac9013dd3131df62733f30e4c3004335e3738b02bb22a7ad50a31c1eb3f67d2b4ef51605c7fcbf16')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+uusi $pkgname.cabal
+# TODO: find a better solution
+sed -i 
"s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|"
 tests/test-pandoc-citeproc.hs
+}
+
+build() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/$pkgname" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils -f-static
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+# https://github.com/jgm/pandoc-citeproc/issues/342
+runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+cd "${srcdir}/$pkgname-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/$pkgname.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/$pkgname.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE"
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:53:33
  Author: felixonmars
Revision: 874196

archrelease: copy trunk to community-staging-x86_64

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

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

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


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:55:43
  Author: felixonmars
Revision: 874197

upgpkg: pandoc-citeproc 0.17.0.2-209: rebuild with http-date 0.0.11

Modified:
  pandoc-citeproc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 21:53:33 UTC (rev 874196)
+++ PKGBUILD2021-02-25 21:55:43 UTC (rev 874197)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc-citeproc
 pkgver=0.17.0.2
-pkgrel=208
+pkgrel=209
 pkgdesc="Supports using pandoc with citeproc"
 url="https://hackage.haskell.org/package/$pkgname;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:35:15
  Author: felixonmars
Revision: 874359

upgpkg: haskell-summoner 2.0.1.1-118: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-summoner/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:34:26 UTC (rev 874358)
+++ PKGBUILD2021-02-25 23:35:15 UTC (rev 874359)
@@ -4,7 +4,7 @@
 _hkgname=summoner
 pkgname=haskell-summoner
 pkgver=2.0.1.1
-pkgrel=117
+pkgrel=118
 pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
 url="https://github.com/kowainik/summoner;
 license=('MPL2')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:35:26
  Author: felixonmars
Revision: 874360

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-summoner/repos/community-staging-x86_64/PKGBUILD (from rev 
874359, haskell-summoner/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:35:26 UTC (rev 874360)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=summoner
+pkgname=haskell-summoner
+pkgver=2.0.1.1
+pkgrel=118
+pkgdesc="Tool for scaffolding fully configured batteries-included 
production-level Haskell projects."
+url="https://github.com/kowainik/summoner;
+license=('MPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-colourista' 
'haskell-generic-data' 'haskell-gitrev'
+ 'haskell-neat-interpolation' 'haskell-optparse-applicative' 
'haskell-relude'
+ 'haskell-shellmet' 'haskell-tomland' 'haskell-validation-selective')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 
'haskell-hspec-hedgehog' 'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('5b6eee2848e2fb0b65d34f4a980ecd6e7766629a42394348dc2166e2216fc496')
+
+prepare(){
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test || :
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:39:24
  Author: felixonmars
Revision: 874368

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hopenpgp/repos/community-staging-x86_64/PKGBUILD (from rev 
874367, haskell-hopenpgp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:39:24 UTC (rev 874368)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hOpenPGP
+pkgname=haskell-hopenpgp
+pkgver=2.9.5
+pkgrel=85
+pkgdesc="Native Haskell implementation of OpenPGP (RFC4880)"
+url="http://floss.scru.org/hOpenPGP/;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-asn1-encoding' 
'haskell-attoparsec'
+ 'haskell-base16-bytestring' 'haskell-bifunctors' 'haskell-bz2' 
'haskell-binary-conduit'
+ 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+ 'haskell-crypto-cipher-types' 'haskell-errors' 'haskell-hashable'
+ 'haskell-incremental-parser' 'haskell-ixset-typed' 'haskell-lens' 
'haskell-memory'
+ 'haskell-monad-loops' 'haskell-nettle' 'haskell-network-uri'
+ 'haskell-openpgp-asciiarmor' 'haskell-prettyprinter' 
'haskell-resourcet' 'haskell-split'
+ 'haskell-time-locale-compat' 'haskell-unliftio-core' 
'haskell-unordered-containers'
+ 'haskell-zlib')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('7e0ecc73054c5315093e7f64f92bc7c62a7f9ff1b2c985595db427a063460b3fc692343079676631987c9a651212d1d739289f9b1e2ecb1c086b2c9bd5a4ba0e')
+
+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 hopenpgp-tools/trunk (PKGBUILD)

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:40:29
  Author: felixonmars
Revision: 874369

upgpkg: hopenpgp-tools 0.23.6-40: rebuild with inspection-testing 0.4.3.0

Modified:
  hopenpgp-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:39:24 UTC (rev 874368)
+++ PKGBUILD2021-02-25 23:40:29 UTC (rev 874369)
@@ -3,7 +3,7 @@
 
 pkgname=hopenpgp-tools
 pkgver=0.23.6
-pkgrel=39
+pkgrel=40
 pkgdesc="hOpenPGP-based command-line tools"
 url="https://salsa.debian.org/clint/hopenpgp-tools;
 license=("AGPL3")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:58:29
  Author: felixonmars
Revision: 874200

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: shellcheck/repos/community-staging-x86_64/PKGBUILD (from rev 874199, 
shellcheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 21:58:29 UTC (rev 874200)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=ShellCheck
+pkgname=shellcheck
+pkgver=0.7.1
+pkgrel=308
+pkgdesc="Shell script analysis tool"
+url="https://www.shellcheck.net;
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-diff' 'haskell-quickcheck' 
'haskell-regex-tdfa')
+makedepends=('ghc' 'pandoc')
+source=("$_hkgname-$pkgver.tar.gz::https://github.com/koalaman/shellcheck/archive/v$pkgver.tar.gz;)
+sha512sums=('95ca827f50035e352eabfbee9eb1791278f7c18c10c3a6c2656c5b9e87396b7b6c088f4cefa3d6f954ac6c2765ea50e232985b9f3eeea2dbe77c17473cc4a437')
+
+prepare() {
+cd $pkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+
+./manpage
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m644 ${pkgname}.1   "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:37:47
  Author: felixonmars
Revision: 874366

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ixset-typed/repos/community-staging-x86_64/
  haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD
(from rev 874365, haskell-ixset-typed/trunk/PKGBUILD)

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

Copied: haskell-ixset-typed/repos/community-staging-x86_64/PKGBUILD (from rev 
874365, haskell-ixset-typed/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:37:47 UTC (rev 874366)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ixset-typed
+pkgname=haskell-ixset-typed
+pkgver=0.5
+pkgrel=121
+pkgdesc="Efficient relational queries on Haskell sets"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-safecopy' 'haskell-syb')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0f25a540835805cdea68b46de5956afa887172cf16135f7d13e1c1f59e750652defae74d3ecebdacdb606ddf3bdc515c370e0b57f7ada21e3aa3f6e1b62fe582')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}


[arch-commits] Commit in (4 files)

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:47:29
  Author: bastelfreak
Revision: 874193

add ruby-minitest-stub-const

Added:
  ruby-minitest-stub-const/
  ruby-minitest-stub-const/repos/
  ruby-minitest-stub-const/trunk/
  ruby-minitest-stub-const/trunk/PKGBUILD

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

Added: ruby-minitest-stub-const/trunk/PKGBUILD
===
--- ruby-minitest-stub-const/trunk/PKGBUILD (rev 0)
+++ ruby-minitest-stub-const/trunk/PKGBUILD 2021-02-25 21:47:29 UTC (rev 
874193)
@@ -0,0 +1,42 @@
+# Maintainer: Tim Meusel 
+
+_gemname='minitest-stub-const'
+pkgname="ruby-${_gemname}"
+pkgver=0.6
+pkgrel=1
+pkgdesc='Stub constants for the duration of a block in MiniTest.Similar to 
RSpecs stub_const'
+arch=('any')
+url='https://github.com/adammck/minitest-stub-const'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rake')
+checkdepends=('ruby-minitest')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
+sha512sums=('1363d85a75d84e2643eddd676d47f0969700854433697731f9896298ec53158f046e3e89ca3d1cbbe85f2cac037c51b5982c0f2f75c405b190d2501afb598a71')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake test
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


[arch-commits] Commit in (4 files)

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:45:35
  Author: bastelfreak
Revision: 874189

add ruby-minitest-retry

Added:
  ruby-minitest-retry/
  ruby-minitest-retry/repos/
  ruby-minitest-retry/trunk/
  ruby-minitest-retry/trunk/PKGBUILD

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

Added: ruby-minitest-retry/trunk/PKGBUILD
===
--- ruby-minitest-retry/trunk/PKGBUILD  (rev 0)
+++ ruby-minitest-retry/trunk/PKGBUILD  2021-02-25 21:45:35 UTC (rev 874189)
@@ -0,0 +1,48 @@
+# Maintainer: Tim Meusel 
+
+_gemname='minitest-retry'
+pkgname="ruby-${_gemname}"
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='re-run the test when the test fails'
+arch=('any')
+url='https://github.com/y-yagi/minitest-retry'
+license=('MIT')
+depends=('ruby' 'ruby-minitest')
+makedepends=('ruby-rake' 'ruby-bundler')
+checkdepends=()
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
+sha512sums=('50ac4d99253369a206ff5c04325d0ad8bbf263d81f905aec311c62d3a16a236ccf0d70688d00b2e76d963de63c5be539ae5812dc1dc35565e2b3069fc741d21f')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  # allow latest dependencies
+  sed --in-place 's|`git ls-files -z`|`find . -print0`|' "${_gemname}.gemspec"
+
+  # drop useless dependency
+  sed --in-place '/bundler/d' Rakefile "${_gemname}.gemspec"
+  sed --in-place '/pry/d' Gemfile test/test_helper.rb
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake test
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


[arch-commits] Commit in ruby-minitest-proveit/repos (2 files)

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:46:50
  Author: bastelfreak
Revision: 874192

archrelease: copy trunk to community-any

Added:
  ruby-minitest-proveit/repos/community-any/
  ruby-minitest-proveit/repos/community-any/PKGBUILD
(from rev 874191, ruby-minitest-proveit/trunk/PKGBUILD)

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

Copied: ruby-minitest-proveit/repos/community-any/PKGBUILD (from rev 874191, 
ruby-minitest-proveit/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2021-02-25 21:46:50 UTC (rev 874192)
@@ -0,0 +1,41 @@
+# Maintainer: Tim Meusel 
+
+_gemname='minitest-proveit'
+pkgname="ruby-${_gemname}"
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='forces all tests to prove success (via at least one assertion) rather 
than rely on the absence of failure.'
+arch=('any')
+url='https://github.com/seattlerb/minitest-proveit'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-hoe' 'ruby-bundler' 'git' 'ruby-rake')
+checkdepends=('ruby-minitest')
+options=('!emptydirs')
+source=("git+${url}#commit=1d86852bd820e1dc4f2d204231f1ebbc1b146075")
+sha512sums=('SKIP')
+
+prepare() {
+  cd "${srcdir}/${_gemname}"
+
+}
+
+build() {
+  cd "${srcdir}/${_gemname}"
+  rake package
+}
+
+check() {
+  cd "${srcdir}/${_gemname}"
+  rake test
+}
+
+package() {
+cd "${srcdir}/${_gemname}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" 
"pkg/${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 README.rdoc History.rdoc -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


[arch-commits] Commit in ruby-minitest-stub-const/repos (2 files)

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:47:38
  Author: bastelfreak
Revision: 874194

archrelease: copy trunk to community-any

Added:
  ruby-minitest-stub-const/repos/community-any/
  ruby-minitest-stub-const/repos/community-any/PKGBUILD
(from rev 874193, ruby-minitest-stub-const/trunk/PKGBUILD)

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

Copied: ruby-minitest-stub-const/repos/community-any/PKGBUILD (from rev 874193, 
ruby-minitest-stub-const/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2021-02-25 21:47:38 UTC (rev 874194)
@@ -0,0 +1,42 @@
+# Maintainer: Tim Meusel 
+
+_gemname='minitest-stub-const'
+pkgname="ruby-${_gemname}"
+pkgver=0.6
+pkgrel=1
+pkgdesc='Stub constants for the duration of a block in MiniTest.Similar to 
RSpecs stub_const'
+arch=('any')
+url='https://github.com/adammck/minitest-stub-const'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rake')
+checkdepends=('ruby-minitest')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
+sha512sums=('1363d85a75d84e2643eddd676d47f0969700854433697731f9896298ec53158f046e3e89ca3d1cbbe85f2cac037c51b5982c0f2f75c405b190d2501afb598a71')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake test
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:53:22
  Author: felixonmars
Revision: 874195

upgpkg: pandoc 2.11.3-60: rebuild with http-date 0.0.11

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 21:47:38 UTC (rev 874194)
+++ PKGBUILD2021-02-25 21:53:22 UTC (rev 874195)
@@ -3,7 +3,7 @@
 
 pkgname=pandoc
 pkgver=2.11.3
-pkgrel=59
+pkgrel=60
 pkgdesc='Conversion between markup formats'
 url='https://pandoc.org'
 license=('GPL')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:43:23
  Author: felixonmars
Revision: 874188

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 874187, 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 874187, haskell-hls-plugin-api/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 21:43:23 UTC (rev 874188)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hls-plugin-api
+pkgname=haskell-hls-plugin-api
+pkgver=0.6.0.0
+pkgrel=39
+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-hashable'
+ 'haskell-lsp' 'haskell-hslogger' 'haskell-lens' 'haskell-regex-tdfa' 
'haskell-shake'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('f1060ed8229120a3c60fc14da0bdaca33a2fb39b6c48f39ba0a045b02a10cd36')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u haskell-lsp $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in (4 files)

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:46:42
  Author: bastelfreak
Revision: 874191

add ruby-minitest-proveit

Added:
  ruby-minitest-proveit/
  ruby-minitest-proveit/repos/
  ruby-minitest-proveit/trunk/
  ruby-minitest-proveit/trunk/PKGBUILD

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

Added: ruby-minitest-proveit/trunk/PKGBUILD
===
--- ruby-minitest-proveit/trunk/PKGBUILD(rev 0)
+++ ruby-minitest-proveit/trunk/PKGBUILD2021-02-25 21:46:42 UTC (rev 
874191)
@@ -0,0 +1,41 @@
+# Maintainer: Tim Meusel 
+
+_gemname='minitest-proveit'
+pkgname="ruby-${_gemname}"
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='forces all tests to prove success (via at least one assertion) rather 
than rely on the absence of failure.'
+arch=('any')
+url='https://github.com/seattlerb/minitest-proveit'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-hoe' 'ruby-bundler' 'git' 'ruby-rake')
+checkdepends=('ruby-minitest')
+options=('!emptydirs')
+source=("git+${url}#commit=1d86852bd820e1dc4f2d204231f1ebbc1b146075")
+sha512sums=('SKIP')
+
+prepare() {
+  cd "${srcdir}/${_gemname}"
+
+}
+
+build() {
+  cd "${srcdir}/${_gemname}"
+  rake package
+}
+
+check() {
+  cd "${srcdir}/${_gemname}"
+  rake test
+}
+
+package() {
+cd "${srcdir}/${_gemname}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" 
"pkg/${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 README.rdoc History.rdoc -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


[arch-commits] Commit in ruby-minitest-retry/repos (2 files)

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:45:41
  Author: bastelfreak
Revision: 874190

archrelease: copy trunk to community-any

Added:
  ruby-minitest-retry/repos/community-any/
  ruby-minitest-retry/repos/community-any/PKGBUILD
(from rev 874189, ruby-minitest-retry/trunk/PKGBUILD)

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

Copied: ruby-minitest-retry/repos/community-any/PKGBUILD (from rev 874189, 
ruby-minitest-retry/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2021-02-25 21:45:41 UTC (rev 874190)
@@ -0,0 +1,48 @@
+# Maintainer: Tim Meusel 
+
+_gemname='minitest-retry'
+pkgname="ruby-${_gemname}"
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='re-run the test when the test fails'
+arch=('any')
+url='https://github.com/y-yagi/minitest-retry'
+license=('MIT')
+depends=('ruby' 'ruby-minitest')
+makedepends=('ruby-rake' 'ruby-bundler')
+checkdepends=()
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
+sha512sums=('50ac4d99253369a206ff5c04325d0ad8bbf263d81f905aec311c62d3a16a236ccf0d70688d00b2e76d963de63c5be539ae5812dc1dc35565e2b3069fc741d21f')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  # allow latest dependencies
+  sed --in-place 's|`git ls-files -z`|`find . -print0`|' "${_gemname}.gemspec"
+
+  # drop useless dependency
+  sed --in-place '/bundler/d' Rakefile "${_gemname}.gemspec"
+  sed --in-place '/pry/d' Gemfile test/test_helper.rb
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake test
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:43:12
  Author: felixonmars
Revision: 874187

upgpkg: haskell-hls-plugin-api 0.6.0.0-39: rebuild with http-date 0.0.11

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 21:42:41 UTC (rev 874186)
+++ PKGBUILD2021-02-25 21:43:12 UTC (rev 874187)
@@ -3,7 +3,7 @@
 _hkgname=hls-plugin-api
 pkgname=haskell-hls-plugin-api
 pkgver=0.6.0.0
-pkgrel=38
+pkgrel=39
 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 (4 files)

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:41:44
  Author: bastelfreak
Revision: 874183

add ruby-sd_notify

Added:
  ruby-sd_notify/
  ruby-sd_notify/repos/
  ruby-sd_notify/trunk/
  ruby-sd_notify/trunk/PKGBUILD

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

Added: ruby-sd_notify/trunk/PKGBUILD
===
--- ruby-sd_notify/trunk/PKGBUILD   (rev 0)
+++ ruby-sd_notify/trunk/PKGBUILD   2021-02-25 21:41:44 UTC (rev 874183)
@@ -0,0 +1,45 @@
+# Maintainer: Tim Meusel 
+
+_gemname='sd_notify'
+pkgname="ruby-${_gemname}"
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Pure Ruby implementation of systemd's sd_notify(3)"
+arch=('any')
+url='https://github.com/agis/ruby-sdnotify'
+license=('MIT')
+depends=('ruby')
+#checkdepends=('ruby-minitest')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
+sha512sums=('d2de7cf98e7b1ecf9401bb629b3209285d17328d4f624d6033242f36bbc577280f1cdac56040fed5ea29f913fd2d1950f6fe0b6d788078bbdbf53fb81c2570e9')
+
+prepare() {
+  cd "${srcdir}/ruby-sdnotify-${pkgver}"
+
+  # drop useless dependencies
+  sed --in-place '/rubocop/d' "${_gemname}.gemspec"
+}
+
+build() {
+  cd "${srcdir}/ruby-sdnotify-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/ruby-sdnotify-${pkgver}"
+  # the latest release has no tests, but master already does
+  # ruby -Ilib:test test/*
+}
+
+package() {
+cd "${srcdir}/ruby-sdnotify-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


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

2021-02-25 Thread Tim Meusel via arch-commits
Date: Thursday, February 25, 2021 @ 21:41:53
  Author: bastelfreak
Revision: 874184

archrelease: copy trunk to community-any

Added:
  ruby-sd_notify/repos/community-any/
  ruby-sd_notify/repos/community-any/PKGBUILD
(from rev 874183, ruby-sd_notify/trunk/PKGBUILD)

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

Copied: ruby-sd_notify/repos/community-any/PKGBUILD (from rev 874183, 
ruby-sd_notify/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2021-02-25 21:41:53 UTC (rev 874184)
@@ -0,0 +1,45 @@
+# Maintainer: Tim Meusel 
+
+_gemname='sd_notify'
+pkgname="ruby-${_gemname}"
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Pure Ruby implementation of systemd's sd_notify(3)"
+arch=('any')
+url='https://github.com/agis/ruby-sdnotify'
+license=('MIT')
+depends=('ruby')
+#checkdepends=('ruby-minitest')
+options=('!emptydirs')
+source=("${url}/archive/v${pkgver}/${_gemname}-v${pkgver}.tar.gz")
+sha512sums=('d2de7cf98e7b1ecf9401bb629b3209285d17328d4f624d6033242f36bbc577280f1cdac56040fed5ea29f913fd2d1950f6fe0b6d788078bbdbf53fb81c2570e9')
+
+prepare() {
+  cd "${srcdir}/ruby-sdnotify-${pkgver}"
+
+  # drop useless dependencies
+  sed --in-place '/rubocop/d' "${_gemname}.gemspec"
+}
+
+build() {
+  cd "${srcdir}/ruby-sdnotify-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/ruby-sdnotify-${pkgver}"
+  # the latest release has no tests, but master already does
+  # ruby -Ilib:test test/*
+}
+
+package() {
+cd "${srcdir}/ruby-sdnotify-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir 
"${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md CHANGELOG.md -t 
"${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+ }


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:42:30
  Author: felixonmars
Revision: 874185

upgpkg: haskell-shake 0.19.4-42: rebuild with http-date 0.0.11

Modified:
  haskell-shake/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 21:41:53 UTC (rev 874184)
+++ PKGBUILD2021-02-25 21:42:30 UTC (rev 874185)
@@ -4,7 +4,7 @@
 _hkgname=shake
 pkgname=haskell-shake
 pkgver=0.19.4
-pkgrel=41
+pkgrel=42
 pkgdesc="Build system library, like Make, but more accurate dependencies."
 url="https://shakebuild.com;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 21:42:41
  Author: felixonmars
Revision: 874186

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

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

Copied: haskell-shake/repos/community-staging-x86_64/PKGBUILD (from rev 874185, 
haskell-shake/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 21:42:41 UTC (rev 874186)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shake
+pkgname=haskell-shake
+pkgver=0.19.4
+pkgrel=42
+pkgdesc="Build system library, like Make, but more accurate dependencies."
+url="https://shakebuild.com;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filepattern' 'haskell-hashable'
+ 'haskell-heaps' 'haskell-js-dgtable' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-primitive' 'haskell-random' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('11e1598bbdc8d747615ea00bc8b2dd6b1a6c8402e488b437027b4b5cb8f60b0847327a41f3c220b04b1849267b1bb2ed24cc5ccbb3aeecca3213f1e29de2e575')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/ghc --make/ghc -dynamic --make/' 
src/Test/{Command.hs,CloseFileHandles.hs}
+sed -e 's/ghc -package=Cabal/ghc -package=Cabal -dynamic/' \
+-e 's/ghc -fno-code/ghc -dynamic -fno-code/' \
+-e 
's/"configure",/"configure","--enable-executable-dynamic","--disable-library-vanilla",/'
 \
+-i src/Test/Docs.hs
+sed -i 's/cmd "ghc" flags/cmd "ghc" "-dynamic" flags/' src/Test/Self.hs 
src/Test/SelfMake.hs
+sed -i 's/ghc --make/ghc -dynamic --make/' docs/manual/build.sh
+
+# Not sure about this one:
+sed -i 's/at cmd, called at/at want, called at/' src/Test/Errors.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
 --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-portable -f-cloud -f-embed-files
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:34:26
  Author: felixonmars
Revision: 874358

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-generic-data/repos/community-staging-x86_64/
  haskell-generic-data/repos/community-staging-x86_64/PKGBUILD
(from rev 874357, haskell-generic-data/trunk/PKGBUILD)

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

Copied: haskell-generic-data/repos/community-staging-x86_64/PKGBUILD (from rev 
874357, haskell-generic-data/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:34:26 UTC (rev 874358)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=generic-data
+pkgname=haskell-generic-data
+pkgver=0.9.2.0
+pkgrel=46
+pkgdesc="Deriving instances with GHC.Generics and related utilities"
+url="https://github.com/Lysxia/generic-data;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ap-normalize' 'haskell-base-orphans' 
'haskell-contravariant'
+ 'haskell-show-combinators')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 
'haskell-generic-lens' 'haskell-glob'
+ 'haskell-inspection-testing' 'haskell-one-liner' 
'haskell-quickcheck'
+ 'haskell-show-combinators' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-unordered-containers')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b670a5ff77f9c918b13a5580a48e6b6e9583e34eefb4d348680bd3fb27c0ab85b028ffbc6010be09180021f6af32ceea8b8e7ade529d97cf59b43fb1655f2297')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:33:25
  Author: felixonmars
Revision: 874356

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-generic-lens/repos/community-staging-x86_64/
  haskell-generic-lens/repos/community-staging-x86_64/PKGBUILD
(from rev 874355, haskell-generic-lens/trunk/PKGBUILD)

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

Copied: haskell-generic-lens/repos/community-staging-x86_64/PKGBUILD (from rev 
874355, haskell-generic-lens/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:33:25 UTC (rev 874356)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=generic-lens
+pkgname=haskell-generic-lens
+pkgver=2.1.0.0
+pkgrel=11
+pkgdesc="Generically derive traversals, lenses and prisms"
+url="https://github.com/kcsongor/generic-lens;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-generic-lens-core' 'haskell-profunctors')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hunit' 
'haskell-inspection-testing' 'haskell-lens')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d62f07d3133c4513478d868493d31350a6378cc6c31a7da88ca09b8e8d4032a82c7ae42cbbb0770167aeb15b289cb1401ae3f4576ff10bc39af6f5dca9d80640')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:34:15
  Author: felixonmars
Revision: 874357

upgpkg: haskell-generic-data 0.9.2.0-46: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-generic-data/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:33:25 UTC (rev 874356)
+++ PKGBUILD2021-02-25 23:34:15 UTC (rev 874357)
@@ -3,7 +3,7 @@
 _hkgname=generic-data
 pkgname=haskell-generic-data
 pkgver=0.9.2.0
-pkgrel=45
+pkgrel=46
 pkgdesc="Deriving instances with GHC.Generics and related utilities"
 url="https://github.com/Lysxia/generic-data;
 license=('MIT')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:32:19
  Author: felixonmars
Revision: 874353

upgpkg: dhall-yaml 1.2.5-25: rebuild with inspection-testing 0.4.3.0

Modified:
  dhall-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:31:44 UTC (rev 874352)
+++ PKGBUILD2021-02-25 23:32:19 UTC (rev 874353)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-yaml
 pkgver=1.2.5
-pkgrel=24
+pkgrel=25
 pkgdesc="Convert between Dhall and YAML"
 url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml;
 license=("GPL3")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:33:14
  Author: felixonmars
Revision: 874355

upgpkg: haskell-generic-lens 2.1.0.0-11: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-generic-lens/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:32:29 UTC (rev 874354)
+++ PKGBUILD2021-02-25 23:33:14 UTC (rev 874355)
@@ -3,7 +3,7 @@
 _hkgname=generic-lens
 pkgname=haskell-generic-lens
 pkgver=2.1.0.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Generically derive traversals, lenses and prisms"
 url="https://github.com/kcsongor/generic-lens;
 license=('BSD')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:32:29
  Author: felixonmars
Revision: 874354

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-yaml/repos/community-staging-x86_64/PKGBUILD (from rev 874353, 
dhall-yaml/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:32:29 UTC (rev 874354)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-yaml
+pkgver=1.2.5
+pkgrel=25
+pkgdesc="Convert between Dhall and YAML"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml;
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 
'haskell-ansi-terminal'
+ 'dhall' 'dhall-json' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-prettyprinter-ansi-terminal' 'haskell-vector')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('c443322c3cf597ba20c391e139f7b44d9f2adce3772c3a601a6652ef0bc909676e8ee985d7e59052abbc41e4f3b5ab926c5598069f3e74807967c3c55206c914')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+  
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in dhall-lsp-server/trunk (PKGBUILD)

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:31:33
  Author: felixonmars
Revision: 874351

upgpkg: dhall-lsp-server 1.0.13-26: rebuild with inspection-testing 0.4.3.0

Modified:
  dhall-lsp-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:30:44 UTC (rev 874350)
+++ PKGBUILD2021-02-25 23:31:33 UTC (rev 874351)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-lsp-server
 pkgver=1.0.13
-pkgrel=25
+pkgrel=26
 pkgdesc="Language Server Protocol (LSP) server for Dhall"
 
url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme;
 license=("custom:MIT")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:31:44
  Author: felixonmars
Revision: 874352

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-lsp-server/repos/community-staging-x86_64/PKGBUILD (from rev 
874351, dhall-lsp-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:31:44 UTC (rev 874352)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-lsp-server
+pkgver=1.0.13
+pkgrel=26
+pkgdesc="Language Server Protocol (LSP) server for Dhall"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server#readme;
+license=("custom:MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-data-default' 'dhall'
+ 'dhall-json' 'haskell-lsp' 'haskell-hslogger' 'haskell-lens' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-prettyprinter' 'haskell-rope-utf16-splay' 
'haskell-unordered-containers'
+ 'haskell-uri-encode')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-doctest' 
'haskell-lsp-types' 'haskell-lsp-test'
+ 'haskell-tasty' 'haskell-tasty-hspec')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('97821e85ac4b8610eeedc678cfe03f94758fbe3edb853ba12bb670aee583f6c78940092b6510a0e8cd5a3ce9d2b9089e28f95284452d6cb285cb75808dcc999a')
+
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u doctest $pkgname.cabal
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname-$pkgver
+  LD_LIBRARY_PATH="$PWD/dist/build" 
PATH="$PWD/dist/build/dhall-lsp-server:$PATH" runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:30:44
  Author: felixonmars
Revision: 874350

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-json/repos/community-staging-x86_64/PKGBUILD (from rev 874349, 
dhall-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:30:44 UTC (rev 874350)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-json
+pkgver=1.7.5
+pkgrel=25
+pkgdesc='Convert between Dhall and JSON or YAML'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-aeson-yaml' 'dhall'
+ 'haskell-lens-family-core' 'haskell-optparse-applicative' 
'haskell-prettyprinter'
+ 'haskell-scientific' 'haskell-unordered-containers' 
'haskell-prettyprinter-ansi-terminal')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-silver')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('566348f20bcb0b3fd738810ca907a94e5979345a22091595d45b922863a235ff2c2cdad5a69ce5209a11d0db91abf2e73b9501218538386d11773328d559d00e')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+# https://github.com/dhall-lang/dhall-haskell/issues/2151
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:29:53
  Author: felixonmars
Revision: 874348

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall-bash/repos/community-staging-x86_64/PKGBUILD (from rev 874347, 
dhall-bash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:29:53 UTC (rev 874348)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall-bash
+pkgver=1.0.36
+pkgrel=25
+pkgdesc='Compile Dhall to Bash'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'dhall' 'haskell-neat-interpolation' 'haskell-shell-escape'
+ 'haskell-optparse-generic')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('545e4981e0618a7c09f5ead9db79410ebb8d6d975cc7d42434bb3a0c479ba2886fa8fccf09ddcf35eca8fc1b9cc5ca9401519745e1797f38abcf683b93544bb5')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:30:34
  Author: felixonmars
Revision: 874349

upgpkg: dhall-json 1.7.5-25: rebuild with inspection-testing 0.4.3.0

Modified:
  dhall-json/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:29:53 UTC (rev 874348)
+++ PKGBUILD2021-02-25 23:30:34 UTC (rev 874349)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-json
 pkgver=1.7.5
-pkgrel=24
+pkgrel=25
 pkgdesc='Convert between Dhall and JSON or YAML'
 url='https://dhall-lang.org'
 license=('BSD')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:29:00
  Author: felixonmars
Revision: 874345

upgpkg: dhall 1.38.0-25: rebuild with inspection-testing 0.4.3.0

Modified:
  dhall/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:27:08 UTC (rev 874344)
+++ PKGBUILD2021-02-25 23:29:00 UTC (rev 874345)
@@ -2,7 +2,7 @@
 
 pkgname=dhall
 pkgver=1.38.0
-pkgrel=24
+pkgrel=25
 pkgdesc='A configuration language guaranteed to terminate'
 url='https://dhall-lang.org'
 license=('BSD')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:29:43
  Author: felixonmars
Revision: 874347

upgpkg: dhall-bash 1.0.36-25: rebuild with inspection-testing 0.4.3.0

Modified:
  dhall-bash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:29:10 UTC (rev 874346)
+++ PKGBUILD2021-02-25 23:29:43 UTC (rev 874347)
@@ -2,7 +2,7 @@
 
 pkgname=dhall-bash
 pkgver=1.0.36
-pkgrel=24
+pkgrel=25
 pkgdesc='Compile Dhall to Bash'
 url='https://dhall-lang.org'
 license=('BSD')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:27:08
  Author: felixonmars
Revision: 874344

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-generic-random/repos/community-staging-x86_64/
  haskell-generic-random/repos/community-staging-x86_64/PKGBUILD
(from rev 874343, haskell-generic-random/trunk/PKGBUILD)

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

Copied: haskell-generic-random/repos/community-staging-x86_64/PKGBUILD (from 
rev 874343, haskell-generic-random/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:27:08 UTC (rev 874344)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=generic-random
+pkgname=haskell-generic-random
+pkgver=1.3.0.1
+pkgrel=71
+pkgdesc="Generic random generators for QuickCheck"
+url="https://github.com/lysxia/generic-random;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck')
+makedepends=('ghc' 'haskell-inspection-testing')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d936f6b2cab03275e37f07664602a2ab0037efa1a0b76682bd032141390f14ad70c263fed64bf9105a71b098c67d7ce06dccb78ec1d8cc59fc9ffd1e05fde8b8')
+
+build() {
+cd $_hkgname-$pkgver
+
+# Tests disabled: https://github.com/Lysxia/generic-random/issues/22
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+#runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:29:10
  Author: felixonmars
Revision: 874346

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dhall/repos/community-staging-x86_64/PKGBUILD (from rev 874345, 
dhall/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:29:10 UTC (rev 874346)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgname=dhall
+pkgver=1.38.0
+pkgrel=25
+pkgdesc='A configuration language guaranteed to terminate'
+url='https://dhall-lang.org'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-ansi-terminal'
+ 'haskell-atomic-write' 'haskell-case-insensitive' 'haskell-cborg' 
'haskell-cborg-json'
+ 'haskell-contravariant' 'haskell-data-fix' 'haskell-diff' 
'haskell-dotgen'
+ 'haskell-either' 'haskell-half' 'haskell-hashable' 
'haskell-lens-family-core'
+ 'haskell-megaparsec' 'haskell-memory' 'haskell-mmorph' 
'haskell-network-uri'
+ 'haskell-optparse-applicative' 'haskell-parsers' 
'haskell-parser-combinators'
+ 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal' 
'haskell-pretty-simple'
+ 'haskell-profunctors' 'haskell-repline' 'haskell-serialise' 
'haskell-scientific'
+ 'haskell-text-manipulate' 'haskell-th-lift-instances' 
'haskell-transformers-compat'
+ 'haskell-unordered-containers' 'haskell-uri-encode' 'haskell-vector' 
'haskell-cryptonite'
+ 'haskell-http-types' 'haskell-http-client' 'haskell-http-client-tls')
+makedepends=('ghc' 'haskell-foldl' 'haskell-generic-random' 'haskell-mockery' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-special-values' 
'haskell-spoon'
+ 'haskell-tasty' 'haskell-tasty-expected-failure' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck' 'haskell-tasty-silver' 
'haskell-turtle' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('ebb8525053d3d315c8f620d4b0fa760188d918978a991e0457a8f66d75463934e0d99869d52bad3b3f8faa2329843b86512aaf0978fbb5c6e7247efa510e873f')
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+# https://github.com/dhall-lang/dhall-haskell/issues/1985
+#runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:26:35
  Author: felixonmars
Revision: 874342

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 874341, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:26:35 UTC (rev 874342)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.7.0.0
+pkgrel=43
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-applicative'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('620f0b3ff2bafb5846f7b98f81dc230491f71b6160fe95f608fbfd6c50e648d8547e85dbd99fdc387f89ea27c2fe7160e2d013cd508607bdc765ea06e9d7119d')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-submit"
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-submit"
+} 


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:26:58
  Author: felixonmars
Revision: 874343

upgpkg: haskell-generic-random 1.3.0.1-71: rebuild with inspection-testing 
0.4.3.0

Modified:
  haskell-generic-random/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:26:35 UTC (rev 874342)
+++ PKGBUILD2021-02-25 23:26:58 UTC (rev 874343)
@@ -3,7 +3,7 @@
 _hkgname=generic-random
 pkgname=haskell-generic-random
 pkgver=1.3.0.1
-pkgrel=70
+pkgrel=71
 pkgdesc="Generic random generators for QuickCheck"
 url="https://github.com/lysxia/generic-random;
 license=('MIT')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:25:23
  Author: felixonmars
Revision: 874340

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hiedb/repos/community-staging-x86_64/PKGBUILD (from rev 874339, 
haskell-hiedb/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:25:23 UTC (rev 874340)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hiedb
+pkgname=haskell-hiedb
+pkgver=0.3.0.1
+pkgrel=10
+pkgdesc="Generates a references DB from .hie files"
+url="https://github.com/wz1000/HieDb;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-algebraic-graphs' 'haskell-ansi-terminal' 
'haskell-extra' 'haskell-ghc'
+ 'haskell-ghc-paths' 'haskell-hie-compat' 'haskell-lucid' 
'haskell-optparse-applicative'
+ 'haskell-sqlite-simple')
+makedepends=('ghc' 'haskell-hspec' 'haskell-temporary')
+# https://github.com/wz1000/HieDb/pull/27
+#source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+source=("https://github.com/wz1000/HieDb/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('7c0d3c56f7c0ea9b5af84f9c9f8547dc2a12abf0ab3e599c9ebdff3d2bf7b980')
+
+prepare() {
+  cd HieDb-$pkgver
+  sed -i 's/callProcess "ghc" \$/callProcess "ghc" $ "-dynamic" :/' 
test/Main.hs
+}
+
+build() {
+  cd HieDb-$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 HieDb-$pkgver
+  # https://github.com/wz1000/HieDb/issues/28
+  PATH="$PWD/dist/build/hiedb:$PATH" LD_LIBRARY_PATH="$PWD/dist/build" 
runhaskell Setup test || echo "Tests failed"
+}
+
+package() {
+  cd HieDb-$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 arch-hs/trunk (PKGBUILD)

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:26:25
  Author: felixonmars
Revision: 874341

upgpkg: arch-hs 0.7.0.0-43: rebuild with inspection-testing 0.4.3.0

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:25:23 UTC (rev 874340)
+++ PKGBUILD2021-02-25 23:26:25 UTC (rev 874341)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.7.0.0
-pkgrel=42
+pkgrel=43
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:24:35
  Author: felixonmars
Revision: 874338

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-algebraic-graphs/repos/community-staging-x86_64/
  haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD
(from rev 874337, haskell-algebraic-graphs/trunk/PKGBUILD)

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

Copied: haskell-algebraic-graphs/repos/community-staging-x86_64/PKGBUILD (from 
rev 874337, haskell-algebraic-graphs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:24:35 UTC (rev 874338)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=algebraic-graphs
+pkgname=haskell-algebraic-graphs
+pkgver=0.5
+pkgrel=65
+pkgdesc="A library for algebraic graph construction and transformation"
+url="https://github.com/snowleopard/alga;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 
'haskell-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.14/<3/' $_hkgname.cabal
+  sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' 
test/Algebra/Graph/Test/Arbitrary.hs
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:25:13
  Author: felixonmars
Revision: 874339

upgpkg: haskell-hiedb 0.3.0.1-10: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-hiedb/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:24:35 UTC (rev 874338)
+++ PKGBUILD2021-02-25 23:25:13 UTC (rev 874339)
@@ -3,7 +3,7 @@
 _hkgname=hiedb
 pkgname=haskell-hiedb
 pkgver=0.3.0.1
-pkgrel=9
+pkgrel=10
 pkgdesc="Generates a references DB from .hie files"
 url="https://github.com/wz1000/HieDb;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:24:23
  Author: felixonmars
Revision: 874337

upgpkg: haskell-algebraic-graphs 0.5-65: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-algebraic-graphs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:21:11 UTC (rev 874336)
+++ PKGBUILD2021-02-25 23:24:23 UTC (rev 874337)
@@ -3,7 +3,7 @@
 _hkgname=algebraic-graphs
 pkgname=haskell-algebraic-graphs
 pkgver=0.5
-pkgrel=64
+pkgrel=65
 pkgdesc="A library for algebraic graph construction and transformation"
 url="https://github.com/snowleopard/alga;
 license=('MIT')


[arch-commits] Commit in thunderbird/repos/extra-x86_64 (14 files)

2021-02-25 Thread Levente Polyak via arch-commits
Date: Thursday, February 25, 2021 @ 23:22:49
  Author: anthraxx
Revision: 408828

archrelease: copy trunk to extra-x86_64

Added:
  thunderbird/repos/extra-x86_64/PKGBUILD
(from rev 408827, thunderbird/trunk/PKGBUILD)
  
thunderbird/repos/extra-x86_64/configure-fix-passing-system-bzip2-ldflags.patch
(from rev 408827, 
thunderbird/trunk/configure-fix-passing-system-bzip2-ldflags.patch)
  thunderbird/repos/extra-x86_64/distribution.ini
(from rev 408827, thunderbird/trunk/distribution.ini)
  thunderbird/repos/extra-x86_64/mozconfig.cfg
(from rev 408827, thunderbird/trunk/mozconfig.cfg)
  thunderbird/repos/extra-x86_64/thunderbird-78.5-rust-1.48.patch
(from rev 408827, thunderbird/trunk/thunderbird-78.5-rust-1.48.patch)
  thunderbird/repos/extra-x86_64/thunderbird.desktop
(from rev 408827, thunderbird/trunk/thunderbird.desktop)
  thunderbird/repos/extra-x86_64/vendor-prefs.js
(from rev 408827, thunderbird/trunk/vendor-prefs.js)
Deleted:
  thunderbird/repos/extra-x86_64/PKGBUILD
  
thunderbird/repos/extra-x86_64/configure-fix-passing-system-bzip2-ldflags.patch
  thunderbird/repos/extra-x86_64/distribution.ini
  thunderbird/repos/extra-x86_64/mozconfig.cfg
  thunderbird/repos/extra-x86_64/thunderbird-78.5-rust-1.48.patch
  thunderbird/repos/extra-x86_64/thunderbird.desktop
  thunderbird/repos/extra-x86_64/vendor-prefs.js

--+
 PKGBUILD |  532 -
 configure-fix-passing-system-bzip2-ldflags.patch |   50 
 distribution.ini |   16 
 mozconfig.cfg|   96 
 thunderbird-78.5-rust-1.48.patch | 7882 ++---
 thunderbird.desktop  |  346 
 vendor-prefs.js  |   34 
 7 files changed, 4478 insertions(+), 4478 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 408827:408828 to see the changes.


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:21:11
  Author: felixonmars
Revision: 874336

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-ap-normalize/repos/community-staging-x86_64/
  haskell-ap-normalize/repos/community-staging-x86_64/PKGBUILD
(from rev 874335, haskell-ap-normalize/trunk/PKGBUILD)

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

Copied: haskell-ap-normalize/repos/community-staging-x86_64/PKGBUILD (from rev 
874335, haskell-ap-normalize/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:21:11 UTC (rev 874336)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ap-normalize
+pkgname=haskell-ap-normalize
+pkgver=0.1.0.0
+pkgrel=6
+pkgdesc="Self-normalizing applicative expressions"
+url="https://github.com/lysxia/ap-normalize;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-inspection-testing')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d7e1cab752de11d0959bdd2be41dde164e35de94f3ebc2fad978e2c5ead23ff9c78c591b4045f237631118740a421b930ad0caa1dcdae9a68a458371980e9d02')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Levente Polyak via arch-commits
Date: Thursday, February 25, 2021 @ 23:22:36
  Author: anthraxx
Revision: 408827

upgpkg: thunderbird 78.8.0-1

Modified:
  thunderbird/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 20:28:34 UTC (rev 408826)
+++ PKGBUILD2021-02-25 23:22:36 UTC (rev 408827)
@@ -7,7 +7,7 @@
 
 pkgbase=thunderbird
 pkgname=(thunderbird)
-pkgver=78.7.1
+pkgver=78.8.0
 pkgrel=1
 pkgdesc='Standalone mail and news reader from mozilla.org'
 url='https://www.mozilla.org/thunderbird/'
@@ -199,7 +199,7 @@
 esac
 done
 
-sha512sums=('fe5635eda67ea356cc83e8e5ced4ca3c4555a964192c3e77fa0095a26a8e7366c6520604283bb9f3a5f529fee18baf54ca169bdcb7b402bd3752157b95848bc4'
+sha512sums=('c7d31ab6b2863c14fe7e11df4e805ca0ecd1f6e6b5e7d5ec73939500c5125faeec213b4df25f23a5f152345027926356b7df47efcfa60ff0f9e5b825119f0e51'
 'SKIP'
 
'a0061fcb2a7f66061e336a8d95948592f56f4752e56467f14ba63846720ebf845cce7511d1a2637e3b80d5a1ffdaa2fb783fa37195103425ef65222d45372012'
 
'6918c0de63deeddc6f53b9ba331390556c12e0d649cf54587dfaabb98b32d6a597b63cf02809c7c58b15501720455a724d527375a8fb9d757ccca57460320734'
@@ -207,60 +207,60 @@
 
'e44fd608fb4975914479b4a1a5aa44e87f125564fb812fb46c0ee07d503dfdcdb444d7335efe90436caecc7be502aae6b558c585013ee924e618e6213988ae99'
 
'e3ed2708b8354015cb3d2c81048d1ce4932d1effbe2b40efa7cf9b45c1b923b9fd708645e2f8aa0136a485a3f7ce6b396b85721aaf535a4a764fd5005fb7e222'
 
'bbb8b0e7b9c67372eb22e1d6b6b5758fe504ded84c40a076d4a064374a1bf34ac12d5b514b328ac9ca984d976b9e0fbde81e68a66bec915c997d6be0c0917584'
-
'34a430b789c0032b5f093d206ac3cfb7b63c59d0e08fd439f0793790475eb1691932b8babac5a067d48c381e497127e9d11f9abdecd8e70f953320142403f539'
-
'dfe810e362fa0947d4a5f491b0899def9e9da463f39af4335634dc843172a3a296a49dc0d13e5d8a25fce6acb608b7ab82b8a32236eb52815a05372231af'
-
'e1f51aeb93111b8123c07318859fd66950f31f6582b61164680fd7fc7f3a217f35bcba4d0341be77e1167b71006e3275169a2e50e546622389e77c2256cddd19'
-
'b1e15994104e05897222308b9fe519813492be5da6166e793cc0d91e90c61678c7d4c1b82a1027f33dfa19f7bb69aaa13be61525ddb0460396ff1ccac545b07a'
-
'961d6d6aea6eed4eac787e2b443bf465d041221e8e1387ccc96de79da8a057ac26a3337cdcc4c328f792aa5a56298ad53c3db37426730ad6dd2784bdd2cc2a7c'
-
'7e002f78f84acb130d8d5542451c8fe7168e8994c00413da912e789b096b4c1fe325158d727b2044d316568b4ed058d071752b014df68b369a6b36b8dfb4cb73'
-
'cfbf99ab4fde04aae64f0d100d2c567fad4db3853b9fc6635bceed6dd1d86cb5fe692ea27ee8fdd6ae67c6001fc47e7315107787944734a011804d9834c579dc'
-
'02f7be6a3b77c5b0db4fb6b50958d91564d1069fe797195943d5302316e289d8da792acedac2d5a110e914e46ac7220423b055d3380d7f00e4350fc674cb3e2b'
-
'c9df0d22d1fce230e89fdf29b7c3d9a825002e7928b5bf30489974c77040d085ce25db488cfeba8ea61aa5d263f8b625cf4edf0e7440a0fa5bf8423124fd7e68'
-
'5bc1c5f59a64e483ecf11ddd42e70143cd130ff314ff7fd73867ef8a830bcab74ff1b1674393b332103804c040f10b3bf6ce851c3e5c44ec75daaecc1deb9e5c'
-
'9db0ca9433077fa26de4e6a973cbe20e9a2ec41ee9d3e74c531e7c88ecae7e8ba50259cca0494ad63042050a0465eb51e40244f61f513134fa32e879f2710230'
-
'868d0ebfc82678c7aa10042789054dfe9ae4fe7a5ae0b67ebd18be029053ec1f74f25edce5704d9ba05664e77c365b71335399e56bf5b6670364c03f05393fd0'
-
'794bb8e10f5c24b98cf15ba2475043a14d1ee9a1df1881ae5036ee62c323e001ade87d0eeead597a2064a3034db748b54198db8be5b405844a118c48b18e1fe6'
-
'd03c1313ee4a73b61d63953de7923b4971e295c2381cbc972636e6a473fd7a1beab80b2a7c4f5082d95f925d76bccb6dd16c998bec6960366eef150af613fc23'
-
'e57066af4cb8d84c081eb22517e1fb7ac5977dae801eebb3aa4f97cb4b839a239cf345deab21c8818e022f74e5a4f2b92e8359d6c1106c80660225c15587f279'
-
'8aece81c6a4f62299f645e96ed40218bd25b946131292b1d5e9d19ef0b7b73bcece2af6230871fb2efff16ad4726a7bff8718706e58b990794d505b8f5cb5103'
-
'af732a1ddca07237c80ce69190e208125dac124a7843a11cafd96876810b6144cd3d9793ce7c87856cb4145648f5b201a2096f51e75d86a3f5457730a2942072'
-
'ad8ca0510d0c809a11fd4785cf06bf7aa0d9599a5b3f39688bf92ba690fdbdc27c4e0eeb01c33d916683fae25780114c8f917c2691a22effd9f370dbfc80a930'
-
'ba397c237bf936196e06c233a682a36fb8769fc73277bb46e8950545854ca6048fbdd56b418cac12964be4bf10c68a5a0dbacd928955a091741dfb3a65b8d341'
-
'24b49b86e7582d67d70b24667fd94a301eef6af835136c2adbbebe412d9dde8f63e0e2dde43f4f37096da38d0e6d886a89b28e0138d6311fae69d34b4fb3f128'
-
'7aa34efeb70d0900b2f51932e8509c5a5b980c557c7fc27997db8273a4899289ddc964ab96d901854aaf8da2b343cbb2c8ca4c92f0c5fe650968f6c3033696d3'
-
'ecf380c370a24182d1403cf8ae14faa18bbb5f1ca435e360f12d8bba845c7e4b800425d882756e451e0264f0f52829c1c384f24005631b48f77a11bb45c4d61f'
-

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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:20:37
  Author: felixonmars
Revision: 874334

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-polysemy/repos/community-staging-x86_64/PKGBUILD (from rev 
874333, haskell-polysemy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:20:37 UTC (rev 874334)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=polysemy
+pkgname=haskell-polysemy
+pkgver=1.4.0.0
+pkgrel=40
+pkgdesc="Higher-order, low-boilerplate, zero-cost free monads"
+url="https://github.com/isovector/polysemy;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-async' 
'haskell-first-class-families' 'haskell-syb'
+ 'haskell-th-abstraction' 'haskell-type-errors' 
'haskell-type-errors-pretty'
+ 'haskell-unagi-chan')
+makedepends=('ghc' 'uusi' 'haskell-cabal-doctest' 'haskell-hspec-discover' 
'haskell-doctest' 'haskell-hspec'
+ 'haskell-inspection-testing')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('6c7c0140871de1a3245fe2b33e3c4a570a2b41c914b82a96f043374d51fc842efbc2cc2c8a6ccff2ad9e58d8ae14fa2d40d926246435ddd83dbfefe9b9c99cb3')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:20:26
  Author: felixonmars
Revision: 874333

upgpkg: haskell-polysemy 1.4.0.0-40: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-polysemy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:19:47 UTC (rev 874332)
+++ PKGBUILD2021-02-25 23:20:26 UTC (rev 874333)
@@ -3,7 +3,7 @@
 _hkgname=polysemy
 pkgname=haskell-polysemy
 pkgver=1.4.0.0
-pkgrel=39
+pkgrel=40
 pkgdesc="Higher-order, low-boilerplate, zero-cost free monads"
 url="https://github.com/isovector/polysemy;
 license=('BSD')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:21:00
  Author: felixonmars
Revision: 874335

upgpkg: haskell-ap-normalize 0.1.0.0-6: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-ap-normalize/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:20:37 UTC (rev 874334)
+++ PKGBUILD2021-02-25 23:21:00 UTC (rev 874335)
@@ -3,7 +3,7 @@
 _hkgname=ap-normalize
 pkgname=haskell-ap-normalize
 pkgver=0.1.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Self-normalizing applicative expressions"
 url="https://github.com/lysxia/ap-normalize;
 license=('MIT')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:19:47
  Author: felixonmars
Revision: 874332

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-rere/repos/community-staging-x86_64/PKGBUILD (from rev 874331, 
haskell-rere/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:19:47 UTC (rev 874332)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=rere
+pkgname=haskell-rere
+pkgver=0.1
+pkgrel=10
+pkgdesc="Regular-expressions extended with fixpoints for context-free powers"
+url="https://github.com/phadej/rere.git;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-fin' 'haskell-vec')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck-instances' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('4c79e0e8d7101e0e0177716d0b912aa7a2bbdeb91533b599e6b4e24e55b35343')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u QuickCheck -u tasty $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:19:37
  Author: felixonmars
Revision: 874331

upgpkg: haskell-rere 0.1-10: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-rere/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:19:01 UTC (rev 874330)
+++ PKGBUILD2021-02-25 23:19:37 UTC (rev 874331)
@@ -3,7 +3,7 @@
 _hkgname=rere
 pkgname=haskell-rere
 pkgver=0.1
-pkgrel=9
+pkgrel=10
 pkgdesc="Regular-expressions extended with fixpoints for context-free powers"
 url="https://github.com/phadej/rere.git;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:18:50
  Author: felixonmars
Revision: 874329

upgpkg: haskell-vec 0.3-10: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-vec/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:18:21 UTC (rev 874328)
+++ PKGBUILD2021-02-25 23:18:50 UTC (rev 874329)
@@ -3,7 +3,7 @@
 _hkgname=vec
 pkgname=haskell-vec
 pkgver=0.3
-pkgrel=9
+pkgrel=10
 pkgdesc="Vec: length-indexed (sized) list"
 url="https://github.com/phadej/vec;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:19:01
  Author: felixonmars
Revision: 874330

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-vec/repos/community-staging-x86_64/PKGBUILD (from rev 874329, 
haskell-vec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:19:01 UTC (rev 874330)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=vec
+pkgname=haskell-vec
+pkgver=0.3
+pkgrel=10
+pkgdesc="Vec: length-indexed (sized) list"
+url="https://github.com/phadej/vec;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-adjunctions' 
'haskell-distributive' 'haskell-fin'
+ 'haskell-hashable' 'haskell-semigroupoids')
+makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-inspection-testing' 
'haskell-tagged')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('59172984048113abbdf6daf9d98cce793c624c4413b1772d2719588ee5985264')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u base -u QuickCheck $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:04:10
  Author: felixonmars
Revision: 874280

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 874279, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:04:10 UTC (rev 874280)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=244
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+ 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
+ 'haskell-parsec' 'haskell-protolude' 'haskell-regex-tdfa' 
'haskell-scientific'
+ 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static'
+ 'haskell-auto-update' 'haskell-retry' 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
+ 'haskell-hspec-wai-json' 'haskell-monad-control' 
'haskell-transformers-base')
+checkdepends=('pifpaf' 'postgresql' 'procps-ng')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
+sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+uusi $pkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-CI --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+
+eval $(pifpaf run postgresql --host 127.0.0.1)
+createdb postgrest_test
+
+# TODO: user authentication issue?
+POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || echo 
"Tests failed"
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:18:21
  Author: felixonmars
Revision: 874328

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fin/repos/community-staging-x86_64/PKGBUILD (from rev 874327, 
haskell-fin/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:18:21 UTC (rev 874328)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fin
+pkgname=haskell-fin
+pkgver=0.1.1
+pkgrel=9
+pkgdesc="Nat and Fin: peano naturals and finite numbers"
+url="https://github.com/phadej/vec;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-dec' 'haskell-hashable')
+makedepends=('ghc' 'uusi' 'haskell-inspection-testing' 'haskell-tagged')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('31e3174c0220ed6ca07c02982105279d01309e71791534355c612e1a45478c7f')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+  uusi -u base -u QuickCheck $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:17:43
  Author: felixonmars
Revision: 874326

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-inspection-testing/repos/community-staging-x86_64/
  haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD
(from rev 874325, haskell-inspection-testing/trunk/PKGBUILD)

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

Copied: haskell-inspection-testing/repos/community-staging-x86_64/PKGBUILD 
(from rev 874325, haskell-inspection-testing/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:17:43 UTC (rev 874326)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=inspection-testing
+pkgname=haskell-inspection-testing
+pkgver=0.4.3.0
+pkgrel=1
+pkgdesc="GHC plugin to do inspection testing"
+url="https://github.com/nomeata/inspection-testing;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('dda037b708199cffa51c434d609720e6c5ac07b870accb6c8523a837bf5ad20f56efcc597a29d610e4b1e93c2c24dbd044888e8bc986c426c987beac6d8abff6')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:17:33
  Author: felixonmars
Revision: 874325

upgpkg: haskell-inspection-testing 0.4.3.0-1: rebuild with inspection-testing 
0.4.3.0

Modified:
  haskell-inspection-testing/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:14:54 UTC (rev 874324)
+++ PKGBUILD2021-02-25 23:17:33 UTC (rev 874325)
@@ -2,8 +2,8 @@
 
 _hkgname=inspection-testing
 pkgname=haskell-inspection-testing
-pkgver=0.4.2.4
-pkgrel=6
+pkgver=0.4.3.0
+pkgrel=1
 pkgdesc="GHC plugin to do inspection testing"
 url="https://github.com/nomeata/inspection-testing;
 license=('MIT')
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-ghc')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('16ebfcd20e4ee3a9117670ad9e0d683002262a2f3c52dcfdb7c7123f256db4f133780e759a80469a14c786a4158ef9ba4e7d534e728e8d44188b11765a1e8745')
+sha512sums=('dda037b708199cffa51c434d609720e6c5ac07b870accb6c8523a837bf5ad20f56efcc597a29d610e4b1e93c2c24dbd044888e8bc986c426c987beac6d8abff6')
 
 build() {
 cd $_hkgname-$pkgver


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:18:09
  Author: felixonmars
Revision: 874327

upgpkg: haskell-fin 0.1.1-9: rebuild with inspection-testing 0.4.3.0

Modified:
  haskell-fin/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:17:43 UTC (rev 874326)
+++ PKGBUILD2021-02-25 23:18:09 UTC (rev 874327)
@@ -3,7 +3,7 @@
 _hkgname=fin
 pkgname=haskell-fin
 pkgver=0.1.1
-pkgrel=8
+pkgrel=9
 pkgdesc="Nat and Fin: peano naturals and finite numbers"
 url="https://github.com/phadej/vec;
 license=("BSD")


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

2021-02-25 Thread Johannes Löthberg via arch-commits
Date: Thursday, February 25, 2021 @ 23:02:26
  Author: demize
Revision: 874277

upgpkg: matrix-synapse 1.28.0-1

Modified:
  matrix-synapse/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:01:58 UTC (rev 874276)
+++ PKGBUILD2021-02-25 23:02:26 UTC (rev 874277)
@@ -2,7 +2,7 @@
 # Contributor: Ivan Shapovalov 
 
 pkgname=matrix-synapse
-pkgver=1.27.0
+pkgver=1.28.0
 pkgrel=1
 
 pkgdesc="Matrix reference homeserver"
@@ -37,7 +37,7 @@
 'sysusers-synapse.conf'
 'tmpfiles-synapse.conf')
 
-sha256sums=('d87ba2187210eff0571106315421a81b9bf5c5101deb5e6f849921ad28ff3f5a'
+sha256sums=('509c5241ae6621b397d769cc9665a8f86983b2e8f17d63795721601600d8132c'
 'ce434eaa92e6504988fb9005d49c078ab7a2d33951d8adece26ccce8b2475857'
 'aadfdd78fe73e6eb325ee4299b8db8b97bfa2f4e7df953aa8477f442598a7ec5'
 '65588c8c64dfb84cab831cd8d028a295d753cf7322dd63053e8488466047b45f')


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:01:58
  Author: felixonmars
Revision: 874276

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai-middleware-static/repos/community-staging-x86_64/PKGBUILD 
(from rev 874275, haskell-wai-middleware-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:01:58 UTC (rev 874276)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-middleware-static
+pkgname=haskell-wai-middleware-static
+pkgver=0.9.0
+pkgrel=90
+pkgdesc="WAI middleware that serves requests to static files"
+url="https://github.com/scotty-web/wai-middleware-static;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-cryptonite' 'haskell-memory' 
'haskell-expiring-cache-map'
+ 'haskell-http-types' 'haskell-mime-types' 'haskell-old-locale' 
'haskell-wai')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-hspec-expectations-lifted'
+ 'haskell-hspec-wai' 'haskell-mockery' 'haskell-scotty' 
'haskell-wai-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4833afa649ed2e9604f396481dbf5e1f4d96db841fb9c300a9c0b66641241c12c14d8e010860626a3d4bf00507fa0b28b5480d37ac1f8d6daa1c3e96685b654c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in matrix-synapse/repos (6 files)

2021-02-25 Thread Johannes Löthberg via arch-commits
Date: Thursday, February 25, 2021 @ 23:02:34
  Author: demize
Revision: 874278

archrelease: copy trunk to community-testing-any

Added:
  matrix-synapse/repos/community-testing-any/
  matrix-synapse/repos/community-testing-any/PKGBUILD
(from rev 874277, matrix-synapse/trunk/PKGBUILD)
  matrix-synapse/repos/community-testing-any/synapse.install
(from rev 874277, matrix-synapse/trunk/synapse.install)
  matrix-synapse/repos/community-testing-any/synapse.service
(from rev 874277, matrix-synapse/trunk/synapse.service)
  matrix-synapse/repos/community-testing-any/sysusers-synapse.conf
(from rev 874277, matrix-synapse/trunk/sysusers-synapse.conf)
  matrix-synapse/repos/community-testing-any/tmpfiles-synapse.conf
(from rev 874277, matrix-synapse/trunk/tmpfiles-synapse.conf)

---+
 PKGBUILD  |   70 
 synapse.install   |   47 
 synapse.service   |   18 
 sysusers-synapse.conf |1 
 tmpfiles-synapse.conf |1 
 5 files changed, 137 insertions(+)

Copied: matrix-synapse/repos/community-testing-any/PKGBUILD (from rev 874277, 
matrix-synapse/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2021-02-25 23:02:34 UTC (rev 874278)
@@ -0,0 +1,70 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgname=matrix-synapse
+pkgver=1.28.0
+pkgrel=1
+
+pkgdesc="Matrix reference homeserver"
+url="https://github.com/matrix-org/synapse;
+arch=('any')
+license=('Apache')
+
+depends=('libwebp' 'python-jsonschema' 'python-twisted'
+ 'python-pyopenssl' 'python-yaml' 'python-pyasn1' 'python-pynacl'
+ 'python-bcrypt' 'python-frozendict'
+ 'python-pillow' 'python-ujson'
+ 'python-pysaml2' 'python-setuptools'
+ 'python-systemd' 'python-unpaddedbase64' 'python-canonicaljson'
+ 'python-signedjson' 'python-pymacaroons'
+ 'python-service-identity' 'python-msgpack'
+ 'python-phonenumbers' 'python-prometheus_client'
+ 'python-attrs' 'python-netaddr' 'python-sortedcontainers'
+ 'python-treq' 'python-idna' 'python-jinja'
+ 'python-bleach' 'python-typing_extensions' 'systemd')
+checkdepends=('python-authlib' 'python-pyjwt' 'python-lxml' 'python-mock' 
'python-parameterized'
+  'python-txredisapi' 'python-hiredis')
+optdepends=('perl: sync_room_to_group.pl'
+'python-psycopg2: PostgreSQL support'
+'python-lxml: URL previewing'
+'python-psutil: metrics'
+'python-pyjwt: jwt'
+'python-txredisapi: redis'
+'python-hiredis')
+
+source=("synapse-$pkgver.tar.gz::https://github.com/matrix-org/synapse/archive/v$pkgver.tar.gz;
+'synapse.service'
+'sysusers-synapse.conf'
+'tmpfiles-synapse.conf')
+
+sha256sums=('509c5241ae6621b397d769cc9665a8f86983b2e8f17d63795721601600d8132c'
+'ce434eaa92e6504988fb9005d49c078ab7a2d33951d8adece26ccce8b2475857'
+'aadfdd78fe73e6eb325ee4299b8db8b97bfa2f4e7df953aa8477f442598a7ec5'
+'65588c8c64dfb84cab831cd8d028a295d753cf7322dd63053e8488466047b45f')
+
+backup=('etc/synapse/log_config.yaml')
+install=synapse.install
+
+build() {
+   cd synapse-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd synapse-$pkgver
+   PYTHONPATH=. trial3 tests
+}
+
+package() {
+   install -Dm644 synapse.service 
"$pkgdir"/usr/lib/systemd/system/synapse.service
+
+   cd synapse-$pkgver
+   export PYTHONHASHSEED=0
+   python setup.py install --root "$pkgdir" --optimize=1 --skip-build
+
+   install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+
+   install -Dm644 contrib/systemd/log_config.yaml 
"$pkgdir"/etc/synapse/log_config.yaml
+   install -Dm644 "$srcdir"/sysusers-synapse.conf 
"$pkgdir"/usr/lib/sysusers.d/synapse.conf
+   install -Dm644 "$srcdir"/tmpfiles-synapse.conf 
"$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
+}

Copied: matrix-synapse/repos/community-testing-any/synapse.install (from rev 
874277, matrix-synapse/trunk/synapse.install)
===
--- community-testing-any/synapse.install   (rev 0)
+++ community-testing-any/synapse.install   2021-02-25 23:02:34 UTC (rev 
874278)
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+   if [[ ! -e /etc/synapse/homeserver.yaml ]]; then
+   cat <<-EOF
+   ==> A synapse configuration file needs to be generated before 
you can
+   start synapse, and you should make sure that it's readable 
by the
+   synapse user.
+
+   cd /var/lib/synapse
+   sudo -u synapse python -m synapse.app.homeserver \\
+

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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:03:59
  Author: felixonmars
Revision: 874279

upgpkg: postgrest 7.0.1-244: rebuild with http-date 0.0.11

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:02:34 UTC (rev 874278)
+++ PKGBUILD2021-02-25 23:03:59 UTC (rev 874279)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.1
-pkgrel=243
+pkgrel=244
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:01:48
  Author: felixonmars
Revision: 874275

upgpkg: haskell-wai-middleware-static 0.9.0-90: rebuild with http-date 0.0.11

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:01:18 UTC (rev 874274)
+++ PKGBUILD2021-02-25 23:01:48 UTC (rev 874275)
@@ -4,7 +4,7 @@
 _hkgname=wai-middleware-static
 pkgname=haskell-wai-middleware-static
 pkgver=0.9.0
-pkgrel=89
+pkgrel=90
 pkgdesc="WAI middleware that serves requests to static files"
 url="https://github.com/scotty-web/wai-middleware-static;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:01:18
  Author: felixonmars
Revision: 874274

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-scotty/repos/community-staging-x86_64/PKGBUILD (from rev 
874273, haskell-scotty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:01:18 UTC (rev 874274)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=90
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:01:07
  Author: felixonmars
Revision: 874273

upgpkg: haskell-scotty 0.12-90: rebuild with http-date 0.0.11

Modified:
  haskell-scotty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 23:00:30 UTC (rev 874272)
+++ PKGBUILD2021-02-25 23:01:07 UTC (rev 874273)
@@ -3,7 +3,7 @@
 _hkgname=scotty
 pkgname=haskell-scotty
 pkgver=0.12
-pkgrel=89
+pkgrel=90
 pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
 url="https://github.com/scotty-web/scotty;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:00:30
  Author: felixonmars
Revision: 874272

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: arch-hs/repos/community-staging-x86_64/PKGBUILD (from rev 874271, 
arch-hs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 23:00:30 UTC (rev 874272)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+pkgname=arch-hs
+pkgver=0.7.0.0
+pkgrel=42
+pkgdesc="Distribute hackage packages to archlinux"
+arch=('x86_64')
+url="https://github.com/berberman/arch-hs;
+license=('MIT')
+depends=('ghc-libs' 'pacman' 'haskell-diff' 'haskell-aeson' 
'haskell-algebraic-graphs'
+ 'haskell-arch-web' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-hackage-db'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-megaparsec' 
'haskell-microlens'
+ 'haskell-microlens-th' 'haskell-neat-interpolation' 
'haskell-optparse-applicative'
+ 'haskell-polysemy' 'haskell-prettyprinter' 
'haskell-prettyprinter-ansi-terminal'
+ 'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('620f0b3ff2bafb5846f7b98f81dc230491f71b6160fe95f608fbfd6c50e648d8547e85dbd99fdc387f89ea27c2fe7160e2d013cd508607bdc765ea06e9d7119d')
+
+_gen_comp(){
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--bash-completion-script "/usr/bin/arch-hs${1}" > bash${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--zsh-completion-script  "/usr/bin/arch-hs${1}" > zsh${1}
+  LD_LIBRARY_PATH="$PWD/dist/build" dist/build/arch-hs${1}/arch-hs${1} 
--fish-completion-script "/usr/bin/arch-hs${1}" > fish${1}
+}
+
+_install_comp(){
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/bash-completion/completions/arch-hs${1}"
+  install -D -m644 zsh${1}  "$pkgdir/usr/share/zsh/site-functions/_arch-hs${1}"
+  install -D -m644 bash${1} 
"$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
+}
+
+build() {
+  cd $pkgname-$pkgver
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -falpm
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+  
+  _gen_comp
+  _gen_comp "-diff"
+  _gen_comp "-submit"
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+  
+  _install_comp
+  _install_comp "-diff"
+  _install_comp "-submit"
+} 


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 23:00:19
  Author: felixonmars
Revision: 874271

upgpkg: arch-hs 0.7.0.0-42: rebuild with http-date 0.0.11

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:59:16 UTC (rev 874270)
+++ PKGBUILD2021-02-25 23:00:19 UTC (rev 874271)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.7.0.0
-pkgrel=41
+pkgrel=42
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs;


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:58:04
  Author: felixonmars
Revision: 874268

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-client/repos/community-staging-x86_64/PKGBUILD (from 
rev 874267, haskell-servant-client/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:58:04 UTC (rev 874268)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=servant-client
+pkgname=haskell-servant-client
+pkgver=0.18.2
+pkgrel=45
+pkgdesc="Automatic derivation of querying functions for servant"
+url="http://docs.servant.dev/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-http-client' 
'haskell-http-media'
+ 'haskell-http-types' 'haskell-kan-extensions' 'haskell-monad-control'
+ 'haskell-semigroupoids' 'haskell-servant' 
'haskell-servant-client-core'
+ 'haskell-transformers-base' 'haskell-transformers-compat')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 'haskell-aeson' 
'haskell-entropy'
+ 'haskell-hspec' 'haskell-hspec-discover' 'haskell-http-api-data'
+ 'haskell-markdown-unlit' 'haskell-network' 
'haskell-servant-server' 'haskell-sop-core'
+ 'haskell-tdigest' 'haskell-wai' 'haskell-warp')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('2172febb8d288c7776e20298e21b6c054f41129608147eeb93c2e412abbc9c29')
+
+prepare() {
+  uusi -u QuickCheck -u http-client $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:59:16
  Author: felixonmars
Revision: 874270

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-arch-web/repos/community-staging-x86_64/
  haskell-arch-web/repos/community-staging-x86_64/PKGBUILD
(from rev 874269, haskell-arch-web/trunk/PKGBUILD)

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

Copied: haskell-arch-web/repos/community-staging-x86_64/PKGBUILD (from rev 
874269, haskell-arch-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:59:16 UTC (rev 874270)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=arch-web
+pkgname=haskell-arch-web
+pkgver=0.1.0
+pkgrel=47
+pkgdesc="Arch Linux official and AUR web interface binding"
+url="https://github.com/berberman/arch-web;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-deriving-aeson' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-types' 'haskell-lens' 
'haskell-servant'
+ 'haskell-servant-client' 'haskell-servant-client-core')
+makedepends=('ghc' 'uusi' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('ffb66a4bee5432799e75f4c637856ae49868b2633e3711b3468a8d78b9263ef2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u http-client $_hkgname.cabal
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:59:05
  Author: felixonmars
Revision: 874269

upgpkg: haskell-arch-web 0.1.0-47: rebuild with http-date 0.0.11

Modified:
  haskell-arch-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:58:04 UTC (rev 874268)
+++ PKGBUILD2021-02-25 22:59:05 UTC (rev 874269)
@@ -3,7 +3,7 @@
 _hkgname=arch-web
 pkgname=haskell-arch-web
 pkgver=0.1.0
-pkgrel=46
+pkgrel=47
 pkgdesc="Arch Linux official and AUR web interface binding"
 url="https://github.com/berberman/arch-web;
 license=("MIT")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:57:47
  Author: felixonmars
Revision: 874267

upgpkg: haskell-servant-client 0.18.2-45: rebuild with http-date 0.0.11

Modified:
  haskell-servant-client/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:56:45 UTC (rev 874266)
+++ PKGBUILD2021-02-25 22:57:47 UTC (rev 874267)
@@ -3,7 +3,7 @@
 _hkgname=servant-client
 pkgname=haskell-servant-client
 pkgver=0.18.2
-pkgrel=44
+pkgrel=45
 pkgdesc="Automatic derivation of querying functions for servant"
 url="http://docs.servant.dev/;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:56:34
  Author: felixonmars
Revision: 874265

upgpkg: haskell-servant-server 0.18.2-45: rebuild with http-date 0.0.11

Modified:
  haskell-servant-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:55:33 UTC (rev 874264)
+++ PKGBUILD2021-02-25 22:56:34 UTC (rev 874265)
@@ -4,7 +4,7 @@
 _hkgname=servant-server
 pkgname=haskell-servant-server
 pkgver=0.18.2
-pkgrel=44
+pkgrel=45
 pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
 url="https://haskell-servant.readthedocs.org/;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:55:22
  Author: felixonmars
Revision: 874263

upgpkg: git-annex 8.20210127-30: rebuild with http-date 0.0.11

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:52:19 UTC (rev 874262)
+++ PKGBUILD2021-02-25 22:55:22 UTC (rev 874263)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20210127
-pkgrel=29
+pkgrel=30
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:55:33
  Author: felixonmars
Revision: 874264

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 874263, git-annex/trunk/PKGBUILD)

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

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


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:56:45
  Author: felixonmars
Revision: 874266

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-server/repos/community-staging-x86_64/PKGBUILD (from 
rev 874265, haskell-servant-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:56:45 UTC (rev 874266)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.18.2
+pkgrel=45
+pkgdesc="A family of combinators for defining webservices APIs and serving 
them"
+url="https://haskell-servant.readthedocs.org/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 
'haskell-base64-bytestring'
+ 'haskell-http-api-data' 'haskell-http-media' 'haskell-http-types'
+ 'haskell-network-uri' 'haskell-monad-control' 'haskell-network' 
'haskell-servant'
+ 'haskell-sop-core' 'haskell-string-conversions' 'haskell-resourcet' 
'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-wai' 'haskell-wai-app-static' 
'haskell-warp'
+ 'haskell-word8')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-should-not-typecheck'
+ 'haskell-quickcheck' 'haskell-safe' 'haskell-wai-extra' 
'haskell-temporary'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a8203535a2d4a62b16f717e262fda28685bba466c5e271b2bba991a668a7df4d494de8c10b0843faf3d56e71dba0f88065066ba7acce0e66e16d4a6ba2d96229')
+
+prepare() {
+uusi -u http-api-data -u base64-bytestring 
$_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:52:19
  Author: felixonmars
Revision: 874262

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

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

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

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

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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:52:06
  Author: felixonmars
Revision: 874261

upgpkg: tamarin-prover 1.6.0-153: rebuild with http-date 0.0.11

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:51:10 UTC (rev 874260)
+++ PKGBUILD2021-02-25 22:52:06 UTC (rev 874261)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.6.0
-pkgrel=152
+pkgrel=153
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:47:39
  Author: felixonmars
Revision: 874253

upgpkg: haskell-wai-app-static 3.1.7.2-141: rebuild with http-date 0.0.11

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

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:47:03 UTC (rev 874252)
+++ PKGBUILD2021-02-25 22:47:39 UTC (rev 874253)
@@ -4,7 +4,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.7.2
-pkgrel=140
+pkgrel=141
 pkgdesc="WAI application for static serving"
 url="https://www.yesodweb.com/book/web-application-interface;
 license=("MIT")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:51:10
  Author: felixonmars
Revision: 874260

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 874259, hledger-web/trunk/PKGBUILD)

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 874259, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:51:10 UTC (rev 874260)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.20.4
+pkgrel=28
+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')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('c8dbea51c7c8395a5da6bbe7a42a52d8a8ac9ad813f828ad5036b8e352fca20e4e1709ac70052ab68e61164853867bfdf4c38c05299189950d7e444b8600bd2d')
+
+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
+}
+
+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 haskell-wai-app-static/repos (2 files)

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:47:50
  Author: felixonmars
Revision: 874254

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 874253, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:47:50 UTC (rev 874254)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.7.2
+pkgrel=141
+pkgdesc="WAI application for static serving"
+url="https://www.yesodweb.com/book/web-application-interface;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-file-embed' 'haskell-http-date' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-unix-compat' 'haskell-unordered-containers' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e073d85efc201eab94b9c8be4e40ee71567d07ed2e2907504a946477211bc21aaf2250213cac67525ae58be499b164b09880600c0a6f62b0b1742fb9d730d6d9')
+
+prepare() {
+  uusi $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-print
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:50:59
  Author: felixonmars
Revision: 874259

upgpkg: hledger-web 1.20.4-28: rebuild with http-date 0.0.11

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:50:03 UTC (rev 874258)
+++ PKGBUILD2021-02-25 22:50:59 UTC (rev 874259)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.20.4
-pkgrel=27
+pkgrel=28
 pkgdesc="Web-based user interface for the hledger accounting system"
 url="http://hledger.org;
 license=("GPL")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:49:53
  Author: felixonmars
Revision: 874257

upgpkg: haskell-yesod-static 1.6.1.0-196: rebuild with http-date 0.0.11

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:49:07 UTC (rev 874256)
+++ PKGBUILD2021-02-25 22:49:53 UTC (rev 874257)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.1.0
-pkgrel=195
+pkgrel=196
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:16:58
  Author: felixonmars
Revision: 874244

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-download/repos/community-staging-x86_64/PKGBUILD (from rev 
874243, haskell-http-download/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:16:58 UTC (rev 874244)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=http-download
+pkgname=haskell-http-download
+pkgver=0.2.0.0
+pkgrel=240
+pkgdesc="Verified downloads with retries"
+url="https://github.com/commercialhaskell/http-download;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit'
+ 'haskell-http-client' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-path' 'haskell-path-io' 'haskell-retry' 'haskell-rio' 
'haskell-rio-prettyprint')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b31caa48c1ea2a01f1301ca63b2e0c135cd0d3d392b92518c7d70d89fd83da7fd95cffa3cb374900a45fb2da8d17f748de0de72fb4beb8ad11e203676f9864ae')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:48:56
  Author: felixonmars
Revision: 874255

upgpkg: haskell-hakyll 4.13.4.1-174: rebuild with http-date 0.0.11

Modified:
  haskell-hakyll/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:47:50 UTC (rev 874254)
+++ PKGBUILD2021-02-25 22:48:56 UTC (rev 874255)
@@ -4,7 +4,7 @@
 _hkgname=hakyll
 pkgname=haskell-hakyll
 pkgver=4.13.4.1
-pkgrel=173
+pkgrel=174
 pkgdesc="A static website compiler library"
 url="https://jaspervdj.be/hakyll;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:23:27
  Author: felixonmars
Revision: 874247

upgpkg: stack 2.5.1-135: rebuild with http-date 0.0.11

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2021-02-25 22:19:39 UTC (rev 874246)
+++ PKGBUILD2021-02-25 22:23:27 UTC (rev 874247)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.5.1
-pkgrel=134
+pkgrel=135
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:23:43
  Author: felixonmars
Revision: 874248

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 874247, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:23:43 UTC (rev 874248)
@@ -0,0 +1,81 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.5.1
+pkgrel=135
+pkgdesc="The Haskell Tool Stack"
+url="https://github.com/commercialhaskell/stack;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-annotated-wl-pprint' 
'haskell-ansi-terminal'
+ 'haskell-async' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-colour' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-cryptonite' 'haskell-cryptonite-conduit' 'haskell-echo'
+ 'haskell-extra' 'haskell-file-embed' 'haskell-filelock' 
'haskell-fsnotify'
+ 'haskell-generic-deriving' 'haskell-githash' 
'haskell-hackage-security' 'haskell-hashable'
+ 'haskell-hi-file-parser' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-microlens' 'haskell-mintty' 'haskell-mono-traversable' 
'haskell-mustache'
+ 'haskell-neat-interpolation' 'haskell-network-uri' 
'haskell-open-browser'
+ 'haskell-optparse-applicative' 'haskell-optparse-generic' 
'haskell-optparse-simple'
+ 'haskell-pantry' 'haskell-path' 'haskell-path-io' 'haskell-persistent'
+ 'haskell-persistent-sqlite' 'haskell-persistent-template' 
'haskell-primitive'
+ 'haskell-project-template' 'haskell-regex-applicative-text' 
'haskell-retry' 'haskell-rio'
+ 'haskell-rio-prettyprint' 'haskell-split' 'haskell-streaming-commons' 
'haskell-tar'
+ 'haskell-temporary' 'haskell-text-metrics' 'haskell-th-reify-many' 
'haskell-tls'
+ 'haskell-typed-process' 'haskell-unicode-transforms' 
'haskell-unix-compat'
+ 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 
'haskell-yaml'
+ 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'git' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-raw-strings-qq'
+ 'haskell-smallcheck')
+checkdepends=('cabal-install')
+conflicts=('haskell-stack')
+replaces=('haskell-stack')
+install="stack.install"
+source=("git+https://github.com/commercialhaskell/stack.git#tag=v$pkgver;
+optparse-applicative-0.16.patch)
+sha512sums=('SKIP'
+
'3ed61162edd869d5634e7e8485d784b9a192c97626da817635e6c756ca651454b5b806085aea6d7f8fd54041ae06e1613d9547958a85b777d2dfc35b02c0fbea')
+
+prepare() {
+  cd $pkgname
+  sed -i -e '/semigroups/d' $pkgname.cabal
+  sed -i '1i{-# LANGUAGE DataKinds #-}' src/Stack/Storage/User.hs 
src/Stack/Storage/Project.hs
+  patch -p1 -i ../optparse-applicative-0.16.patch
+}
+
+build() {
+  cd $pkgname
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --ghc-option='-pie'
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $pkgname
+  # cabal update
+  LD_LIBRARY_PATH="$PWD"/dist/build PATH="$PWD"/dist/build/stack:"$PATH" 
runhaskell Setup test
+  # Integration tests will result in 4 failures on Arch currently
+}
+
+package() {
+  cd $pkgname
+
+  install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+  install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+  runhaskell Setup copy --destdir="${pkgdir}"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f 

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

2021-02-25 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 22:47:03
  Author: felixonmars
Revision: 874252

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: darcs/repos/community-staging-x86_64/PKGBUILD (from rev 874251, 
darcs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 22:47:03 UTC (rev 874252)
@@ -0,0 +1,67 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=darcs
+pkgver=2.16.3
+pkgrel=97
+pkgdesc="A distributed, interactive, smart revision control system"
+url="http://darcs.net;
+license=("GPL")
+arch=('x86_64')
+depends=('curl' 'ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base16-bytestring'
+ 'haskell-conduit' 'haskell-constraints' 'haskell-cryptonite' 
'haskell-data-ordlist'
+ 'haskell-fgl' 'haskell-hashable' 'haskell-html' 
'haskell-http-conduit' 'haskell-http-types'
+ 'haskell-knob' 'haskell-memory' 'haskell-mmap' 'haskell-network' 
'haskell-network-uri'
+ 'haskell-old-time' 'haskell-regex-applicative' 
'haskell-regex-compat-tdfa'
+ 'haskell-tar' 'haskell-temporary' 'haskell-unix-compat' 
'haskell-utf8-string'
+ 'haskell-vector' 'haskell-zip-archive' 'haskell-zlib')
+makedepends=('ghc' 'uusi' 'haskell-cmdargs' 'haskell-findbin' 'haskell-hunit' 
'haskell-leancheck'
+ 'haskell-quickcheck' 'haskell-test-framework' 
'haskell-test-framework-hunit'
+ 'haskell-test-framework-leancheck' 
'haskell-test-framework-quickcheck2'
+ # Added for their bundled shelly
+ 'haskell-exceptions' 'haskell-monad-control' 
'haskell-system-filepath'
+ 'haskell-system-fileio' 'haskell-transformers-base')
+checkdepends=('bc' 'time')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('267787c5b3111a20158858b42a8b9c2698b80dc40f7d340175e26d74b955643cefffc2f4de9811fa26464eac2e79913150fb3cd73871275725d10a690b9d73c3')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -e 's/^ghc /ghc -dynamic /' \
+-e 's/ ghc / ghc -dynamic /' \
+-i tests/*.sh tests/lib
+uusi $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fcurl -fpkgconfig -f-static -fterminfo -fthreaded -fexecutable \
+-f-rts -foptimize -f-warn-as-error -f-libiconv
+LD_LIBRARY_PATH="$srcdir"/$pkgname-$pkgver/dist/build runhaskell Setup 
build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+chmod 644 "${pkgdir}/usr/share/man/man1/darcs.1"
+
+install -Dm644 contrib/darcs_completion 
"${pkgdir}/usr/share/bash-completion/completions/darcs"
+install -Dm644 contrib/_darcs.zsh 
"${pkgdir}/usr/share/zsh/site-functions/_darcs"
+}


  1   2   3   4   5   6   7   8   9   >