[arch-commits] Commit in retext/repos/community-any (6 files)

2020-04-21 Thread Jiachen Yang via arch-commits
Date: Wednesday, April 22, 2020 @ 04:53:57
  Author: farseerfc
Revision: 617596

archrelease: copy trunk to community-any

Added:
  retext/repos/community-any/PKGBUILD
(from rev 617595, retext/trunk/PKGBUILD)
  retext/repos/community-any/x-retext-markdown.xml
(from rev 617595, retext/trunk/x-retext-markdown.xml)
  retext/repos/community-any/x-retext-rst.xml
(from rev 617595, retext/trunk/x-retext-rst.xml)
Deleted:
  retext/repos/community-any/PKGBUILD
  retext/repos/community-any/x-retext-markdown.xml
  retext/repos/community-any/x-retext-rst.xml

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-22 04:53:11 UTC (rev 617595)
+++ PKGBUILD2020-04-22 04:53:57 UTC (rev 617596)
@@ -1,64 +0,0 @@
-# Maintainer: Jiachen Yang 
-# AUR Maintainer: Hyacinthe Cartiaux 
-# Contributor: Bartosz Chmura 
-# Contributor: Alessio Sergi 
-# Contributor: alfplayer
-# Contributor: menta
-
-_pkgname=ReText
-pkgname=retext
-pkgver=7.1.0
-pkgrel=1
-pkgdesc="A simple editor for Markdown and ReStructuredText markup languages"
-arch=('any')
-url="https://github.com/retext-project/retext;
-license=('GPL3')
-# for desktop integration: 'shared-mime-info' 'xdg-utils' 'desktop-file-utils'
-# for toolbar icons (see http://sourceforge.net/p/retext/tickets/44/): 'gconf'
-depends=('python-pyqt5' 'python-markups>=2.0.0' 'shared-mime-info' 'xdg-utils'
- 'desktop-file-utils' 'hicolor-icon-theme' 'python-markdown')
-makedepends=('imagemagick' 'qt5-tools' 'python-setuptools')
-checkdepends=('xorg-server-xvfb' 'python-chardet' 'python-docutils' 
'python-pygments')
-optdepends=('python-docutils: for reStructuredText language support'
-'qt5-webkit: for WebKit preview'
-'python-pyqtwebengine: for WebEngine preview'
-'python-pyenchant: for spell checking support')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc}
-"x-retext-rst.xml")
-sha256sums=('5232c00867617dd6561d7b4709c7a053df0b431aa5b7261a78f28dfced18a9fa'
-'SKIP'
-'6fef80cccb14813d9cc74810c397a6cd7831d1ca243536759a47c6e8b6cc977a')
-validpgpkeys=('F24299FF1BBC9018B906A4CB6026936D2F1C8AE0') # Dmitry Shachnev 

-
-build () {
-cd "$srcdir/${_pkgname}-${pkgver}"
-python3 setup.py build
-}
-
-check() {
-cd "$srcdir/${_pkgname}-${pkgver}"
-xvfb-run python3 setup.py test
-}
-
-package () {
-cd "$srcdir/${_pkgname}-${pkgver}"
-python3 setup.py install --root="$pkgdir" -O1
-
-# create /usr/share/* dirs
-_SHAREDIR="$pkgdir/usr/share"
-install -d -m 755 "$_SHAREDIR"/{applications,mime/packages}
-
-# install icons
-_ICONSDIR="$_SHAREDIR/icons/hicolor"
-for size in 16 22 24 32 48 128; do
-  install -d -m 755 "$_ICONSDIR"/${size}x${size}/apps
-  convert -resize $size +set date:create +set date:modify 
icons/$pkgname.png "$_ICONSDIR"/${size}x${size}/apps/$pkgname.png
-done
-install -d -m 755 $_ICONSDIR/scalable/apps
-install -m 644 icons/$pkgname.svg "$_ICONSDIR"/scalable/apps/$pkgname.svg
-
-# install mime files
-install -m 644 "$srcdir"/x-retext-rst.xml "$_SHAREDIR"/mime/packages/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: retext/repos/community-any/PKGBUILD (from rev 617595, 
retext/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-22 04:53:57 UTC (rev 617596)
@@ -0,0 +1,64 @@
+# Maintainer: Jiachen Yang 
+# AUR Maintainer: Hyacinthe Cartiaux 
+# Contributor: Bartosz Chmura 
+# Contributor: Alessio Sergi 
+# Contributor: alfplayer
+# Contributor: menta
+
+_pkgname=ReText
+pkgname=retext
+pkgver=7.1.0
+pkgrel=2
+pkgdesc="A simple editor for Markdown and ReStructuredText markup languages"
+arch=('any')
+url="https://github.com/retext-project/retext;
+license=('GPL3')
+# for desktop integration: 'shared-mime-info' 'xdg-utils' 'desktop-file-utils'
+# for toolbar icons (see http://sourceforge.net/p/retext/tickets/44/): 'gconf'
+depends=('python-pyqt5' 'python-markups>=2.0.0' 'shared-mime-info' 'xdg-utils'
+ 'desktop-file-utils' 'hicolor-icon-theme' 'python-markdown' 
'python-pygments')
+makedepends=('imagemagick' 'qt5-tools' 'python-setuptools')
+checkdepends=('xorg-server-xvfb' 'python-chardet' 'python-docutils')
+optdepends=('python-docutils: for reStructuredText language support'
+'qt5-webkit: for WebKit preview'
+'python-pyqtwebengine: for WebEngine preview'
+'python-pyenchant: for spell checking support')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc}
+"x-retext-rst.xml")

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

2020-04-21 Thread Jiachen Yang via arch-commits
Date: Wednesday, April 22, 2020 @ 04:53:11
  Author: farseerfc
Revision: 617595

upgpkg: retext 7.1.0-2: retext 7.1.0-2 add dependency for python-pygments

Modified:
  retext/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 03:02:51 UTC (rev 617594)
+++ PKGBUILD2020-04-22 04:53:11 UTC (rev 617595)
@@ -8,7 +8,7 @@
 _pkgname=ReText
 pkgname=retext
 pkgver=7.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple editor for Markdown and ReStructuredText markup languages"
 arch=('any')
 url="https://github.com/retext-project/retext;
@@ -16,9 +16,9 @@
 # for desktop integration: 'shared-mime-info' 'xdg-utils' 'desktop-file-utils'
 # for toolbar icons (see http://sourceforge.net/p/retext/tickets/44/): 'gconf'
 depends=('python-pyqt5' 'python-markups>=2.0.0' 'shared-mime-info' 'xdg-utils'
- 'desktop-file-utils' 'hicolor-icon-theme' 'python-markdown')
+ 'desktop-file-utils' 'hicolor-icon-theme' 'python-markdown' 
'python-pygments')
 makedepends=('imagemagick' 'qt5-tools' 'python-setuptools')
-checkdepends=('xorg-server-xvfb' 'python-chardet' 'python-docutils' 
'python-pygments')
+checkdepends=('xorg-server-xvfb' 'python-chardet' 'python-docutils')
 optdepends=('python-docutils: for reStructuredText language support'
 'qt5-webkit: for WebKit preview'
 'python-pyqtwebengine: for WebEngine preview'


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 04:51:01
  Author: felixonmars
Revision: 380708

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 380707, libtorrent-rasterbar/trunk/PKGBUILD)

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

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 380707, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-04-22 04:51:01 UTC (rev 380708)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.6
+pkgrel=1
+epoch=1
+pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all 
the other implementations around"
+url="https://www.rasterbar.com/products/libtorrent/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('78f9120b1b824dac37ec8bd16a29abdfcd7fd6af3c56e0cc9048d74412d000ef5ea1e8421f757eddb914f8bb20de9fb4192d5b8a3f781fa2e1d4f134ea24b1ee')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 04:50:52
  Author: felixonmars
Revision: 380707

upgpkg: libtorrent-rasterbar 1:1.2.6-1

Modified:
  libtorrent-rasterbar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 03:22:25 UTC (rev 380706)
+++ PKGBUILD2020-04-22 04:50:52 UTC (rev 380707)
@@ -3,7 +3,7 @@
 # Contributor: Hugo Doria 
 
 pkgname=libtorrent-rasterbar
-pkgver=1.2.5
+pkgver=1.2.6
 pkgrel=1
 epoch=1
 pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all 
the other implementations around"
@@ -15,7 +15,7 @@
 options=('!emptydirs')
 _pkgver=${pkgver//./_}
 
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('b907916bb2b4d550a5173783163cb192c31c0db5e25a4807a4701d1e5fa7e0d4fd9f1fb2c89b43f613a750b42816b07576fb773663fbf3cfb2e3e4b9de380f26')
+sha512sums=('78f9120b1b824dac37ec8bd16a29abdfcd7fd6af3c56e0cc9048d74412d000ef5ea1e8421f757eddb914f8bb20de9fb4192d5b8a3f781fa2e1d4f134ea24b1ee')
 
 prepare() {
   mkdir py2 py3


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

2020-04-21 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 22, 2020 @ 03:22:15
  Author: foutrelis
Revision: 380705

upgpkg: chromium 81.0.4044.122-1: new upstream release

Modified:
  chromium/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:28:52 UTC (rev 380704)
+++ PKGBUILD2020-04-22 03:22:15 UTC (rev 380705)
@@ -4,7 +4,7 @@
 # Contributor: Daniel J Griffiths 
 
 pkgname=chromium
-pkgver=81.0.4044.113
+pkgver=81.0.4044.122
 pkgrel=1
 _launcher_ver=6
 pkgdesc="A web browser built for speed, simplicity, and security"
@@ -28,7 +28,7 @@
 rebuild-Linux-frame-button-cache-when-activation.patch
 chromium-widevine.patch
 chromium-skia-harmony.patch)
-sha256sums=('27cce807a91919211821c4d25be5be8ce48d362166615d4779e886ea0eef5d43'
+sha256sums=('0f9ffd30d769e25e091a87b9dda4d688c19bf85b1e1fcb3b89eaae5ff780182a'
 '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
 'ae3bf107834bd8eda9a3ec7899fe35fde62e6111062e5def7d24bf49b53db3db'
 '46f7fc9768730c460b27681ccf3dc2685c7e1fd22d70d3a82d9e57e3389bb014'


[arch-commits] Commit in chromium/repos/extra-x86_64 (12 files)

2020-04-21 Thread Evangelos Foutras via arch-commits
Date: Wednesday, April 22, 2020 @ 03:22:25
  Author: foutrelis
Revision: 380706

archrelease: copy trunk to extra-x86_64

Added:
  chromium/repos/extra-x86_64/PKGBUILD
(from rev 380705, chromium/trunk/PKGBUILD)
  chromium/repos/extra-x86_64/chromium-skia-harmony.patch
(from rev 380705, chromium/trunk/chromium-skia-harmony.patch)
  chromium/repos/extra-x86_64/chromium-widevine.patch
(from rev 380705, chromium/trunk/chromium-widevine.patch)
  chromium/repos/extra-x86_64/chromium.install
(from rev 380705, chromium/trunk/chromium.install)
  
chromium/repos/extra-x86_64/rebuild-Linux-frame-button-cache-when-activation.patch
(from rev 380705, 
chromium/trunk/rebuild-Linux-frame-button-cache-when-activation.patch)
  
chromium/repos/extra-x86_64/rename-Relayout-in-DesktopWindowTreeHostPlatform.patch
(from rev 380705, 
chromium/trunk/rename-Relayout-in-DesktopWindowTreeHostPlatform.patch)
Deleted:
  chromium/repos/extra-x86_64/PKGBUILD
  chromium/repos/extra-x86_64/chromium-skia-harmony.patch
  chromium/repos/extra-x86_64/chromium-widevine.patch
  chromium/repos/extra-x86_64/chromium.install
  
chromium/repos/extra-x86_64/rebuild-Linux-frame-button-cache-when-activation.patch
  
chromium/repos/extra-x86_64/rename-Relayout-in-DesktopWindowTreeHostPlatform.patch

+
 PKGBUILD   |  450 +++
 chromium-skia-harmony.patch|   28 
 chromium-widevine.patch|   26 
 chromium.install   |   32 -
 rebuild-Linux-frame-button-cache-when-activation.patch |  124 ++--
 rename-Relayout-in-DesktopWindowTreeHostPlatform.patch |  128 ++--
 6 files changed, 394 insertions(+), 394 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-22 03:22:15 UTC (rev 380705)
+++ PKGBUILD2020-04-22 03:22:25 UTC (rev 380706)
@@ -1,225 +0,0 @@
-# Maintainer: Evangelos Foutras 
-# Contributor: Pierre Schmitz 
-# Contributor: Jan "heftig" Steffens 
-# Contributor: Daniel J Griffiths 
-
-pkgname=chromium
-pkgver=81.0.4044.113
-pkgrel=1
-_launcher_ver=6
-pkgdesc="A web browser built for speed, simplicity, and security"
-arch=('x86_64')
-url="https://www.chromium.org/Home;
-license=('BSD')
-depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt'
- 'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'json-glib'
- 'desktop-file-utils' 'hicolor-icon-theme')
-makedepends=('python' 'python2' 'gperf' 'yasm' 'mesa' 'ninja' 'nodejs' 'git'
- 'libpipewire02' 'clang' 'lld' 'gn' 'java-runtime-headless')
-optdepends=('pepper-flash: support for Flash content'
-'libpipewire02: WebRTC desktop sharing under Wayland'
-'kdialog: needed for file dialogs in KDE'
-'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
-'kwallet: for storing passwords in KWallet on KDE desktops')
-install=chromium.install
-source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
-
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
-rename-Relayout-in-DesktopWindowTreeHostPlatform.patch
-rebuild-Linux-frame-button-cache-when-activation.patch
-chromium-widevine.patch
-chromium-skia-harmony.patch)
-sha256sums=('27cce807a91919211821c4d25be5be8ce48d362166615d4779e886ea0eef5d43'
-'04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1'
-'ae3bf107834bd8eda9a3ec7899fe35fde62e6111062e5def7d24bf49b53db3db'
-'46f7fc9768730c460b27681ccf3dc2685c7e1fd22d70d3a82d9e57e3389bb014'
-'709e2fddba3c1f2ed4deb3a239fc0479bfa50c46e054e7f32db4fb1365fed070'
-'771292942c0901092a402cc60ee883877a99fb804cb54d568c8c6c94565a48e1')
-
-# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
-# Keys are the names in the above script; values are the dependencies in Arch
-declare -gA _system_libs=(
-  [ffmpeg]=ffmpeg
-  [flac]=flac
-  [fontconfig]=fontconfig
-  [freetype]=freetype2
-  [harfbuzz-ng]=harfbuzz
-  [icu]=icu
-  [libdrm]=
-  [libjpeg]=libjpeg
-  #[libpng]=libpng# https://crbug.com/752403#c10
-  [libvpx]=libvpx
-  [libwebp]=libwebp
-  [libxml]=libxml2
-  [libxslt]=libxslt
-  [opus]=opus
-  [re2]=re2
-  [snappy]=snappy
-  [yasm]=
-  [zlib]=minizip
-)
-_unwanted_bundled_libs=(
-  $(printf "%s\n" ${!_system_libs[@]} | sed 's/^libjpeg$/&_turbo/')
-)
-depends+=(${_system_libs[@]})
-
-# Google API keys (see https://www.chromium.org/developers/how-tos/api-keys)
-# Note: These are for Arch Linux use ONLY. For your own distribution, please
-# get your own set of keys.
-_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM

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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 03:02:41
  Author: felixonmars
Revision: 617593

upgpkg: postgrest 7.0.0-17: rebuild with optics-core 0.3, optics-extra 0.3, 
optics-th 0.3

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:59:36 UTC (rev 617592)
+++ PKGBUILD2020-04-22 03:02:41 UTC (rev 617593)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.0
-pkgrel=16
+pkgrel=17
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 03:02:51
  Author: felixonmars
Revision: 617594

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 617593, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 03:02:51 UTC (rev 617594)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.0
+pkgrel=17
+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' '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=('e52bca7c4ab37909b57b8d004244e7b0471464141cea5193ed01e39a60f7adb551064d3d3dd4230042b04730fdf8d6b8151bb3789b90c413680e6a3e496c383c')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *4.19/<5/' $pkgname.cabal
+sed -i -e '/ fail /d' src/PostgREST/Config.hs
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+}
+
+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
+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 || warning 
"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-servant-swagger/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:59:26
  Author: felixonmars
Revision: 617591

upgpkg: haskell-servant-swagger 1.1.8-34: rebuild with optics-core 0.3, 
optics-extra 0.3, optics-th 0.3

Modified:
  haskell-servant-swagger/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:58:28 UTC (rev 617590)
+++ PKGBUILD2020-04-22 02:59:26 UTC (rev 617591)
@@ -4,7 +4,7 @@
 _hkgname=servant-swagger
 pkgname=haskell-servant-swagger
 pkgver=1.1.8
-pkgrel=33
+pkgrel=34
 pkgdesc="Generate Swagger specification for your servant API."
 url="https://github.com/haskell-servant/servant-swagger;
 license=("BSD")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:59:36
  Author: felixonmars
Revision: 617592

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant-swagger/repos/community-staging-x86_64/PKGBUILD (from 
rev 617591, haskell-servant-swagger/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:59:36 UTC (rev 617592)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant-swagger
+pkgname=haskell-servant-swagger
+pkgver=1.1.8
+pkgrel=34
+pkgdesc="Generate Swagger specification for your servant API."
+url="https://github.com/haskell-servant/servant-swagger;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-servant'
+ 'haskell-singleton-bool' 'haskell-swagger2' 
'haskell-unordered-containers'
+ 'haskell-hspec' 'haskell-quickcheck')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-cabal-doctest' 
'haskell-doctest'
+ 'haskell-hspec-discover' 'haskell-lens-aeson' 
'haskell-utf8-string' 'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('7ddf92df0ef594ab08ef247cd953b55933ec2fba489678a9dee139345b80ffd40e40285d7cf0775d468b5de5c883cc6ba430208949cc406b150c573ed7e7b74a')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.19/<5/' $_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
+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 || warning "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:58:28
  Author: felixonmars
Revision: 617590

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
617589, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:58:28 UTC (rev 617590)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.5
+pkgrel=14
+pkgdesc="Swagger 2.0 data model"
+url="https://github.com/GetShopTV/swagger2;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 
'haskell-base-compat-batteries'
+ 'haskell-cookie' 'haskell-hashable' 'haskell-generics-sop' 
'haskell-http-media'
+ 'haskell-insert-ordered-containers' 'haskell-lens' 'haskell-network' 
'haskell-optics-core'
+ 'haskell-optics-th' 'haskell-quickcheck' 'haskell-scientific'
+ 'haskell-transformers-compat' 'haskell-unordered-containers' 
'haskell-vector'
+ 'haskell-uuid-types')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 
'haskell-quickcheck-instances'
+ 'haskell-hspec-discover' 'haskell-doctest' 
'haskell-cabal-doctest' 'haskell-glob'
+ 'haskell-utf8-string')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('3f70623318d51359d8c7b13ce06a588f587accb30a45c106b57cc10ad3e65c05ecfea318d0f7abccd1a0668a80a89adf71bb4640c2058271c4243556020c5ebf')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/< *4.19/<4.20/;s/< *2.14/<3/;s/< *0.3/<1/' $_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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:58:14
  Author: felixonmars
Revision: 617589

upgpkg: haskell-swagger2 2.5-14: rebuild with optics-core 0.3, optics-extra 
0.3, optics-th 0.3

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:54:03 UTC (rev 617588)
+++ PKGBUILD2020-04-22 02:58:14 UTC (rev 617589)
@@ -4,7 +4,7 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.5
-pkgrel=13
+pkgrel=14
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2;
 license=("BSD")
@@ -23,7 +23,7 @@
 
 prepare() {
 cd $_hkgname-$pkgver
-sed -i -e 's/< *4.19/<4.20/;s/< *2.14/<3/' $_hkgname.cabal
+sed -i -e 's/< *4.19/<4.20/;s/< *2.14/<3/;s/< *0.3/<1/' $_hkgname.cabal
 }
 
 build() {


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:54:03
  Author: felixonmars
Revision: 617588

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-optics-th/repos/community-staging-x86_64/PKGBUILD (from rev 
617587, haskell-optics-th/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:54:03 UTC (rev 617588)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=optics-th
+pkgname=haskell-optics-th
+pkgver=0.3
+pkgrel=1
+pkgdesc="Optics construction using TemplateHaskell"
+url="https://github.com/well-typed/optics;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-optics-core' 'haskell-th-abstraction')
+makedepends=('ghc' 'haskell-tagged')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ee902063b5ec9d2b268bc650e2e8c0cbdc197bc3435ee19bf1c5ebc886c4b24d89840177b7c5ea7c73f37af937b821cdd0fb06dce4fa86211c9df896e506ed98')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:53:53
  Author: felixonmars
Revision: 617587

upgpkg: haskell-optics-th 0.3-1: rebuild with optics-core 0.3, optics-extra 
0.3, optics-th 0.3

Modified:
  haskell-optics-th/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:53:13 UTC (rev 617586)
+++ PKGBUILD2020-04-22 02:53:53 UTC (rev 617587)
@@ -2,7 +2,7 @@
 
 _hkgname=optics-th
 pkgname=haskell-optics-th
-pkgver=0.2
+pkgver=0.3
 pkgrel=1
 pkgdesc="Optics construction using TemplateHaskell"
 url="https://github.com/well-typed/optics;
@@ -9,9 +9,9 @@
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-optics-core' 'haskell-th-abstraction')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-tagged')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('1898d083597ab2c1a8f8c791c8e96d64248c6a4015fe0752b96b1d7dca6c2ae6c24cd635f4d40264445f44718a2c4b64fdc9e96537a144fb441f14a497236305')
+sha512sums=('ee902063b5ec9d2b268bc650e2e8c0cbdc197bc3435ee19bf1c5ebc886c4b24d89840177b7c5ea7c73f37af937b821cdd0fb06dce4fa86211c9df896e506ed98')
 
 prepare() {
 cd $_hkgname-$pkgver


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:53:13
  Author: felixonmars
Revision: 617586

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: 
haskell-insert-ordered-containers/repos/community-staging-x86_64/PKGBUILD (from 
rev 617585, haskell-insert-ordered-containers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:53:13 UTC (rev 617586)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=insert-ordered-containers
+pkgname=haskell-insert-ordered-containers
+pkgver=0.2.3.1
+pkgrel=2
+pkgdesc="Associative containers retating insertion order for traversals."
+url="https://github.com/phadej/insert-ordered-containers;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 'haskell-hashable' 
'haskell-lens'
+ 'haskell-optics-core' 'haskell-optics-extra' 'haskell-semigroupoids'
+ 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('38455a09de253d1082f09aa75f1cd8cc899c7412b51bb3e3e1eaa6a1caa50a8430c0d89c57b9392fc6aba62301add9056c231e1f83c755a8300423de7a980e6e')
+
+prepare() {
+sed -e '/semigroups/d' \
+-i ${_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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:52:18
  Author: felixonmars
Revision: 617584

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-optics-extra/repos/community-staging-x86_64/PKGBUILD (from rev 
617583, haskell-optics-extra/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:52:18 UTC (rev 617584)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=optics-extra
+pkgname=haskell-optics-extra
+pkgver=0.3
+pkgrel=1
+pkgdesc="Extra utilities and instances for optics-core"
+url="https://github.com/well-typed/optics-extra;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-indexed-profunctors' 
'haskell-optics-core'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c0999a14cdcb019c6e65127d22d921f36cdb28dc72dfa38d87848c8eabb7cec486d38613c8f20a9b3b99a4fc6e471bddb354b06cb036bef4b410cde79b959db0')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in haskell-insert-ordered-containers/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:53:04
  Author: felixonmars
Revision: 617585

upgpkg: haskell-insert-ordered-containers 0.2.3.1-2: rebuild with optics-core 
0.3, optics-extra 0.3, optics-th 0.3

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

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:52:18 UTC (rev 617584)
+++ PKGBUILD2020-04-22 02:53:04 UTC (rev 617585)
@@ -3,7 +3,7 @@
 _hkgname=insert-ordered-containers
 pkgname=haskell-insert-ordered-containers
 pkgver=0.2.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Associative containers retating insertion order for traversals."
 url="https://github.com/phadej/insert-ordered-containers;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:52:07
  Author: felixonmars
Revision: 617583

upgpkg: haskell-optics-extra 0.3-1: rebuild with optics-core 0.3, optics-extra 
0.3, optics-th 0.3

Modified:
  haskell-optics-extra/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:51:28 UTC (rev 617582)
+++ PKGBUILD2020-04-22 02:52:07 UTC (rev 617583)
@@ -2,8 +2,8 @@
 
 _hkgname=optics-extra
 pkgname=haskell-optics-extra
-pkgver=0.2
-pkgrel=8
+pkgver=0.3
+pkgrel=1
 pkgdesc="Extra utilities and instances for optics-core"
 url="https://github.com/well-typed/optics-extra;
 license=('BSD')
@@ -12,7 +12,7 @@
  'haskell-unordered-containers' 'haskell-vector')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('1c111ad2681c2c8bb8259cf8e5fd3931dd33c2bbcd0d76293a29d053e6c5cdd39a98c593c6f0a6d49224b4f8397c3cd0ee5a54662ddebcbfbb153bd6ca99e31e')
+sha512sums=('c0999a14cdcb019c6e65127d22d921f36cdb28dc72dfa38d87848c8eabb7cec486d38613c8f20a9b3b99a4fc6e471bddb354b06cb036bef4b410cde79b959db0')
 
 build() {
 cd $_hkgname-$pkgver


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:51:19
  Author: felixonmars
Revision: 617581

upgpkg: haskell-optics-core 0.3-1: rebuild with optics-core 0.3, optics-extra 
0.3, optics-th 0.3

Modified:
  haskell-optics-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:51:04 UTC (rev 617580)
+++ PKGBUILD2020-04-22 02:51:19 UTC (rev 617581)
@@ -2,8 +2,8 @@
 
 _hkgname=optics-core
 pkgname=haskell-optics-core
-pkgver=0.2
-pkgrel=3
+pkgver=0.3
+pkgrel=1
 pkgdesc="Optics as an abstract interface: core definitions"
 url="https://github.com/well-typed/optics-core;
 license=('BSD')
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-indexed-profunctors')
 makedepends=('ghc')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('b67544072c317b9a3106c1fc1fec966de658b0d7394e951c091b067cae3522f0851913a1f280c5b495abcafd4a5ef84e6e823c2e9ebe891a3993e2eb8ab133e7')
+sha512sums=('5d2a3b2b16e4a61a31f095aeaf6abbdb83e671787f1f0a93956dc97813c6e3318a5a50c59bbfa333dd03c09c5c7b19e16e37fb0d76adac09e9172e660e180d11')
 
 build() {
 cd $_hkgname-$pkgver


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:51:28
  Author: felixonmars
Revision: 617582

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-optics-core/repos/community-staging-x86_64/PKGBUILD (from rev 
617581, haskell-optics-core/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:51:28 UTC (rev 617582)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=optics-core
+pkgname=haskell-optics-core
+pkgver=0.3
+pkgrel=1
+pkgdesc="Optics as an abstract interface: core definitions"
+url="https://github.com/well-typed/optics-core;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-indexed-profunctors')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('5d2a3b2b16e4a61a31f095aeaf6abbdb83e671787f1f0a93956dc97813c6e3318a5a50c59bbfa333dd03c09c5c7b19e16e37fb0d76adac09e9172e660e180d11')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:40:12
  Author: felixonmars
Revision: 617571

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 617570, 
hoogle/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:40:12 UTC (rev 617571)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hoogle
+pkgver=5.0.17.15
+pkgrel=38
+pkgdesc="Haskell API Search"
+url="https://www.haskell.org/hoogle/;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 
'haskell-conduit-extra'
+ 'haskell-connection' 'haskell-extra' 'haskell-foundation' 
'haskell-hashable'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 
'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-old-locale' 
'haskell-process-extras'
+ 'haskell-resourcet' 'haskell-src-exts' 'haskell-storable-tuple' 
'haskell-tar'
+ 'haskell-uniplate' 'haskell-utf8-string' 'haskell-vector' 
'haskell-wai'
+ 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('e2440cc92f5395e0e6b25344d0ed47eaa20ab257d2e9d5d3f67005d3ed666acc359503516418127cb3fe9a760387105b7894de80fafea326fe75143022ec5283')
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--datasubdir="$pkgname" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:40:02
  Author: felixonmars
Revision: 617570

upgpkg: hoogle 5.0.17.15-38: rebuild with ListLike 4.7

Modified:
  hoogle/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:38:26 UTC (rev 617569)
+++ PKGBUILD2020-04-22 02:40:02 UTC (rev 617570)
@@ -3,7 +3,7 @@
 
 pkgname=hoogle
 pkgver=5.0.17.15
-pkgrel=37
+pkgrel=38
 pkgdesc="Haskell API Search"
 url="https://www.haskell.org/hoogle/;
 license=("BSD")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:38:17
  Author: felixonmars
Revision: 617568

upgpkg: haskell-unixutils 1.54.1-126: rebuild with ListLike 4.7

Modified:
  haskell-unixutils/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:37:40 UTC (rev 617567)
+++ PKGBUILD2020-04-22 02:38:17 UTC (rev 617568)
@@ -3,7 +3,7 @@
 _hkgname=Unixutils
 pkgname=haskell-unixutils
 pkgver=1.54.1
-pkgrel=125
+pkgrel=126
 pkgdesc="A crude interface between Haskell and Unix-like operating systems"
 url="https://github.com/seereason/haskell-unixutils;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:38:26
  Author: felixonmars
Revision: 617569

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-unixutils/repos/community-staging-x86_64/PKGBUILD (from rev 
617568, haskell-unixutils/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:38:26 UTC (rev 617569)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+
+_hkgname=Unixutils
+pkgname=haskell-unixutils
+pkgver=1.54.1
+pkgrel=126
+pkgdesc="A crude interface between Haskell and Unix-like operating systems"
+url="https://github.com/seereason/haskell-unixutils;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions' 'haskell-process-extras' 
'haskell-puremd5'
+ 'haskell-regex-tdfa' 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b8395cf6778c18a2f36a45a927d24042fd144ab70c6c092e1be36b22c59bbd1f0151cbe703d9db98dc769eba41ca9eb89cf60e87f5a6bbb32d6b64ef97c45665')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:37:31
  Author: felixonmars
Revision: 617566

upgpkg: haskell-process-extras 0.7.4-91: rebuild with ListLike 4.7

Modified:
  haskell-process-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:36:50 UTC (rev 617565)
+++ PKGBUILD2020-04-22 02:37:31 UTC (rev 617566)
@@ -4,7 +4,7 @@
 _hkgname=process-extras
 pkgname=haskell-process-extras
 pkgver=0.7.4
-pkgrel=90
+pkgrel=91
 pkgdesc="Process extras"
 url="https://github.com/seereason/process-extras;
 license=('MIT')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:37:40
  Author: felixonmars
Revision: 617567

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-process-extras/repos/community-staging-x86_64/
  haskell-process-extras/repos/community-staging-x86_64/PKGBUILD
(from rev 617566, haskell-process-extras/trunk/PKGBUILD)

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

Copied: haskell-process-extras/repos/community-staging-x86_64/PKGBUILD (from 
rev 617566, haskell-process-extras/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:37:40 UTC (rev 617567)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=process-extras
+pkgname=haskell-process-extras
+pkgver=0.7.4
+pkgrel=91
+pkgdesc="Process extras"
+url="https://github.com/seereason/process-extras;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-generic-deriving' 
'haskell-listlike'
+)
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('4747b4bd920796b7b4ddf32d0e72a3af556c9db66c828b725ac7a7467442dad2b0dc85aa66e03d7a8c5afdb02658611e64d390b6c71219b380a986e245495536')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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 python-pycontracts/repos (2 files)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:36:22
  Author: felixonmars
Revision: 617563

archrelease: copy trunk to community-testing-any

Added:
  python-pycontracts/repos/community-testing-any/
  python-pycontracts/repos/community-testing-any/PKGBUILD
(from rev 617562, python-pycontracts/trunk/PKGBUILD)

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

Copied: python-pycontracts/repos/community-testing-any/PKGBUILD (from rev 
617562, python-pycontracts/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-04-22 02:36:22 UTC (rev 617563)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-pycontracts
+pkgname=(python-pycontracts python2-pycontracts)
+pkgver=1.8.14
+pkgrel=1
+pkgdesc='Declare constraints on function parameters and return values'
+arch=('any')
+url="https://andreacensi.github.io/contracts;
+license=('GPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing'
+ 'python-decorator' 'python2-decorator' 'python-six' 'python2-six' 
'python-future'
+ 'python2-future')
+checkdepends=('python-nose' 'python2-nose')
+source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
+sha512sums=('95f8c76e35cc7549fefa069d9c354fc1d4a55dcab0f3fd322cb86aed92c7bfa75a06eabb7540ff991d590a90cdec781906b856291002a82ee5ab0072cdcf6ccd')
+
+prepare() {
+  cp -a PyContracts-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/PyContracts-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/PyContracts-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/PyContracts-$pkgver
+  python setup.py nosetests
+
+  cd "$srcdir"/PyContracts-$pkgver-py2
+  rm -r src/contracts-py3k-test
+  python2 setup.py nosetests
+}
+
+package_python-pycontracts() {
+  depends=('python-pyparsing' 'python-decorator' 'python-six' 'python-future')
+
+  cd PyContracts-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pycontracts() {
+  depends=('python2-pyparsing' 'python2-decorator' 'python2-six' 
'python2-future')
+
+  cd PyContracts-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:36:50
  Author: felixonmars
Revision: 617565

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-listlike/repos/community-staging-x86_64/PKGBUILD (from rev 
617564, haskell-listlike/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:36:50 UTC (rev 617565)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ListLike
+pkgname=haskell-listlike
+pkgver=4.7
+pkgrel=1
+pkgdesc="Generic support for list-like structures"
+url="https://github.com/ddssff/listlike;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-dlist' 'haskell-fmlist' 'haskell-utf8-string' 
'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-random')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('76572718c060bead96f418cbec6fc3949c36f139eaa3a7586cd4f0ce9d1186adebe18005aa57abf219cbc86d46a28e161697e09fb4963f8608bde6204b1ece31')
+
+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
+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 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:36:12
  Author: felixonmars
Revision: 617562

upgpkg: python-pycontracts 1.8.14-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:33:28 UTC (rev 617561)
+++ PKGBUILD2020-04-22 02:36:12 UTC (rev 617562)
@@ -2,8 +2,8 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.12
-pkgrel=3
+pkgver=1.8.14
+pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;
@@ -13,7 +13,7 @@
  'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('9abd5ab5203687ddd8a738998e63e8f3e397b9ba9b9ee22bda945dab4f0d460115ed8e825c9c551d4c067b0f39dbb5b8ca51d365623b10ee8e210efc4edcbf15')
+sha512sums=('95f8c76e35cc7549fefa069d9c354fc1d4a55dcab0f3fd322cb86aed92c7bfa75a06eabb7540ff991d590a90cdec781906b856291002a82ee5ab0072cdcf6ccd')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:36:39
  Author: felixonmars
Revision: 617564

upgpkg: haskell-listlike 4.7-1: rebuild with ListLike 4.7

Modified:
  haskell-listlike/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:36:22 UTC (rev 617563)
+++ PKGBUILD2020-04-22 02:36:39 UTC (rev 617564)
@@ -2,8 +2,8 @@
 
 _hkgname=ListLike
 pkgname=haskell-listlike
-pkgver=4.6.3
-pkgrel=19
+pkgver=4.7
+pkgrel=1
 pkgdesc="Generic support for list-like structures"
 url="https://github.com/ddssff/listlike;
 license=('BSD')
@@ -11,7 +11,7 @@
 depends=('ghc-libs' 'haskell-dlist' 'haskell-fmlist' 'haskell-utf8-string' 
'haskell-vector')
 makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-random')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('9a5eac3543e62d33b433b809f119b0394d71dfee7f6442ab9e436144367e5745438d6806263a8e8658a28dafa11290d5ed50f2aa9cb5528e1762c23efe3cb705')
+sha512sums=('76572718c060bead96f418cbec6fc3949c36f139eaa3a7586cd4f0ce9d1186adebe18005aa57abf219cbc86d46a28e161697e09fb4963f8608bde6204b1ece31')
 
 build() {
 cd $_hkgname-$pkgver


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:23:24
  Author: felixonmars
Revision: 617524

upgpkg: tamarin-prover 1.4.1-330: rebuild with th-lift-instances 0.1.15

Modified:
  tamarin-prover/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:21:58 UTC (rev 617523)
+++ PKGBUILD2020-04-22 02:23:24 UTC (rev 617524)
@@ -3,7 +3,7 @@
 
 pkgname=tamarin-prover
 pkgver=1.4.1
-pkgrel=329
+pkgrel=330
 pkgdesc="The Tamarin prover for security protocol analysis"
 url="https://tamarin-prover.github.io;
 license=("GPL")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:23:33
  Author: felixonmars
Revision: 617525

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 617524, tamarin-prover/trunk/PKGBUILD)

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

Copied: tamarin-prover/repos/community-staging-x86_64/PKGBUILD (from rev 
617524, tamarin-prover/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:23:33 UTC (rev 617525)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=tamarin-prover
+pkgver=1.4.1
+pkgrel=330
+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-instances' 'haskell-binary-orphans'
+ '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')
+optdepends=('ocaml: for sapic support')
+makedepends=('ghc' 'ocaml')
+source=("tamarin-prover-$pkgver.tar.gz::https://github.com/tamarin-prover/tamarin-prover/archive/$pkgver.tar.gz;)
+sha512sums=('4d3aeae02be5d430bff6c55d78656e3c9a648674d235bfeb36ce227a39abd3054a132b99ff8040abf05d8e26506fe85d21ecfb6fce73062dd45b5ba98d941144')
+
+prepare() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+sed -i '/cp sapic/d' plugins/sapic/Makefile
+
+sed -i 's/binary-orphans/binary-instances/' $pkgname.cabal
+sed -i 's/Data.Binary.Orphans/Data.Binary.Instances/' src/Web/Types.hs
+}
+
+build() {
+cd "${srcdir}/${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
+
+cd plugins/sapic
+make -j1
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+
+install -Dm644 etc/filetype.vim 
"$pkgdir"/usr/share/vim/vimfiles/ftdetect/tamarin.vim
+install -Dm644 etc/spthy.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/spthy.vim
+install -Dm644 etc/sapic.vim 
"$pkgdir"/usr/share/vim/vimfiles/syntax/sapic.vim
+
+cd plugins/sapic
+install -Dm755 sapic "$pkgdir"/usr/bin/sapic
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:21:47
  Author: felixonmars
Revision: 617522

upgpkg: stack 2.3.0.1-6: rebuild with th-lift-instances 0.1.15

Modified:
  stack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:17:16 UTC (rev 617521)
+++ PKGBUILD2020-04-22 02:21:47 UTC (rev 617522)
@@ -3,7 +3,7 @@
 
 pkgname=stack
 pkgver=2.3.0.1
-pkgrel=5
+pkgrel=6
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack;
 license=("BSD")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:21:58
  Author: felixonmars
Revision: 617523

archrelease: copy trunk to community-staging-x86_64

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

---+
 PKGBUILD  |   78 
 stack.install |4 ++
 2 files changed, 82 insertions(+)

Copied: stack/repos/community-staging-x86_64/PKGBUILD (from rev 617522, 
stack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:21:58 UTC (rev 617523)
@@ -0,0 +1,78 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=stack
+pkgver=2.3.0.1
+pkgrel=6
+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-exceptions'
+ '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;)
+sha512sums=('SKIP')
+
+prepare() {
+  cd $pkgname
+  hpack
+  sed -i -e '/semigroups/d' $pkgname.cabal
+}
+
+build() {
+  cd $pkgname
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+  -f-disable-git-info -f-integration-tests -f-static 
-f-hide-dependency-versions -f-supported-build \
+  --ghc-option='-pie'
+  runhaskell Setup build
+  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 "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+
+  LD_PRELOAD=$(ls "$pkgdir"/usr/lib/libHSstack-*-ghc*.so) 
"${pkgdir}"/usr/bin/stack --bash-completion-script /usr/bin/stack > 
stack_completion_script
+  install -Dm644 stack_completion_script 
"${pkgdir}/usr/share/bash-completion/completions/stack"
+}

Copied: stack/repos/community-staging-x86_64/stack.install (from rev 617522, 
stack/trunk/stack.install)
===
--- community-staging-x86_64/stack.install  

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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:17:16
  Author: felixonmars
Revision: 617521

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 617520, 
postgrest/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:17:16 UTC (rev 617521)
@@ -0,0 +1,72 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.0
+pkgrel=16
+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' '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=('e52bca7c4ab37909b57b8d004244e7b0471464141cea5193ed01e39a60f7adb551064d3d3dd4230042b04730fdf8d6b8151bb3789b90c413680e6a3e496c383c')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *4.19/<5/' $pkgname.cabal
+sed -i -e '/ fail /d' src/PostgREST/Config.hs
+sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
+}
+
+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
+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 || warning 
"Tests failed"
+
+# Disabled: uses stack
+# test/io-tests.sh
+
+pifpaf_stop
+}
+
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:17:05
  Author: felixonmars
Revision: 617520

upgpkg: postgrest 7.0.0-16: rebuild with th-lift-instances 0.1.15

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:13:56 UTC (rev 617519)
+++ PKGBUILD2020-04-22 02:17:05 UTC (rev 617520)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=7.0.0
-pkgrel=15
+pkgrel=16
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:13:56
  Author: felixonmars
Revision: 617519

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

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

Copied: hledger-web/repos/community-staging-x86_64/PKGBUILD (from rev 617518, 
hledger-web/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:13:56 UTC (rev 617519)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hledger-web
+pkgver=1.17.1
+pkgrel=28
+pkgdesc="Web interface for the hledger accounting tool"
+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-http-conduit'
+ 'haskell-http-client' 'haskell-http-types' 'haskell-megaparsec' 
'haskell-network'
+ 'haskell-shakespeare' 'haskell-unix-compat' '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')
+makedepends=('ghc' 'haskell-hspec' 'haskell-yesod-test')
+replaces=('hledger-api')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('4221cd01387715efe6c17bbece72878a93acb6f1b153fac5eb2a28a3086676e9ebca84e1c6fbff86c49d2b6f383cbc2bfb38115301c10645bc9245c03c1f5b31')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e '/semigroups/d' $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}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-dev -f-library-only -fthreaded
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+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}"
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:13:45
  Author: felixonmars
Revision: 617518

upgpkg: hledger-web 1.17.1-28: rebuild with th-lift-instances 0.1.15

Modified:
  hledger-web/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:12:27 UTC (rev 617517)
+++ PKGBUILD2020-04-22 02:13:45 UTC (rev 617518)
@@ -3,7 +3,7 @@
 
 pkgname=hledger-web
 pkgver=1.17.1
-pkgrel=27
+pkgrel=28
 pkgdesc="Web interface for the hledger accounting tool"
 url="http://hledger.org;
 license=("GPL")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:12:27
  Author: felixonmars
Revision: 617517

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

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

Copied: git-annex/repos/community-staging-x86_64/PKGBUILD (from rev 617516, 
git-annex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:12:27 UTC (rev 617517)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=git-annex
+pkgver=8.20200330
+pkgrel=17
+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-crypto-api' 'haskell-cryptonite' 'haskell-data-default' 
'haskell-dav'
+ 'haskell-dbus' 'haskell-disk-free-space' 'haskell-dlist' 
'haskell-edit-distance'
+ 'haskell-exceptions' 'haskell-fdo-notify' 'haskell-feed' 
'haskell-filepath-bytestring'
+ 'haskell-hinotify' 'haskell-hslogger' 'haskell-http-client' 
'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')
+
+prepare() {
+  cd git-annex
+  sed -i 's/ fail / error /' Utility/HumanTime.hs Command/{Expire.hs,Init.hs}
+  sed -i 's/(fail /(error /' CmdLine/GitAnnex/Options.hs
+}
+
+build() {
+  cd git-annex
+
+  sed -e 's|--ghc-options|-O --prefix=/usr --enable-executable-dynamic 
--disable-library-vanilla --docdir=/usr/share/doc/'$pkgname' --ghc-options|' \
+  -i Makefile
+  make GHC="ghc -dynamic" BUILDER=./Setup -j1
+}
+
+package() {
+  cd git-annex
+  make GHC="ghc -dynamic" BUILDER=./Setup DESTDIR="$pkgdir" install
+
+  rmdir "$pkgdir"/usr/share/doc/git-annex "$pkgdir"/usr/share/doc
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:12:16
  Author: felixonmars
Revision: 617516

upgpkg: git-annex 8.20200330-17: rebuild with th-lift-instances 0.1.15

Modified:
  git-annex/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:05:51 UTC (rev 617515)
+++ PKGBUILD2020-04-22 02:12:16 UTC (rev 617516)
@@ -3,7 +3,7 @@
 
 pkgname=git-annex
 pkgver=8.20200330
-pkgrel=16
+pkgrel=17
 pkgdesc="Manage files with git, without checking their contents into git"
 url="https://git-annex.branchable.com/;
 license=("AGPL3")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:05:51
  Author: felixonmars
Revision: 617515

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 
617514, haskell-yesod-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:05:51 UTC (rev 617515)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.6.0.1
+pkgrel=365
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-attoparsec' 
'haskell-base64-bytestring'
+ 'haskell-blaze-builder' 'haskell-conduit' 'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-css-text' 'haskell-data-default'
+ 'haskell-file-embed' 'haskell-hashable' 'haskell-hjsmin' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-mime-types' 'haskell-unix-compat' 
'haskell-unordered-containers'
+ 'haskell-wai' 'haskell-wai-app-static' 'haskell-yesod-core')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit' 'haskell-wai-extra' 
'haskell-yesod-test')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('2e1e4873248d435a9d58f3075b6c06cde2edcdd520f700dc7f0427039c236d28787f62a643a8cf57b74d85a885625474a5662b91a56c25e8f4d1737be525bc2f')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:05:42
  Author: felixonmars
Revision: 617514

upgpkg: haskell-yesod-static 1.6.0.1-365: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-yesod-static/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:04:45 UTC (rev 617513)
+++ PKGBUILD2020-04-22 02:05:42 UTC (rev 617514)
@@ -4,7 +4,7 @@
 _hkgname=yesod-static
 pkgname=haskell-yesod-static
 pkgver=1.6.0.1
-pkgrel=364
+pkgrel=365
 pkgdesc="Static file serving subsite for Yesod Web Framework."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:04:45
  Author: felixonmars
Revision: 617513

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-test/repos/community-staging-x86_64/PKGBUILD (from rev 
617512, haskell-yesod-test/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:04:45 UTC (rev 617513)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=yesod-test
+pkgname=haskell-yesod-test
+pkgver=1.6.9
+pkgrel=124
+pkgdesc="Integration testing for WAI/Yesod Applications"
+url="https://www.yesodweb.com;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder'
+ 'haskell-blaze-html' 'haskell-case-insensitive' 'haskell-conduit'
+ 'haskell-cookie' 'haskell-hspec-core' 'haskell-html-conduit' 
'haskell-http-types'
+ 'haskell-memory' 'haskell-network' 'haskell-pretty-show' 'haskell-wai'
+ 'haskell-wai-extra' 'haskell-xml-conduit' 'haskell-xml-types' 
'haskell-yesod-core')
+makedepends=('ghc' 'haskell-yesod-form' 'haskell-hspec' 'haskell-unliftio' 
'haskell-unliftio-core')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('a09cec464ca4ebe9839eb08cc5da93076bed7450f17d2df8d40625e8d8d8157ba81284cea5e73b0b4e4e30169e0211af99cb8f6898d2039a826a68405cf681e2')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:04:35
  Author: felixonmars
Revision: 617512

upgpkg: haskell-yesod-test 1.6.9-124: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-yesod-test/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:03:43 UTC (rev 617511)
+++ PKGBUILD2020-04-22 02:04:35 UTC (rev 617512)
@@ -3,7 +3,7 @@
 _hkgname=yesod-test
 pkgname=haskell-yesod-test
 pkgver=1.6.9
-pkgrel=123
+pkgrel=124
 pkgdesc="Integration testing for WAI/Yesod Applications"
 url="https://www.yesodweb.com;
 license=('MIT')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:03:43
  Author: felixonmars
Revision: 617511

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-auth/repos/community-staging-x86_64/PKGBUILD (from rev 
617510, haskell-yesod-auth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:03:43 UTC (rev 617511)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-auth
+pkgname=haskell-yesod-auth
+pkgver=1.6.10
+pkgrel=22
+pkgdesc="Authentication for Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-authenticate' 
'haskell-base16-bytestring'
+ 'haskell-base64-bytestring' 'haskell-blaze-builder' 
'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-data-default' 'haskell-email-validate' 'haskell-file-embed' 
'haskell-http-client'
+ 'haskell-http-client-tls' 'haskell-http-conduit' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-network-uri' 'haskell-nonce' 'haskell-persistent' 
'haskell-random' 'haskell-safe'
+ 'haskell-shakespeare' 'haskell-unliftio' 'haskell-unliftio-core'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-yesod-core' 
'haskell-yesod-form'
+ 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0361d49d625ca01db2fbe063c7a4b314ab29f363295b839210fddb15118929ff619fa0256c4ffe45f06df388166597c1c64a07be8de9019b630e71632d301eb7')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:03:34
  Author: felixonmars
Revision: 617510

upgpkg: haskell-yesod-auth 1.6.10-22: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-yesod-auth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:02:38 UTC (rev 617509)
+++ PKGBUILD2020-04-22 02:03:34 UTC (rev 617510)
@@ -4,7 +4,7 @@
 _hkgname=yesod-auth
 pkgname=haskell-yesod-auth
 pkgver=1.6.10
-pkgrel=21
+pkgrel=22
 pkgdesc="Authentication for Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:02:28
  Author: felixonmars
Revision: 617508

upgpkg: haskell-yesod 1.6.0.1-84: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-yesod/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:01:47 UTC (rev 617507)
+++ PKGBUILD2020-04-22 02:02:28 UTC (rev 617508)
@@ -4,7 +4,7 @@
 _hkgname=yesod
 pkgname=haskell-yesod
 pkgver=1.6.0.1
-pkgrel=83
+pkgrel=84
 pkgdesc="Creation of type-safe, RESTful web applications."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:02:38
  Author: felixonmars
Revision: 617509

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod/repos/community-staging-x86_64/PKGBUILD (from rev 617508, 
haskell-yesod/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:02:38 UTC (rev 617509)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod
+pkgname=haskell-yesod
+pkgver=1.6.0.1
+pkgrel=84
+pkgdesc="Creation of type-safe, RESTful web applications."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-conduit' 
'haskell-data-default-class'
+ 'haskell-fast-logger' 'haskell-monad-logger' 'haskell-shakespeare'
+ 'haskell-streaming-commons' 'haskell-unordered-containers' 
'haskell-wai'
+ 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml'
+ 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('776668becc858274bca8883a9ffc71be48385e85ba1f393a4f4ba70d4acbac5ff8c1a5c233404d81cd34c3ba6da96d6ba97ee5e552278879ca0f877c7cf3a0cc')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:01:47
  Author: felixonmars
Revision: 617507

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
617506, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:01:47 UTC (rev 617507)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.6.7
+pkgrel=163
+pkgdesc="Form handling support for Yesod Web Framework"
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-blaze-builder' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-byteable' 'haskell-data-default' 
'haskell-email-validate'
+ 'haskell-network-uri' 'haskell-persistent' 'haskell-resourcet' 
'haskell-shakespeare'
+ 'haskell-wai' 'haskell-xss-sanitize' 'haskell-yesod-core' 
'haskell-yesod-persistent')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a23c2cb67ed0a87afde9e9e903aa789f8fd9c071893a1bebd0ff9dc3dec6e8e03dd08a4a7ef6ef2d438fbf62597ea0181a038bd7bb5631199c9be83d2a8aef0c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:01:30
  Author: felixonmars
Revision: 617506

upgpkg: haskell-yesod-form 1.6.7-163: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:00:29 UTC (rev 617505)
+++ PKGBUILD2020-04-22 02:01:30 UTC (rev 617506)
@@ -4,7 +4,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.6.7
-pkgrel=162
+pkgrel=163
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:00:19
  Author: felixonmars
Revision: 617504

upgpkg: haskell-yesod-persistent 1.6.0.4-108: rebuild with th-lift-instances 
0.1.15

Modified:
  haskell-yesod-persistent/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:59:36 UTC (rev 617503)
+++ PKGBUILD2020-04-22 02:00:19 UTC (rev 617504)
@@ -4,7 +4,7 @@
 _hkgname=yesod-persistent
 pkgname=haskell-yesod-persistent
 pkgver=1.6.0.4
-pkgrel=107
+pkgrel=108
 pkgdesc="Some helpers for using Persistent from Yesod."
 url="http://www.yesodweb.com/;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:00:29
  Author: felixonmars
Revision: 617505

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from 
rev 617504, haskell-yesod-persistent/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 02:00:29 UTC (rev 617505)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0.4
+pkgrel=108
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" 
"haskell-persistent"
+ "haskell-persistent-template" "haskell-resource-pool" 
"haskell-resourcet"
+ "haskell-yesod-core")
+makedepends=('ghc' 'haskell-hspec' 'haskell-wai-extra' 
'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a52d85b025397ae04641346107124a5570765356bc7209f0391646b93b3c8954219c73d717c98d108d552800eeb2122531f98abd2b0e2109aee59c7d9825f70d')
+
+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
+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-uri-bytestring/repos (2 files)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:59:36
  Author: felixonmars
Revision: 617503

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-uri-bytestring/repos/community-staging-x86_64/
  haskell-uri-bytestring/repos/community-staging-x86_64/PKGBUILD
(from rev 617502, haskell-uri-bytestring/trunk/PKGBUILD)

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

Copied: haskell-uri-bytestring/repos/community-staging-x86_64/PKGBUILD (from 
rev 617502, haskell-uri-bytestring/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:59:36 UTC (rev 617503)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+_hkgname=uri-bytestring
+pkgname=haskell-uri-bytestring
+pkgver=0.3.2.2
+pkgrel=46
+pkgdesc="Haskell URI parsing as ByteStrings"
+url="https://github.com/Soostone/uri-bytestring;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-th-lift-instances')
+makedepends=('ghc' 'haskell-hunit' 'haskell-hedgehog' 'haskell-tasty' 
'haskell-tasty-hedgehog'
+ 'haskell-tasty-hunit' 'haskell-base-compat' 'haskell-safe')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('82565afbdb00b9b4a56f8eaa3ccd42732a16a79f894c950c67cede6346af5112dcb2d226f4b11bde135cf6cfacc687799d33f660d98556d031d262ffe65cf422')
+
+prepare() {
+sed -e '/, semigroups/d' -i ${_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 --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-lib-Werror
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# https://github.com/Soostone/uri-bytestring/issues/50
+# 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-uri-bytestring/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:59:27
  Author: felixonmars
Revision: 617502

upgpkg: haskell-uri-bytestring 0.3.2.2-46: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-uri-bytestring/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:58:46 UTC (rev 617501)
+++ PKGBUILD2020-04-22 01:59:27 UTC (rev 617502)
@@ -3,7 +3,7 @@
 _hkgname=uri-bytestring
 pkgname=haskell-uri-bytestring
 pkgver=0.3.2.2
-pkgrel=45
+pkgrel=46
 pkgdesc="Haskell URI parsing as ByteStrings"
 url="https://github.com/Soostone/uri-bytestring;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:58:34
  Author: felixonmars
Revision: 617500

upgpkg: haskell-store 0.7.4-5: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-store/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:56:49 UTC (rev 617499)
+++ PKGBUILD2020-04-22 01:58:34 UTC (rev 617500)
@@ -3,7 +3,7 @@
 _hkgname=store
 pkgname=haskell-store
 pkgver=0.7.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Fast binary serialization"
 url="https://github.com/fpco/store;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:58:46
  Author: felixonmars
Revision: 617501

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-store/repos/community-staging-x86_64/PKGBUILD (from rev 617500, 
haskell-store/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:58:46 UTC (rev 617501)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=store
+pkgname=haskell-store
+pkgver=0.7.4
+pkgrel=5
+pkgdesc="Fast binary serialization"
+url="https://github.com/fpco/store;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async' 'haskell-base-orphans' 
'haskell-base64-bytestring'
+ 'haskell-contravariant' 'haskell-cryptohash' 'haskell-free'
+ 'haskell-hashable' 'haskell-hspec' 'haskell-hspec-smallcheck' 
'haskell-lifted-base'
+ 'haskell-monad-control' 'haskell-mono-traversable' 'haskell-network' 
'haskell-primitive'
+ 'haskell-resourcet' 'haskell-safe' 'haskell-smallcheck'
+ 'haskell-store-core' 'haskell-syb' 'haskell-th-lift' 
'haskell-th-lift-instances'
+ 'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-void')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('eb1df24036874b3a79c3b7c3c190bd9c06db1472d656a25b8141ee1a1d6da3cf5e339e15f191fd30f385a577d952697848e7514a6266508f993d16b52952ac1c')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/semigroups/d' -e '/fail/d' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-comparison-bench -f-small-bench
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-th-utilities/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:56:37
  Author: felixonmars
Revision: 617498

upgpkg: haskell-th-utilities 0.2.4.0-3: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-th-utilities/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:55:54 UTC (rev 617497)
+++ PKGBUILD2020-04-22 01:56:37 UTC (rev 617498)
@@ -3,7 +3,7 @@
 _hkgname=th-utilities
 pkgname=haskell-th-utilities
 pkgver=0.2.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Collection of useful functions for use with Template Haskell"
 url="https://github.com/fpco/th-utilities;
 license=('MIT')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:56:49
  Author: felixonmars
Revision: 617499

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-th-utilities/repos/community-staging-x86_64/
  haskell-th-utilities/repos/community-staging-x86_64/PKGBUILD
(from rev 617498, haskell-th-utilities/trunk/PKGBUILD)

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

Copied: haskell-th-utilities/repos/community-staging-x86_64/PKGBUILD (from rev 
617498, haskell-th-utilities/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:56:49 UTC (rev 617499)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=th-utilities
+pkgname=haskell-th-utilities
+pkgver=0.2.4.0
+pkgrel=3
+pkgdesc="Collection of useful functions for use with Template Haskell"
+url="https://github.com/fpco/th-utilities;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-primitive' 'haskell-syb' 'haskell-th-orphans')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('9dfd8996811f0918ef103ddba7408ef36dd91978fad12e523ca89957e79f6799479adb01422251023ad224c9386309d22169a0105eadeccff609a08c5bfbce13')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:55:54
  Author: felixonmars
Revision: 617497

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD (from rev 
617496, haskell-clash-prelude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:55:54 UTC (rev 617497)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+_hkgname=clash-prelude
+pkgname=haskell-clash-prelude
+pkgver=1.2.0
+pkgrel=22
+pkgdesc="CAES Language for Synchronous Hardware - Prelude library"
+url="https://github.com/clash-lang/clash-prelude;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-constraints' 
'haskell-data-binary-ieee754'
+ 'haskell-data-default-class' 'haskell-ghc-typelits-extra' 
'haskell-ghc-typelits-knownnat'
+ 'haskell-ghc-typelits-natnormalise' 'haskell-half' 'haskell-hashable' 
'haskell-lens'
+ 'haskell-quickcheck' 'haskell-recursion-schemes' 'haskell-reflection' 
'haskell-singletons'
+ 'haskell-th-abstraction' 'haskell-th-lift' 'haskell-text-show' 
'haskell-th-orphans'
+ 'haskell-type-errors' 'haskell-vector')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hint' 
'haskell-quickcheck-classes-base'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('11b3686c8ca25d4ab65ae72622de9bfd2240900db88059a6cfa442667dc0c3619bab2f9cdd61b25ac58b11cdc8c0424620de4e3337fc0b24b5c4406b5b56c6c9')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *2.14/<3/' $_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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+# TODO
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:55:44
  Author: felixonmars
Revision: 617496

upgpkg: haskell-clash-prelude 1.2.0-22: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-clash-prelude/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:46:08 UTC (rev 617495)
+++ PKGBUILD2020-04-22 01:55:44 UTC (rev 617496)
@@ -3,7 +3,7 @@
 _hkgname=clash-prelude
 pkgname=haskell-clash-prelude
 pkgver=1.2.0
-pkgrel=21
+pkgrel=22
 pkgdesc="CAES Language for Synchronous Hardware - Prelude library"
 url="https://github.com/clash-lang/clash-prelude;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:45:59
  Author: felixonmars
Revision: 617494

upgpkg: haskell-singletons 2.6-36: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-singletons/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:41:43 UTC (rev 617493)
+++ PKGBUILD2020-04-22 01:45:59 UTC (rev 617494)
@@ -3,7 +3,7 @@
 _hkgname=singletons
 pkgname=haskell-singletons
 pkgver=2.6
-pkgrel=35
+pkgrel=36
 pkgdesc="A framework for generating singleton types"
 url="https://github.com/goldfirere/singletons;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:46:08
  Author: felixonmars
Revision: 617495

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-singletons/repos/community-staging-x86_64/PKGBUILD (from rev 
617494, haskell-singletons/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:46:08 UTC (rev 617495)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+_hkgname=singletons
+pkgname=haskell-singletons
+pkgver=2.6
+pkgrel=36
+pkgdesc="A framework for generating singleton types"
+url="https://github.com/goldfirere/singletons;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-desugar' 'haskell-syb')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-turtle')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6019bcd5e60718055d7a1369902c27b27a3b58c86049eaac4411bd347670f6e9835cfb680ea2126b6b4614688cb1e9ea9025dc590a9df83e1e654bb115db600d')
+
+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
+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 || warning "Tests failed"
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:41:43
  Author: felixonmars
Revision: 617493

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-th-desugar/repos/community-staging-x86_64/
  haskell-th-desugar/repos/community-staging-x86_64/PKGBUILD
(from rev 617492, haskell-th-desugar/trunk/PKGBUILD)

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

Copied: haskell-th-desugar/repos/community-staging-x86_64/PKGBUILD (from rev 
617492, haskell-th-desugar/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:41:43 UTC (rev 617493)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+
+_hkgname=th-desugar
+pkgname=haskell-th-desugar
+pkgver=1.10
+pkgrel=17
+pkgdesc="Functions to desugar Template Haskell"
+url="https://github.com/goldfirere/th-desugar;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ordered-containers' 'haskell-syb' 
'haskell-th-abstraction'
+ 'haskell-th-lift' 'haskell-th-orphans' 'haskell-transformers-compat')
+makedepends=('ghc' 'haskell-hunit' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d7aafa153362ce7de632e8b3d290612bd1a58a09efec31e184094dcc92fb8ce62949a717bcbc8b98f011bc73665deb0aac4bd6889a629e736b9263d46b7f3ed8')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e '/fail/d' -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
+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-th-desugar/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:41:32
  Author: felixonmars
Revision: 617492

upgpkg: haskell-th-desugar 1.10-17: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-th-desugar/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:40:31 UTC (rev 617491)
+++ PKGBUILD2020-04-22 01:41:32 UTC (rev 617492)
@@ -3,7 +3,7 @@
 _hkgname=th-desugar
 pkgname=haskell-th-desugar
 pkgver=1.10
-pkgrel=16
+pkgrel=17
 pkgdesc="Functions to desugar Template Haskell"
 url="https://github.com/goldfirere/th-desugar;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:40:31
  Author: felixonmars
Revision: 617491

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
617490, haskell-persistent-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:40:31 UTC (rev 617491)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=persistent-qq
+pkgname=haskell-persistent-qq
+pkgver=2.9.1.1
+pkgrel=74
+pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
+url="https://github.com/yesod-web/persistent;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta' 'haskell-persistent')
+makedepends=('ghc' 'haskell-aeson' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-monad-logger' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-resourcet' 'haskell-unliftio')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('3fbdaefe6b5304ca8076b7dae3eab0ac08d624da1e595fcb29e24c2dfae1af376855b67802f0badb5f0b812c9dcda7cbc6e0b6cd26da618b6fe378866a39cd5f')
+
+build() {
+cd $_hkgname-$pkgver
+
+if (( CHECKFUNC )); then
+_opts=('--enable-tests')
+else
+_opts=('--disable-tests')
+fi
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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-persistent-qq/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:40:21
  Author: felixonmars
Revision: 617490

upgpkg: haskell-persistent-qq 2.9.1.1-74: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-persistent-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:39:22 UTC (rev 617489)
+++ PKGBUILD2020-04-22 01:40:21 UTC (rev 617490)
@@ -3,7 +3,7 @@
 _hkgname=persistent-qq
 pkgname=haskell-persistent-qq
 pkgver=2.9.1.1
-pkgrel=73
+pkgrel=74
 pkgdesc="Provides a quasi-quoter for raw SQL for persistent"
 url="https://github.com/yesod-web/persistent;
 license=('MIT')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:39:22
  Author: felixonmars
Revision: 617489

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-pantry/repos/community-staging-x86_64/PKGBUILD (from rev 
617488, haskell-pantry/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:39:22 UTC (rev 617489)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan 
+
+_hkgname=pantry
+pkgname=haskell-pantry
+pkgver=0.4.0.1
+pkgrel=34
+pkgdesc="Content addressable Haskell package management"
+url="https://github.com/commercialhaskell/pantry;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-casa-client'
+ 'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 
'haskell-cryptonite'
+ 'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 
'haskell-generic-deriving'
+ 'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 
'haskell-path-io'
+ 'haskell-persistent' 'haskell-persistent-sqlite' 
'haskell-persistent-template'
+ 'haskell-primitive' 'haskell-resourcet' 'haskell-rio' 
'haskell-rio-orphans'
+ 'haskell-rio-prettyprint' 'haskell-tar-conduit' 'haskell-text-metrics'
+ 'haskell-unix-compat' 'haskell-unliftio' 
'haskell-unordered-containers' 'haskell-vector'
+ 'haskell-yaml' 'haskell-zip-archive')
+makedepends=('ghc' 'haskell-hedgehog' 'haskell-hspec' 'haskell-quickcheck' 
'haskell-raw-strings-qq')
+checkdepends=('git' 'mercurial')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('0fbed425e3079bf1a06805efff092345c5f09bca430d2167d132cba4cd4a4c66567ce1aba921a9ac01d0db368f255395b2ad38d8b16ea5d81e263b100ad5a51d')
+
+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
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:39:12
  Author: felixonmars
Revision: 617488

upgpkg: haskell-pantry 0.4.0.1-34: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-pantry/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:35:44 UTC (rev 617487)
+++ PKGBUILD2020-04-22 01:39:12 UTC (rev 617488)
@@ -3,7 +3,7 @@
 _hkgname=pantry
 pkgname=haskell-pantry
 pkgver=0.4.0.1
-pkgrel=33
+pkgrel=34
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:35:44
  Author: felixonmars
Revision: 617487

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-optparse-simple/repos/community-staging-x86_64/
  haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD
(from rev 617486, haskell-optparse-simple/trunk/PKGBUILD)

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

Copied: haskell-optparse-simple/repos/community-staging-x86_64/PKGBUILD (from 
rev 617486, haskell-optparse-simple/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:35:44 UTC (rev 617487)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=optparse-simple
+pkgname=haskell-optparse-simple
+pkgver=0.1.1.2
+pkgrel=177
+pkgdesc="Simple interface to optparse-applicative"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-githash' 'haskell-optparse-applicative')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('a2810745ba4a3fd62585fc7367f02ff8eb70752d4836da495a73f15d2b1672d7b5ff59a72bcbc8688efff71fec189c5cc11331b6c46b714233ad86049d581c03')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-build-example
+runhaskell Setup build
+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-optparse-simple/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:35:33
  Author: felixonmars
Revision: 617486

upgpkg: haskell-optparse-simple 0.1.1.2-177: rebuild with th-lift-instances 
0.1.15

Modified:
  haskell-optparse-simple/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:34:56 UTC (rev 617485)
+++ PKGBUILD2020-04-22 01:35:33 UTC (rev 617486)
@@ -4,7 +4,7 @@
 _hkgname=optparse-simple
 pkgname=haskell-optparse-simple
 pkgver=0.1.1.2
-pkgrel=176
+pkgrel=177
 pkgdesc="Simple interface to optparse-applicative"
 url="https://hackage.haskell.org/package/${_hkgname};
 license=("BSD")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:34:36
  Author: felixonmars
Revision: 617484

upgpkg: haskell-interpolatedstring-perl6 1.0.2-36: rebuild with 
th-lift-instances 0.1.15

Modified:
  haskell-interpolatedstring-perl6/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:34:08 UTC (rev 617483)
+++ PKGBUILD2020-04-22 01:34:36 UTC (rev 617484)
@@ -3,7 +3,7 @@
 _hkgname=interpolatedstring-perl6
 pkgname=haskell-interpolatedstring-perl6
 pkgver=1.0.2
-pkgrel=35
+pkgrel=36
 pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings"
 url="https://github.com/audreyt/interpolatedstring-perl6;
 license=('custom:PublicDomain')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:34:56
  Author: felixonmars
Revision: 617485

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-interpolatedstring-perl6/repos/community-staging-x86_64/
  haskell-interpolatedstring-perl6/repos/community-staging-x86_64/PKGBUILD
(from rev 617484, haskell-interpolatedstring-perl6/trunk/PKGBUILD)

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

Copied: 
haskell-interpolatedstring-perl6/repos/community-staging-x86_64/PKGBUILD (from 
rev 617484, haskell-interpolatedstring-perl6/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:34:56 UTC (rev 617485)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan 
+
+_hkgname=interpolatedstring-perl6
+pkgname=haskell-interpolatedstring-perl6
+pkgver=1.0.2
+pkgrel=36
+pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings"
+url="https://github.com/audreyt/interpolatedstring-perl6;
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('660e2fafe2f5a03baf16d56fa298e9fe0df677023fff7b3e5d8879910a76066b95a753fffc0c6374fd405de67f54c1410d4542f6d85823e8e87277bde28624a7')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" 
\
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+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-githash/repos (2 files)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:34:08
  Author: felixonmars
Revision: 617483

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-githash/repos/community-staging-x86_64/PKGBUILD (from rev 
617482, haskell-githash/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:34:08 UTC (rev 617483)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=githash
+pkgname=haskell-githash
+pkgver=0.1.4.0
+pkgrel=10
+pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
+url="https://github.com/snoyberg/githash;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'git')
+makedepends=('ghc' 'haskell-hpack' 'haskell-hspec' 'haskell-temporary' 
'haskell-unliftio')
+source=("git+https://github.com/snoyberg/githash.git#tag=githash-$pkgver;)
+sha512sums=('SKIP')
+
+prepare() {
+cd $_hkgname
+hpack
+}
+
+build() {
+cd $_hkgname
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:33:58
  Author: felixonmars
Revision: 617482

upgpkg: haskell-githash 0.1.4.0-10: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-githash/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:33:06 UTC (rev 617481)
+++ PKGBUILD2020-04-22 01:33:58 UTC (rev 617482)
@@ -3,7 +3,7 @@
 _hkgname=githash
 pkgname=haskell-githash
 pkgver=0.1.4.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Some handy Template Haskell splices for including the current git 
hash and branch in the code of your project"
 url="https://github.com/snoyberg/githash;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:32:57
  Author: felixonmars
Revision: 617480

upgpkg: haskell-hpack 0.33.0-113: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-hpack/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:32:10 UTC (rev 617479)
+++ PKGBUILD2020-04-22 01:32:57 UTC (rev 617480)
@@ -5,7 +5,7 @@
 pkgname=haskell-hpack
 _hkgname=hpack
 pkgver=0.33.0
-pkgrel=112
+pkgrel=113
 pkgdesc="A modern format for Haskell packages"
 url="https://github.com/sol/hpack#readme;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:33:06
  Author: felixonmars
Revision: 617481

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 617480, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:33:06 UTC (rev 617481)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.33.0
+pkgrel=113
+pkgdesc="A modern format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-bifunctors' 'haskell-cryptonite' 
'haskell-glob'
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types'
+ 'haskell-infer-license' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-vector' 'haskell-yaml')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-interpolate'
+ 'haskell-mockery' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+sha512sums=('8d70bea1c18e9a26fe137f6e20fec4af28dff6ebc50981d2f57ad9a8e0b9574ff158adb5ba16597b6a5f0e4d843c09fee57dd82407dc1383b1e07453b64d010b')
+
+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
+  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 || warning "https://github.com/sol/hpack/issues/358;
+}
+
+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 python-gcp-devrel-py-tools/repos/community-any (2 files)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:32:10
  Author: felixonmars
Revision: 617479

archrelease: copy trunk to community-any

Added:
  python-gcp-devrel-py-tools/repos/community-any/PKGBUILD
(from rev 617478, python-gcp-devrel-py-tools/trunk/PKGBUILD)
Deleted:
  python-gcp-devrel-py-tools/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-22 01:31:57 UTC (rev 617478)
+++ PKGBUILD2020-04-22 01:32:10 UTC (rev 617479)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgbase=python-gcp-devrel-py-tools
-pkgname=('python-gcp-devrel-py-tools' 'python2-gcp-devrel-py-tools')
-pkgver=0.0.15
-_commit=87422ba91814529848a2b8bf8be4294283a3e041
-pkgrel=4
-pkgdesc='Tools for Cloud Platform Python libraries and samples'
-arch=('any')
-license=('Apache')
-url='https://github.com/GoogleCloudPlatform/python-repo-tools'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests'
- 'python-retrying' 'python2-retrying' 'python-packaging' 
'python2-packaging'
- 'python-pylint' 'python2-pylint')
-source=("$pkgbase-$_commit.tar.gz::https://github.com/GoogleCloudPlatform/python-repo-tools/archive/$_commit.tar.gz;)
-sha512sums=('6ed884b0325aa212c8545e33ddd763ea4fe4980f40ceab166a0d3f65913698ec9a31d7471f6907fb8e391e4063db20d59bb4c688adcb3d5e17fb04025cce6dd2')
-
-prepare() {
-  cp -a python-repo-tools-$_commit{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-repo-tools-$_commit
-  python setup.py build
-
-  cd "$srcdir"/python-repo-tools-$_commit-py2
-  python2 setup.py build
-}
-
-package_python-gcp-devrel-py-tools() {
-  depends=('python-requests' 'python-retrying' 'python-setuptools' 
'python-packaging'
-   'python-pylint')
-
-  cd python-repo-tools-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-gcp-devrel-py-tools() {
-  depends=('python2-requests' 'python2-retrying' 'python2-setuptools' 
'python2-packaging'
-   'python2-pylint')
-
-  cd python-repo-tools-$_commit-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/gcp-devrel-py-tools{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-gcp-devrel-py-tools/repos/community-any/PKGBUILD (from rev 
617478, python-gcp-devrel-py-tools/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-22 01:32:10 UTC (rev 617479)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-gcp-devrel-py-tools
+pkgver=0.0.16
+_commit=dbc02f5ec965a6672d47a0e8963365970d96db17
+pkgrel=1
+pkgdesc='Tools for Cloud Platform Python libraries and samples'
+arch=('any')
+license=('Apache')
+url='https://github.com/GoogleCloudPlatform/python-repo-tools'
+depends=('python-setuptools' 'python-requests' 'python-retrying' 
'python-packaging' 'python-pylint')
+source=("$pkgname-$_commit.tar.gz::https://github.com/GoogleCloudPlatform/python-repo-tools/archive/$_commit.tar.gz;)
+sha512sums=('8e1963d9cf15aee6c11bf99236f6d86ba72a56a8bb41c20b7d28786669551a35204755c9ab617ac4384b9f68e53a0a04d70726849fd0cd3c89f0aae15b76')
+
+build() {
+  cd "$srcdir"/python-repo-tools-$_commit
+  python setup.py build
+}
+
+package() {
+  cd python-repo-tools-$_commit
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-gcp-devrel-py-tools/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:31:57
  Author: felixonmars
Revision: 617478

upgpkg: python-gcp-devrel-py-tools 0.0.16-1

Modified:
  python-gcp-devrel-py-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:31:04 UTC (rev 617477)
+++ PKGBUILD2020-04-22 01:31:57 UTC (rev 617478)
@@ -1,9 +1,9 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-gcp-devrel-py-tools
-pkgver=0.0.15
-_commit=87422ba91814529848a2b8bf8be4294283a3e041
-pkgrel=4
+pkgver=0.0.16
+_commit=dbc02f5ec965a6672d47a0e8963365970d96db17
+pkgrel=1
 pkgdesc='Tools for Cloud Platform Python libraries and samples'
 arch=('any')
 license=('Apache')
@@ -10,7 +10,7 @@
 url='https://github.com/GoogleCloudPlatform/python-repo-tools'
 depends=('python-setuptools' 'python-requests' 'python-retrying' 
'python-packaging' 'python-pylint')
 
source=("$pkgname-$_commit.tar.gz::https://github.com/GoogleCloudPlatform/python-repo-tools/archive/$_commit.tar.gz;)
-sha512sums=('6ed884b0325aa212c8545e33ddd763ea4fe4980f40ceab166a0d3f65913698ec9a31d7471f6907fb8e391e4063db20d59bb4c688adcb3d5e17fb04025cce6dd2')
+sha512sums=('8e1963d9cf15aee6c11bf99236f6d86ba72a56a8bb41c20b7d28786669551a35204755c9ab617ac4384b9f68e53a0a04d70726849fd0cd3c89f0aae15b76')
 
 build() {
   cd "$srcdir"/python-repo-tools-$_commit


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:31:04
  Author: felixonmars
Revision: 617477

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-interpolate/repos/community-staging-x86_64/PKGBUILD (from rev 
617476, haskell-interpolate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:31:04 UTC (rev 617477)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=interpolate
+pkgname=haskell-interpolate
+pkgver=0.2.0
+pkgrel=138
+pkgdesc="String interpolation done right"
+url="https://github.com/sol/interpolate;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-meta')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('adc90d7da696c4aea0935c5f85dbf37a1738c89ff3b940804cd7bb4f888e28a445c51db9e0f2e1e66f98646f60964c10d135cef30c13efaaaffee3c65b93c89a')
+
+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
+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-interpolate/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:30:55
  Author: felixonmars
Revision: 617476

upgpkg: haskell-interpolate 0.2.0-138: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-interpolate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:30:21 UTC (rev 617475)
+++ PKGBUILD2020-04-22 01:30:55 UTC (rev 617476)
@@ -4,7 +4,7 @@
 _hkgname=interpolate
 pkgname=haskell-interpolate
 pkgver=0.2.0
-pkgrel=137
+pkgrel=138
 pkgdesc="String interpolation done right"
 url="https://github.com/sol/interpolate;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:30:21
  Author: felixonmars
Revision: 617475

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hspec-wai-json/repos/community-staging-x86_64/PKGBUILD (from 
rev 617474, haskell-hspec-wai-json/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:30:21 UTC (rev 617475)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hspec-wai-json
+pkgname=haskell-hspec-wai-json
+pkgver=0.10.1
+pkgrel=24
+pkgdesc="Testing JSON APIs with hspec-wai"
+url="https://github.com/hspec/hspec-wai;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-qq' 
'haskell-case-insensitive'
+ 'haskell-hspec-wai')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('ff7d9960619254e410d004deb8ab6b6b0f918c9d657e125de986e46f8bbc60d8de97fcae4462ace11e106541c5d095506088910895fae24207909c29683211ec')
+
+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
+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-here/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:56
  Author: felixonmars
Revision: 617472

upgpkg: haskell-here 1.2.13-121: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-here/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:28:53 UTC (rev 617471)
+++ PKGBUILD2020-04-22 01:28:56 UTC (rev 617472)
@@ -4,7 +4,7 @@
 _hkgname=here
 pkgname=haskell-here
 pkgver=1.2.13
-pkgrel=120
+pkgrel=121
 pkgdesc="Here docs & interpolated strings via quasiquotation"
 url="https://github.com/tmhedberg/here;
 license=("BSD")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:29:06
  Author: felixonmars
Revision: 617473

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-here/repos/community-staging-x86_64/PKGBUILD (from rev 617472, 
haskell-here/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:29:06 UTC (rev 617473)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=here
+pkgname=haskell-here
+pkgver=1.2.13
+pkgrel=121
+pkgdesc="Here docs & interpolated strings via quasiquotation"
+url="https://github.com/tmhedberg/here;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-src-meta")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('aa6ddfad039a90950389c50699dd5f7230bd1ac9b2b9345d5d0c8e8470707216093553dfe89480c31f19374b905e319b8216b8939051278ae41d79ccc5b160fb')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:30:11
  Author: felixonmars
Revision: 617474

upgpkg: haskell-hspec-wai-json 0.10.1-24: rebuild with th-lift-instances 0.1.15

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

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:29:06 UTC (rev 617473)
+++ PKGBUILD2020-04-22 01:30:11 UTC (rev 617474)
@@ -4,7 +4,7 @@
 _hkgname=hspec-wai-json
 pkgname=haskell-hspec-wai-json
 pkgver=0.10.1
-pkgrel=23
+pkgrel=24
 pkgdesc="Testing JSON APIs with hspec-wai"
 url="https://github.com/hspec/hspec-wai;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:53
  Author: felixonmars
Revision: 617471

archrelease: copy trunk to community-any

Added:
  python-hypothesis/repos/community-any/PKGBUILD
(from rev 617470, python-hypothesis/trunk/PKGBUILD)
Deleted:
  python-hypothesis/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-22 01:28:42 UTC (rev 617470)
+++ PKGBUILD2020-04-22 01:28:53 UTC (rev 617471)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgname=python-hypothesis
-pkgver=5.10.0
-pkgrel=1
-pkgdesc="Advanced Quickcheck style testing library for Python"
-arch=('any')
-license=('MPL')
-url="https://hypothesis.readthedocs.org;
-depends=('python-attrs' 'python-sortedcontainers')
-optdepends=('python-pytz: for datetime and django module'
-'python-faker: for fakefactory and django module'
-'python-django: for django module'
-'python-numpy: for numpy module'
-'python-pytest: for pytest module'
-'python-lark-parser: for lark module')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'flake8' 'python-pytz' 'python-numpy' 
'python-faker'
-  'python-flaky' 'python-django' 'python-mock' 'python-pandas' 
'python-dpcontracts'
-  'python-pytest-xdist' 'python-lark-parser' 'python-pexpect' 
'python-coverage')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz;)
-sha512sums=('6ad24a568e494c36235961afcdf6867338c04a69b256d46f8c60eeecee6e54197af4903cc539fde1fa1a16a00a12682aa5fe8ce7830b473f1040703545125658')
-
-prepare() {
-  mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
-}
-
-build() {
-  cd hypothesis-$pkgver/hypothesis-python
-  python setup.py build
-}
-
-check() {
-  cd hypothesis-$pkgver/hypothesis-python
-  python setup.py pytest
-}
-
-package() {
-  cd hypothesis-$pkgver/hypothesis-python
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-hypothesis/repos/community-any/PKGBUILD (from rev 617470, 
python-hypothesis/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-22 01:28:53 UTC (rev 617471)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-hypothesis
+pkgver=5.10.1
+pkgrel=1
+pkgdesc="Advanced Quickcheck style testing library for Python"
+arch=('any')
+license=('MPL')
+url="https://hypothesis.readthedocs.org;
+depends=('python-attrs' 'python-sortedcontainers')
+optdepends=('python-pytz: for datetime and django module'
+'python-faker: for fakefactory and django module'
+'python-django: for django module'
+'python-numpy: for numpy module'
+'python-pytest: for pytest module'
+'python-lark-parser: for lark module')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'flake8' 'python-pytz' 'python-numpy' 
'python-faker'
+  'python-flaky' 'python-django' 'python-mock' 'python-pandas' 
'python-dpcontracts'
+  'python-pytest-xdist' 'python-lark-parser' 'python-pexpect' 
'python-coverage')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz;)
+sha512sums=('0a41cc1d90ac7f2c97562441712777d7186e16c44faaccbf6cbc4ef597c50e038935528c466e478d8023eb84a5f22e2d4de60169eb84dccaff0e333d8cb18173')
+
+prepare() {
+  mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver
+}
+
+build() {
+  cd hypothesis-$pkgver/hypothesis-python
+  python setup.py build
+}
+
+check() {
+  cd hypothesis-$pkgver/hypothesis-python
+  python setup.py pytest
+}
+
+package() {
+  cd hypothesis-$pkgver/hypothesis-python
+  python setup.py install --root="$pkgdir" --optimize=1
+}


[arch-commits] Commit in python-cryptography/repos/extra-x86_64 (PKGBUILD PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:52
  Author: felixonmars
Revision: 380704

archrelease: copy trunk to extra-x86_64

Added:
  python-cryptography/repos/extra-x86_64/PKGBUILD
(from rev 380703, python-cryptography/trunk/PKGBUILD)
Deleted:
  python-cryptography/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-22 01:28:40 UTC (rev 380703)
+++ PKGBUILD2020-04-22 01:28:52 UTC (rev 380704)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan 
-
-pkgbase=python-cryptography
-pkgname=('python-cryptography' 'python2-cryptography')
-pkgver=2.9
-pkgrel=1
-pkgdesc="A package designed to expose cryptographic recipes and primitives to 
Python developers"
-arch=('x86_64')
-license=('Apache')
-url="https://pypi.python.org/pypi/cryptography;
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 
'python2-six' 'python-cffi'
- 'python2-cffi' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 
'python-idna'
- 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 
'python2-asn1crypto')
-checkdepends=('python-pytest-runner' "python-cryptography-vectors=$pkgver" 
'python-iso8601'
-  'python-pretend' 'python-hypothesis' 'python-pytz')
-source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz;)
-sha512sums=('7db2846b901e42ddc4caa9851235e5a0894ef702d4c4692eb60fcae17bc4e7833782a8001679ea41b78f9273d7d68a4b85810248590e12ca33cfade3208e2849')
-
-prepare() {
-  cp -a cryptography-${pkgver}{,-python2}
-}
-
-build() {
-  cd "$srcdir"/cryptography-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/cryptography-$pkgver-python2
-  python2 setup.py build
-}
-
-check() {
-  cd cryptography-$pkgver
-  python setup.py pytest
-}
-
-package_python-cryptography() {
-  depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 
'python-asn1crypto')
-
-  cd cryptography-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-cryptography() {
-  depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 
'python2-ipaddress'
-   'python2-setuptools' 'python2-asn1crypto')
-
-  cd cryptography-$pkgver-python2
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-cryptography/repos/extra-x86_64/PKGBUILD (from rev 380703, 
python-cryptography/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-22 01:28:52 UTC (rev 380704)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-cryptography
+pkgname=('python-cryptography' 'python2-cryptography')
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="A package designed to expose cryptographic recipes and primitives to 
Python developers"
+arch=('x86_64')
+license=('Apache')
+url="https://pypi.python.org/pypi/cryptography;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 
'python2-six' 'python-cffi'
+ 'python2-cffi' 'python2-enum34' 'python-pyasn1' 'python2-pyasn1' 
'python-idna'
+ 'python2-idna' 'python2-ipaddress' 'python-asn1crypto' 
'python2-asn1crypto')
+checkdepends=('python-pytest-runner' "python-cryptography-vectors=$pkgver" 
'python-iso8601'
+  'python-pretend' 'python-hypothesis' 'python-pytz')
+source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz;)
+sha512sums=('30b87c9ded1af78cb9393b5783dafc67118b675aa4fe8c04d4c6ac0ebd4c3272792b6e47cc70d09ac77df37ccfa9372905b0eb78fe01c1bf9bb4376af5a44066')
+
+prepare() {
+  cp -a cryptography-${pkgver}{,-python2}
+}
+
+build() {
+  cd "$srcdir"/cryptography-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/cryptography-$pkgver-python2
+  python2 setup.py build
+}
+
+check() {
+  cd cryptography-$pkgver
+  python setup.py pytest
+}
+
+package_python-cryptography() {
+  depends=('python-six' 'python-cffi' 'python-idna' 'python-setuptools' 
'python-asn1crypto')
+
+  cd cryptography-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-cryptography() {
+  depends=('python2-six' 'python2-cffi' 'python2-enum34' 'python2-idna' 
'python2-ipaddress'
+   'python2-setuptools' 'python2-asn1crypto')
+
+  cd cryptography-$pkgver-python2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:42
  Author: felixonmars
Revision: 617470

upgpkg: python-hypothesis 5.10.1-1

Modified:
  python-hypothesis/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:28:31 UTC (rev 617469)
+++ PKGBUILD2020-04-22 01:28:42 UTC (rev 617470)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-hypothesis
-pkgver=5.10.0
+pkgver=5.10.1
 pkgrel=1
 pkgdesc="Advanced Quickcheck style testing library for Python"
 arch=('any')
@@ -19,7 +19,7 @@
   'python-flaky' 'python-django' 'python-mock' 'python-pandas' 
'python-dpcontracts'
   'python-pytest-xdist' 'python-lark-parser' 'python-pexpect' 
'python-coverage')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-$pkgver.tar.gz;)
-sha512sums=('6ad24a568e494c36235961afcdf6867338c04a69b256d46f8c60eeecee6e54197af4903cc539fde1fa1a16a00a12682aa5fe8ce7830b473f1040703545125658')
+sha512sums=('0a41cc1d90ac7f2c97562441712777d7186e16c44faaccbf6cbc4ef597c50e038935528c466e478d8023eb84a5f22e2d4de60169eb84dccaff0e333d8cb18173')
 
 prepare() {
   mv hypothesis-hypothesis-python-$pkgver hypothesis-$pkgver


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:40
  Author: felixonmars
Revision: 380703

upgpkg: python-cryptography 2.9.1-1

Modified:
  python-cryptography/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:24:38 UTC (rev 380702)
+++ PKGBUILD2020-04-22 01:28:40 UTC (rev 380703)
@@ -2,7 +2,7 @@
 
 pkgbase=python-cryptography
 pkgname=('python-cryptography' 'python2-cryptography')
-pkgver=2.9
+pkgver=2.9.1
 pkgrel=1
 pkgdesc="A package designed to expose cryptographic recipes and primitives to 
Python developers"
 arch=('x86_64')
@@ -14,7 +14,7 @@
 checkdepends=('python-pytest-runner' "python-cryptography-vectors=$pkgver" 
'python-iso8601'
   'python-pretend' 'python-hypothesis' 'python-pytz')
 
source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz;)
-sha512sums=('7db2846b901e42ddc4caa9851235e5a0894ef702d4c4692eb60fcae17bc4e7833782a8001679ea41b78f9273d7d68a4b85810248590e12ca33cfade3208e2849')
+sha512sums=('30b87c9ded1af78cb9393b5783dafc67118b675aa4fe8c04d4c6ac0ebd4c3272792b6e47cc70d09ac77df37ccfa9372905b0eb78fe01c1bf9bb4376af5a44066')
 
 prepare() {
   cp -a cryptography-${pkgver}{,-python2}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:31
  Author: felixonmars
Revision: 617469

archrelease: copy trunk to community-testing-x86_64

Added:
  apm/repos/community-testing-x86_64/
  apm/repos/community-testing-x86_64/PKGBUILD
(from rev 617467, apm/trunk/PKGBUILD)
  apm/repos/community-testing-x86_64/apm.js
(from rev 617467, apm/trunk/apm.js)
  apm/repos/community-testing-x86_64/git-utils.patch
(from rev 617467, apm/trunk/git-utils.patch)
  apm/repos/community-testing-x86_64/no-scripts.patch
(from rev 617467, apm/trunk/no-scripts.patch)
  apm/repos/community-testing-x86_64/use-system-npm.patch
(from rev 617467, apm/trunk/use-system-npm.patch)

--+
 PKGBUILD |  105 +
 apm.js   |   13 ++
 git-utils.patch  |   10 
 no-scripts.patch |   16 +++
 use-system-npm.patch |   10 
 5 files changed, 154 insertions(+)

Copied: apm/repos/community-testing-x86_64/PKGBUILD (from rev 617467, 
apm/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-22 01:28:31 UTC (rev 617469)
@@ -0,0 +1,105 @@
+# Maintainer: Nicola Squartini 
+
+pkgname=apm
+pkgver=2.4.5
+pkgrel=2
+pkgdesc='Atom package manager'
+arch=('x86_64')
+url='https://github.com/atom/apm'
+license=('MIT')
+depends=('libsecret' 'nodejs>=10' 'npm' 'python')
+makedepends=('git')
+provides=('nodejs-atom-package-manager')
+conflicts=('nodejs-atom-package-manager')
+replaces=('nodejs-atom-package-manager')
+options=(!emptydirs)
+_gitutils_tag=5.6.1
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz;
+'apm.js'
+'no-scripts.patch'
+'use-system-npm.patch'
+'git-utils.patch')
+sha512sums=('bf84e40be7491fac7bc7c7449e88d035549b526874371f4314ecfd80592e21459435d03c5d74d662551285161536982f30631d5add17f2929e9b3b8a4eb17d13'
+
'cc81dd506dc70c3c6b561e99e78eebbee45ce5543f2bd9dce6bc61949ecd876fc26c68b90b596c40ef839a4dc3c50e22f79c45d9137380925c2d06b5c2dec705'
+
'50646299427b8233ac7fff7cf7abd46a8ffde121c166a8084d20d2e36b1bf3e35032eca339c9499ca844080c616fa52b0f4a13996305f2a4e41243bbf858'
+
'ef467bd6d3dbe3198fdd78f63489063e838c79103161dbfd611fe165e27a8c12c70792090ef3b3ee2f87cbe87c66114aec608e45b384895b4b88563b829c6d36'
+
'bf9f4023bfbdc7240e5ed8a87bc9097eb7a57b2bae44f1044098eb380b15ff8a12f92347b99b6754c6adb537b8310d1f47bdfd3e60db411e4d69d575ce70b2a6')
+
+_apmdir='/usr/lib/node_modules/atom-package-manager'
+
+prepare() {
+  rm -rf "${srcdir}"/apm-build
+
+  cd apm-${pkgver}
+
+  # Use custom launcher
+  rm bin/apm{,.cmd} bin/npm{,.cmd}
+  rm src/cli.coffee
+  install -m755 "${srcdir}"/apm.js bin/apm
+
+  # Use system npm
+  patch -Np1 -i "${srcdir}"/use-system-npm.patch
+
+  # Don't download binary Node
+  patch -Np1 -i "${srcdir}"/no-scripts.patch
+  rm BUNDLED_NODE_VERSION script/*
+}
+
+build() {
+  cd apm-${pkgver}
+
+  npm update keytar  # Node 12
+  npm install coffee-script
+  npx coffee -c --no-header -o lib src/*.coffee
+  rm -r node_modules
+  npm install --user root -g --prefix="${srcdir}"/apm-build/usr $(npm pack | 
tail -1)
+
+  cd 
"${srcdir}/apm-build/usr/lib/node_modules/atom-package-manager/node_modules/git-utils"
+  patch -Np1 -i "${srcdir}/git-utils.patch"
+  node-gyp rebuild
+}
+
+package() {
+  cp -r "${srcdir}"/apm-build/usr "${pkgdir}"
+
+  cd "${pkgdir}"${_apmdir}
+  install -m644 "${srcdir}"/apm-${pkgver}/README.md ./
+
+  # Install license file
+  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s ../../../lib/node_modules/atom-package-manager/LICENSE.md \
+ "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  # Remove occurrences of ${srcdir}
+  find "${pkgdir}" -name "package.json" \
+   -exec sed -e "s|${srcdir}/apm-build||" \
+ -e "s|${srcdir}/apm-${pkgver}|${_apmdir}|" \
+ -i '{}' \;
+
+  # Remove useless stuff
+  find "${pkgdir}"/usr/lib \
+  -name ".*" -prune -exec rm -r '{}' \; \
+  -or -name "*.a" -exec rm '{}' \; \
+  -or -name "*.bat" -exec rm '{}' \; \
+  -or -name "*.mk" -exec rm '{}' \; \
+  -or -path "*/git-utils/binding.gyp" -exec rm '{}' \; \
+  -or -path "*/git-utils/src/*.{cc,h}" -prune -exec rm -r '{}' \; \
+  -or -path "*/keytar/binding.gyp" -exec rm '{}' \; \
+  -or -path "*/keytar/src" -prune -exec rm -r '{}' \; \
+  -or -path "*/oniguruma/binding.gyp" -exec rm '{}' \; \
+  -or -path "*/oniguruma/src" -prune -exec rm -r '{}' \; \
+  -or -name "appveyor.yml" -exec rm '{}' \; \
+  -or -name "benchmark" -prune -exec rm -r '{}' \; \
+  -or -name "binding.Makefile" -exec rm '{}' \; \
+  -or -name "config.gypi" -exec rm '{}' \; \
+  -or -name "deps" -prune -exec rm -r '{}' \; \
+  -or -name "doc" -prune -exec rm -r '{}' \; \

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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:16
  Author: felixonmars
Revision: 617467

upgpkg: haskell-aeson-qq 0.8.3-47: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-aeson-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:28:15 UTC (rev 617466)
+++ PKGBUILD2020-04-22 01:28:16 UTC (rev 617467)
@@ -4,7 +4,7 @@
 _hkgname=aeson-qq
 pkgname=haskell-aeson-qq
 pkgver=0.8.3
-pkgrel=46
+pkgrel=47
 pkgdesc="JSON quasiquoter for Haskell"
 url="https://github.com/sol/aeson-qq;
 license=("MIT")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:26
  Author: felixonmars
Revision: 617468

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aeson-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
617467, haskell-aeson-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:28:26 UTC (rev 617468)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-qq
+pkgname=haskell-aeson-qq
+pkgver=0.8.3
+pkgrel=47
+pkgdesc="JSON quasiquoter for Haskell"
+url="https://github.com/sol/aeson-qq;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-base-compat' 
'haskell-src-meta'
+ 'haskell-scientific' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f7ef90529b4c9661ffc54ab8ebfc73c9966e6338591b871678be2a6e63ecf30089fd33279a074bd8d1905d71c8198ea5cc24c828d6e940e7af7585ba826a0c29')
+
+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
+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 bash-language-server/repos (2 files)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:27:53
  Author: felixonmars
Revision: 617465

archrelease: copy trunk to community-testing-x86_64

Added:
  bash-language-server/repos/community-testing-x86_64/
  bash-language-server/repos/community-testing-x86_64/PKGBUILD
(from rev 617464, bash-language-server/trunk/PKGBUILD)

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

Copied: bash-language-server/repos/community-testing-x86_64/PKGBUILD (from rev 
617464, bash-language-server/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-22 01:27:53 UTC (rev 617465)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=bash-language-server
+pkgver=1.13.1
+pkgrel=2
+pkgdesc="Bash language server implementation based on Tree Sitter and its 
grammar for Bash"
+arch=("x86_64")
+url="https://github.com/mads-hartmann/bash-language-server;
+license=("MIT")
+depends=("nodejs" "acorn")
+makedepends=("yarn" "typescript" "git")
+source=("https://github.com/mads-hartmann/$pkgname/archive/server-$pkgver.tar.gz;)
+sha512sums=('66530d0484f19162bc03fd7d0e8c1a139a60be6cb603c6931d90d5589a1ccebe17b41ab37caa8000e0573c31041595ac1845e9778034f33005c7a4541dd5ae4d')
+
+build() {
+cd "$srcdir/$pkgname-server-$pkgver"
+yarn
+yarn run compile
+}
+
+package() {
+install -d "$pkgdir/usr/lib/$pkgname"
+cd "$pkgdir/usr/lib/$pkgname"
+cp -a "$srcdir/$pkgname-server-$pkgver/server/"* .
+
+rm -r node_modules/acorn
+
+install -d "$pkgdir/usr/bin"
+ln -s "/usr/lib/$pkgname/bin/main.js" "$pkgdir/usr/bin/$pkgname"
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:27:45
  Author: felixonmars
Revision: 617464

upgpkg: bash-language-server 1.13.1-2: rebuild with nodejs 14

Modified:
  bash-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:27:37 UTC (rev 617463)
+++ PKGBUILD2020-04-22 01:27:45 UTC (rev 617464)
@@ -3,7 +3,7 @@
 
 pkgname=bash-language-server
 pkgver=1.13.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Bash language server implementation based on Tree Sitter and its 
grammar for Bash"
 arch=("x86_64")
 url="https://github.com/mads-hartmann/bash-language-server;


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:28:15
  Author: felixonmars
Revision: 617466

upgpkg: apm 2.4.5-2: rebuild with nodejs 14

Modified:
  apm/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:27:53 UTC (rev 617465)
+++ PKGBUILD2020-04-22 01:28:15 UTC (rev 617466)
@@ -2,7 +2,7 @@
 
 pkgname=apm
 pkgver=2.4.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Atom package manager'
 arch=('x86_64')
 url='https://github.com/atom/apm'
@@ -19,11 +19,11 @@
 'no-scripts.patch'
 'use-system-npm.patch'
 'git-utils.patch')
-sha256sums=('72487254ac0ee27074c7287c54cc922cc8f79cd1f9eed5bbf57c52792def8eb6'
-'acbe133eb67d603e815605b1f3d9056a03bfc4a22a7e9db081126b289b385f77'
-'897a82cd23ed5a4f226635dabe56ad28e533cb0949593e2b771ad7928c058bcb'
-'cf17bd31f70079fe2a17958712c1a515ce83623dd3f97557a3f01d346da09f19'
-'d596792d82a10e40d9365d1357ca5b3aa75568c0c687313abdd72fe6af5f8aea')
+sha512sums=('bf84e40be7491fac7bc7c7449e88d035549b526874371f4314ecfd80592e21459435d03c5d74d662551285161536982f30631d5add17f2929e9b3b8a4eb17d13'
+
'cc81dd506dc70c3c6b561e99e78eebbee45ce5543f2bd9dce6bc61949ecd876fc26c68b90b596c40ef839a4dc3c50e22f79c45d9137380925c2d06b5c2dec705'
+
'50646299427b8233ac7fff7cf7abd46a8ffde121c166a8084d20d2e36b1bf3e35032eca339c9499ca844080c616fa52b0f4a13996305f2a4e41243bbf858'
+
'ef467bd6d3dbe3198fdd78f63489063e838c79103161dbfd611fe165e27a8c12c70792090ef3b3ee2f87cbe87c66114aec608e45b384895b4b88563b829c6d36'
+
'bf9f4023bfbdc7240e5ed8a87bc9097eb7a57b2bae44f1044098eb380b15ff8a12f92347b99b6754c6adb537b8310d1f47bdfd3e60db411e4d69d575ce70b2a6')
 
 _apmdir='/usr/lib/node_modules/atom-package-manager'
 


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:27:37
  Author: felixonmars
Revision: 617463

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-src-meta/repos/community-staging-x86_64/
  haskell-src-meta/repos/community-staging-x86_64/PKGBUILD
(from rev 617462, haskell-src-meta/trunk/PKGBUILD)

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

Copied: haskell-src-meta/repos/community-staging-x86_64/PKGBUILD (from rev 
617462, haskell-src-meta/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:27:37 UTC (rev 617463)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=haskell-src-meta
+pkgname=haskell-src-meta
+pkgver=0.8.5
+pkgrel=8
+pkgdesc="Parse source to template-haskell abstract syntax"
+url="https://github.com/bmillwood/haskell-src-meta;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-src-exts' 'haskell-syb' 'haskell-th-orphans')
+makedepends=('ghc' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('873a797f53fc30dbb51b719228bc649f47d1c3432380a82b5dca11574b432676ed29d297c7547f1d752bb1c977c8858e55fb5135ffb58146b938d02414fe6723')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *1.23/<2/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+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-src-meta/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:27:27
  Author: felixonmars
Revision: 617462

upgpkg: haskell-src-meta 0.8.5-8: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-src-meta/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:27:14 UTC (rev 617461)
+++ PKGBUILD2020-04-22 01:27:27 UTC (rev 617462)
@@ -4,7 +4,7 @@
 _hkgname=haskell-src-meta
 pkgname=haskell-src-meta
 pkgver=0.8.5
-pkgrel=7
+pkgrel=8
 pkgdesc="Parse source to template-haskell abstract syntax"
 url="https://github.com/bmillwood/haskell-src-meta;
 license=("BSD")


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:26:28
  Author: felixonmars
Revision: 617458

upgpkg: haskell-th-orphans 0.13.10-2: rebuild with th-lift-instances 0.1.15

Modified:
  haskell-th-orphans/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:25:39 UTC (rev 617457)
+++ PKGBUILD2020-04-22 01:26:28 UTC (rev 617458)
@@ -3,7 +3,7 @@
 _hkgname=th-orphans
 pkgname=haskell-th-orphans
 pkgver=0.13.10
-pkgrel=1
+pkgrel=2
 pkgdesc="Orphan instances for TH datatypes"
 url="https://github.com/ekmett/th-orphans/;
 license=('BSD')


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:26:47
  Author: felixonmars
Revision: 617459

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-th-orphans/repos/community-staging-x86_64/
  haskell-th-orphans/repos/community-staging-x86_64/PKGBUILD
(from rev 617458, haskell-th-orphans/trunk/PKGBUILD)

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

Copied: haskell-th-orphans/repos/community-staging-x86_64/PKGBUILD (from rev 
617458, haskell-th-orphans/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:26:47 UTC (rev 617459)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=th-orphans
+pkgname=haskell-th-orphans
+pkgver=0.13.10
+pkgrel=2
+pkgdesc="Orphan instances for TH datatypes"
+url="https://github.com/ekmett/th-orphans/;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-th-lift' 'haskell-th-lift-instances'
+ 'haskell-th-reify-many')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('bdf9cc69f57b97772f2ef38dcda61ca352069ac07e45c85efdcabec9dd3a538f33b3d65cfdff77185c737b8050139e232c4ecf677d89fd79aa5b74238b8af651')
+
+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
+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-persistent-sqlite/repos (2 files)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:25:39
  Author: felixonmars
Revision: 617457

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-persistent-sqlite/repos/community-staging-x86_64/PKGBUILD (from 
rev 617456, haskell-persistent-sqlite/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-22 01:25:39 UTC (rev 617457)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=persistent-sqlite
+pkgname=haskell-persistent-sqlite
+pkgver=2.10.6.2
+pkgrel=49
+pkgdesc="Backend for the persistent library using sqlite3"
+url="https://www.yesodweb.com/book/persistent;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'sqlite' 'haskell-aeson' 'haskell-conduit' 
'haskell-microlens-th'
+ 'haskell-monad-logger' 'haskell-persistent' 'haskell-resource-pool' 
'haskell-resourcet'
+ 'haskell-unliftio-core' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-exceptions' 'haskell-fast-logger' 'haskell-hspec' 
'haskell-hunit'
+ 'haskell-persistent-template' 'haskell-persistent-test' 
'haskell-quickcheck'
+ 'haskell-system-fileio' 'haskell-system-filepath' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b1db41bf77ae53b99c28f3224c9a2b7335faa4a78c96487270249959cc9491fa542e28d38dd63a2b417580f6a41608ffcee152e8609fe16392005c728862c7bc')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-build-sanity-exe -fsystemlib -fuse-pkgconfig
+runhaskell Setup build
+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-persistent-sqlite/trunk (PKGBUILD)

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 01:25:27
  Author: felixonmars
Revision: 617455

upgpkg: haskell-persistent-sqlite 2.10.6.2-49: rebuild with th-lift-instances 
0.1.15

Modified:
  haskell-persistent-sqlite/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 01:25:17 UTC (rev 617454)
+++ PKGBUILD2020-04-22 01:25:27 UTC (rev 617455)
@@ -4,7 +4,7 @@
 _hkgname=persistent-sqlite
 pkgname=haskell-persistent-sqlite
 pkgver=2.10.6.2
-pkgrel=48
+pkgrel=49
 pkgdesc="Backend for the persistent library using sqlite3"
 url="https://www.yesodweb.com/book/persistent;
 license=("MIT")


  1   2   3   >