[arch-commits] Commit in wesnoth/repos/community-x86_64 (6 files)

2018-05-28 Thread Sven-Hendrik Haase via arch-commits
Date: Monday, May 28, 2018 @ 10:19:29
  Author: svenstaro
Revision: 332414

archrelease: copy trunk to community-x86_64

Added:
  wesnoth/repos/community-x86_64/PKGBUILD
(from rev 332413, wesnoth/trunk/PKGBUILD)
  wesnoth/repos/community-x86_64/wesnothd.service
(from rev 332413, wesnoth/trunk/wesnothd.service)
  wesnoth/repos/community-x86_64/wesnothd.tmpfiles.conf
(from rev 332413, wesnoth/trunk/wesnothd.tmpfiles.conf)
Deleted:
  wesnoth/repos/community-x86_64/PKGBUILD
  wesnoth/repos/community-x86_64/wesnothd.service
  wesnoth/repos/community-x86_64/wesnothd.tmpfiles.conf

+
 PKGBUILD   |   94 +++
 wesnothd.service   |   18 -
 wesnothd.tmpfiles.conf |2 -
 3 files changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-28 10:19:13 UTC (rev 332413)
+++ PKGBUILD2018-05-28 10:19:29 UTC (rev 332414)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase 
-# Contributor: Jan de Groot 
-# Contributor: Tobias Powalowski 
-# Contributor: Jacobo Arvelo 
-# Contributor: Douglas Soares de Andrade 
-
-pkgname=wesnoth
-pkgver=1.14.1
-pkgrel=1
-pkgdesc="A turn-based strategy game on a fantasy world"
-arch=('x86_64')
-license=('GPL')
-url="http://www.wesnoth.org/";
-depends=('sdl2_ttf' 'sdl2_net' 'sdl2_mixer' 'sdl2_image' 'fribidi' 
'boost-libs' 'pango' 'lua52' 'dbus' 'python2')
-makedepends=('boost' 'cmake' 'git')
-replaces=('wesnoth-data')
-options=(!emptydirs)
-source=("git://github.com/wesnoth/wesnoth.git#tag=${pkgver}"
-wesnothd.tmpfiles.conf
-wesnothd.service)
-sha512sums=('SKIP'
-
'6e776bf9d4e6f289b1dddbea03b0cc6972af9e926c8305fac823613b101d7f3bc40f30ab73708e9df355b28cc6459b138f3d8015528796ad94d3571d20dd54ed'
-
'9d648c8bd13a574364b4dede4b1084a2fe1bf50a38ad04aa1a9f72f168915fc67d29b3c048f881a32f38a785fd4256d48c864346db08326e279237b28d5ca884')
-
-build() {
-  cd "$srcdir/$pkgname"
-
-  mkdir build && cd build
-  cmake .. \
-  -DCMAKE_INSTALL_PREFIX=/usr \
-  -DENABLE_OMP=ON \
-  -DENABLE_TOOLS=ON \
-  -DMANDIR=share/man \
-  -DFIFO_DIR=/var/run/wesnothd
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname"
-
-  cd build
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" 
"$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf"
-  install -Dm644 "$srcdir/wesnothd.service" 
"$pkgdir/usr/lib/systemd/system/wesnothd.service"
-}

Copied: wesnoth/repos/community-x86_64/PKGBUILD (from rev 332413, 
wesnoth/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-28 10:19:29 UTC (rev 332414)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Jan de Groot 
+# Contributor: Tobias Powalowski 
+# Contributor: Jacobo Arvelo 
+# Contributor: Douglas Soares de Andrade 
+
+pkgname=wesnoth
+pkgver=1.14.2
+pkgrel=1
+pkgdesc="A turn-based strategy game on a fantasy world"
+arch=('x86_64')
+license=('GPL')
+url="http://www.wesnoth.org/";
+depends=('sdl2_ttf' 'sdl2_net' 'sdl2_mixer' 'sdl2_image' 'fribidi' 
'boost-libs' 'pango' 'lua52' 'dbus' 'python2')
+makedepends=('boost' 'cmake' 'git')
+replaces=('wesnoth-data')
+options=(!emptydirs)
+source=("git://github.com/wesnoth/wesnoth.git#tag=${pkgver}"
+wesnothd.tmpfiles.conf
+wesnothd.service)
+sha512sums=('SKIP'
+
'6e776bf9d4e6f289b1dddbea03b0cc6972af9e926c8305fac823613b101d7f3bc40f30ab73708e9df355b28cc6459b138f3d8015528796ad94d3571d20dd54ed'
+
'9d648c8bd13a574364b4dede4b1084a2fe1bf50a38ad04aa1a9f72f168915fc67d29b3c048f881a32f38a785fd4256d48c864346db08326e279237b28d5ca884')
+
+build() {
+  cd "$srcdir/$pkgname"
+
+  mkdir build && cd build
+  cmake .. \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DENABLE_OMP=ON \
+  -DENABLE_TOOLS=ON \
+  -DMANDIR=share/man \
+  -DFIFO_DIR=/var/run/wesnothd
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/wesnothd.tmpfiles.conf" 
"$pkgdir/usr/lib/tmpfiles.d/wesnothd.conf"
+  install -Dm644 "$srcdir/wesnothd.service" 
"$pkgdir/usr/lib/systemd/system/wesnothd.service"
+}

Deleted: wesnothd.service
===
--- wesnothd.service2018-05-28 10:19:13 UTC (rev 332413)
+++ wesnothd.service2018-05-28 10:19:29 UTC (rev 332414)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Wesnoth Server Daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/wesnothd
-
-[Install]
-WantedBy=multi-user.target

Copied: wesnoth/repos/community-x86_64/wesnothd.service (from rev 332413, 
wesnoth/trunk/wesnothd.service)
===
--- wesnothd.service(rev 0)
+++ wesnothd.service2018-05-28 10:19:29 U

[arch-commits] Commit in linux-lts/trunk (3 files)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 10:46:47
  Author: eworm
Revision: 325070

upgpkg: linux-lts 4.14.44-1

* new upstream release
* use upstream i915 fix

Added:
  
linux-lts/trunk/0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
Modified:
  linux-lts/trunk/PKGBUILD
Deleted:
  
linux-lts/trunk/0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch

-+
 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch |   42 -
 0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch |  230 
++
 PKGBUILD|   10 
 3 files changed, 235 insertions(+), 47 deletions(-)

Deleted: 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch
===
--- 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch 
2018-05-28 07:45:19 UTC (rev 325069)
+++ 0002-drm-i915-edp-Only-use-the-alternate-fixed-mode-if-it.patch 
2018-05-28 10:46:47 UTC (rev 325070)
@@ -1,42 +0,0 @@
-From e722c8d112f0aa9621d7d4da5223cfc7aeb45e88 Mon Sep 17 00:00:00 2001
-Message-Id: 

-In-Reply-To: 
<4e54373158caa50df5402fdd3db1794c5394026b.1516188238.git.jan.steff...@gmail.com>
-References: 
<4e54373158caa50df5402fdd3db1794c5394026b.1516188238.git.jan.steff...@gmail.com>
-From: Jim Bride 
-Date: Mon, 6 Nov 2017 13:38:57 -0800
-Subject: [PATCH 4/4] drm/i915/edp: Only use the alternate fixed mode if it's
- asked for
-
-In commit dc911f5bd8aa ("drm/i915/edp: Allow alternate fixed mode for
-eDP if available."), the patch allows for the use of an alternate fixed
-mode if it is available, but the patch was not ensuring that the only
-time the alternate mode is used is when it is specifically requested.
-This patch adds an additional comparison to intel_edp_compare_alt_mode
-to ensure that we only use the alternate mode if it is directly
-requested.
-
-Fixes: dc911f5bd8aac ("Allow alternate fixed mode for eDP if available.")
-Cc: David Weinehall 
-Cc: Rodrigo Vivi 
-Signed-off-by: Jim Bride 

- drivers/gpu/drm/i915/intel_dp.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
-index 09f274419eea..838cee312e8e 100644
 a/drivers/gpu/drm/i915/intel_dp.c
-+++ b/drivers/gpu/drm/i915/intel_dp.c
-@@ -1632,7 +1632,8 @@ static bool intel_edp_compare_alt_mode(struct 
drm_display_mode *m1,
-   m1->vdisplay == m2->vdisplay &&
-   m1->vsync_start == m2->vsync_start &&
-   m1->vsync_end == m2->vsync_end &&
--  m1->vtotal == m2->vtotal);
-+  m1->vtotal == m2->vtotal &&
-+  m1->vrefresh == m2->vrefresh);
-   return bres;
- }
- 
--- 
-2.15.1
-

Added: 0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
===
--- 0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch 
(rev 0)
+++ 0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch 
2018-05-28 10:46:47 UTC (rev 325070)
@@ -0,0 +1,230 @@
+From 2a620025cea05fd4fc3bbf840b67df35e5ecbb8a Mon Sep 17 00:00:00 2001
+From: Jani Nikula 
+Date: Wed, 16 May 2018 11:01:10 +0300
+Subject: [PATCH] Revert "drm/i915/edp: Allow alternate fixed mode for eDP
+ if available."
+
+This reverts commit dc911f5bd8aacfcf8aabd5c26c88e04c837a938e.
+
+Per the report, no matter what display mode you select with xrandr, the
+i915 driver will always select the alternate fixed mode. For the
+reporter this means that the display will always run at 40Hz which is
+quite annoying. This may be due to the mode comparison.
+
+But there are some other potential issues. The choice of alt_fixed_mode
+seems dubious. It's the first non-preferred mode, but there are no
+guarantees that the only difference would be refresh rate. Similarly,
+there may be more than one preferred mode in the probed modes list, and
+the commit changes the preferred mode selection to choose the last one
+on the list instead of the first.
+
+(Note that the probed modes list is the raw, unfiltered, unsorted list
+of modes from drm_add_edid_modes(), not the pretty result after a
+drm_helper_probe_single_connector_modes() call.)
+
+Finally, we already have eerily similar code in place to find the
+downclock mode for DRRS that seems like could be reused here.
+
+Back to the drawing board.
+
+Note: This is a hand-crafted revert due to conflicts. If it fails to
+backport, please just try reverting the original commit directly.
+
+Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105469
+Reported-by: Rune Petersen 
+Reported-by: Mark Spencer 
+Fixes: dc911f5bd8aa ("drm/i915/edp: Allow alternate fixed mode for eDP if 
available.")
+Cc: Clint Taylor 
+Cc: David Weinehall 
+Cc: Rodrigo Vivi 
+Cc: Paulo Zanoni 
+Cc: Jani Nikula 

[arch-commits] Commit in linux-lts/repos (9 files)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 10:46:53
  Author: eworm
Revision: 325071

archrelease: copy trunk to staging-x86_64

Added:
  linux-lts/repos/staging-x86_64/
  
linux-lts/repos/staging-x86_64/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
(from rev 325070, 
linux-lts/trunk/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch)
  
linux-lts/repos/staging-x86_64/0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
(from rev 325070, 
linux-lts/trunk/0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch)
  linux-lts/repos/staging-x86_64/60-linux.hook
(from rev 325070, linux-lts/trunk/60-linux.hook)
  linux-lts/repos/staging-x86_64/90-linux.hook
(from rev 325070, linux-lts/trunk/90-linux.hook)
  linux-lts/repos/staging-x86_64/PKGBUILD
(from rev 325070, linux-lts/trunk/PKGBUILD)
  linux-lts/repos/staging-x86_64/config
(from rev 325070, linux-lts/trunk/config)
  linux-lts/repos/staging-x86_64/linux-lts.install
(from rev 325070, linux-lts/trunk/linux-lts.install)
  linux-lts/repos/staging-x86_64/linux-lts.preset
(from rev 325070, linux-lts/trunk/linux-lts.preset)

-+
 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch |  103 
 0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch |  230 
 60-linux.hook   |   12 
 90-linux.hook   |   11 
 PKGBUILD|  238 
 config  | 8506 
++
 linux-lts.install   |   10 
 linux-lts.preset|   14 
 8 files changed, 9124 insertions(+)

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


[arch-commits] Commit in linux-lts/repos/staging-x86_64 (16 files)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 10:55:23
  Author: eworm
Revision: 325072

archrelease: copy trunk to staging-x86_64

Added:
  
linux-lts/repos/staging-x86_64/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
(from rev 325071, 
linux-lts/trunk/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch)
  
linux-lts/repos/staging-x86_64/0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
(from rev 325071, 
linux-lts/trunk/0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch)
  linux-lts/repos/staging-x86_64/60-linux.hook
(from rev 325071, linux-lts/trunk/60-linux.hook)
  linux-lts/repos/staging-x86_64/90-linux.hook
(from rev 325071, linux-lts/trunk/90-linux.hook)
  linux-lts/repos/staging-x86_64/PKGBUILD
(from rev 325071, linux-lts/trunk/PKGBUILD)
  linux-lts/repos/staging-x86_64/config
(from rev 325071, linux-lts/trunk/config)
  linux-lts/repos/staging-x86_64/linux-lts.install
(from rev 325071, linux-lts/trunk/linux-lts.install)
  linux-lts/repos/staging-x86_64/linux-lts.preset
(from rev 325071, linux-lts/trunk/linux-lts.preset)
Deleted:
  
linux-lts/repos/staging-x86_64/0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
  
linux-lts/repos/staging-x86_64/0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch
  linux-lts/repos/staging-x86_64/60-linux.hook
  linux-lts/repos/staging-x86_64/90-linux.hook
  linux-lts/repos/staging-x86_64/PKGBUILD
  linux-lts/repos/staging-x86_64/config
  linux-lts/repos/staging-x86_64/linux-lts.install
  linux-lts/repos/staging-x86_64/linux-lts.preset

-+
 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch |  206 
 0003-Revert-drm-i915-edp-Allow-alternate-fixed-mode-for-e.patch |  460 
 60-linux.hook   |   24 
 90-linux.hook   |   22 
 PKGBUILD|  476 
 config  |17012 
+-
 linux-lts.install   |   20 
 linux-lts.preset|   28 
 8 files changed, 9124 insertions(+), 9124 deletions(-)

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


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

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:01:58
  Author: eworm
Revision: 332416

archrelease: copy trunk to community-staging-x86_64

Added:
  acpi_call-lts/repos/community-staging-x86_64/
  acpi_call-lts/repos/community-staging-x86_64/PKGBUILD
(from rev 332415, acpi_call-lts/trunk/PKGBUILD)

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

Copied: acpi_call-lts/repos/community-staging-x86_64/PKGBUILD (from rev 332415, 
acpi_call-lts/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:01:58 UTC (rev 332416)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Maxime Gauduin 
+# Contributor: mortzu 
+# Contributor: fnord0 
+
+pkgname=acpi_call-lts
+pkgver=1.1.0
+pkgrel=64
+_extramodules=extramodules-4.14-lts
+pkgdesc='A linux kernel module that enables calls to ACPI methods through 
/proc/acpi/call'
+arch=('x86_64')
+url='https://github.com/mkottman/acpi_call'
+license=('GPL')
+depends=('linux-lts>=4.14.39')
+makedepends=('linux-lts-headers>=4.14.39')
+provides=('acpi_call')
+source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz";)
+sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
+
+prepare() {
+  cd acpi_call-${pkgver}
+
+  # Fix build with Linux >= 3.17
+  sed -i 's|acpi/acpi.h|linux/acpi.h|' acpi_call.c
+  # Fix build with Linux >= 4.12
+  sed -i 's|asm/uaccess.h|linux/uaccess.h|' acpi_call.c
+}
+
+build() {
+  cd ${pkgname%-*}-${pkgver}
+
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+
+  make KVERSION="${_kernver}"
+}
+
+package() {
+  cd ${pkgname%-*}-${pkgver}
+
+  install -dm 755 "${pkgdir}"/usr/lib/{modules/${_extramodules},modules-load.d}
+  install -m 644 ${pkgname%-*}.ko "${pkgdir}"/usr/lib/modules/${_extramodules}/
+  gzip "${pkgdir}"/usr/lib/modules/${_extramodules}/${pkgname%-*}.ko
+  echo ${pkgname%-*} > "${pkgdir}"/usr/lib/modules-load.d/${pkgname}.conf
+
+  install -dm 755 "${pkgdir}"/usr/share/${pkgname}
+  cp -dr --no-preserve='ownership' {examples,support} 
"${pkgdir}"/usr/share/${pkgname}/
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in acpi_call-lts/trunk (PKGBUILD acpi_call.install)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:01:50
  Author: eworm
Revision: 332415

upgpkg: acpi_call-lts 1.1.0-64

* rebuilt for linux-lts 4.14.44-1
* remove install script, handled by pacman hook

Modified:
  acpi_call-lts/trunk/PKGBUILD
Deleted:
  acpi_call-lts/trunk/acpi_call.install

---+
 PKGBUILD  |3 +--
 acpi_call.install |   14 --
 2 files changed, 1 insertion(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 10:19:29 UTC (rev 332414)
+++ PKGBUILD2018-05-28 11:01:50 UTC (rev 332415)
@@ -5,7 +5,7 @@
 
 pkgname=acpi_call-lts
 pkgver=1.1.0
-pkgrel=63
+pkgrel=64
 _extramodules=extramodules-4.14-lts
 pkgdesc='A linux kernel module that enables calls to ACPI methods through 
/proc/acpi/call'
 arch=('x86_64')
@@ -14,7 +14,6 @@
 depends=('linux-lts>=4.14.39')
 makedepends=('linux-lts-headers>=4.14.39')
 provides=('acpi_call')
-install='acpi_call.install'
 
source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz";)
 sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0')
 

Deleted: acpi_call.install
===
--- acpi_call.install   2018-05-28 10:19:29 UTC (rev 332414)
+++ acpi_call.install   2018-05-28 11:01:50 UTC (rev 332415)
@@ -1,14 +0,0 @@
-post_install() {
-  _extramodules=extramodules-4.14-lts
-  depmod $(cat /usr/lib/modules/${_extramodules}/version)
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}
-
-# vim: ts=2 sw=2 et:


[arch-commits] Commit in nvidia-340xx-lts/trunk (PKGBUILD nvidia-340xx-lts.install)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:06:07
  Author: eworm
Revision: 325073

upgpkg: nvidia-340xx-lts 340.106-11

* rebuilt against linux-lts 4.14.44-1
* remove install script, depmod is handled by pacman hook

Modified:
  nvidia-340xx-lts/trunk/PKGBUILD
Deleted:
  nvidia-340xx-lts/trunk/nvidia-340xx-lts.install

--+
 PKGBUILD |3 +--
 nvidia-340xx-lts.install |   15 ---
 2 files changed, 1 insertion(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 10:55:23 UTC (rev 325072)
+++ PKGBUILD2018-05-28 11:06:07 UTC (rev 325073)
@@ -4,7 +4,7 @@
 pkgname=nvidia-340xx-lts
 pkgver=340.106
 _extramodules=extramodules-4.14-lts
-pkgrel=10
+pkgrel=11
 pkgdesc="NVIDIA drivers for linux-lts"
 arch=('x86_64')
 url="http://www.nvidia.com/";
@@ -12,7 +12,6 @@
 provides=('nvidia-340xx')
 conflicts=('nvidia-lts')
 license=('custom')
-install=${pkgname}.install
 options=(!strip)
 
source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run";
 'kernel-4.11.patch')

Deleted: nvidia-340xx-lts.install
===
--- nvidia-340xx-lts.install2018-05-28 10:55:23 UTC (rev 325072)
+++ nvidia-340xx-lts.install2018-05-28 11:06:07 UTC (rev 325073)
@@ -1,15 +0,0 @@
-post_install() {
-EXTRAMODULES='extramodules-4.14-lts'
-depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-echo 'In order to use nvidia module, reboot the system.'
-}
-
-post_upgrade() {
-EXTRAMODULES='extramodules-4.14-lts'
-depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}
-
-post_remove() {
-EXTRAMODULES='extramodules-4.14-lts'
-depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
-}


[arch-commits] Commit in nvidia-340xx-lts/repos (3 files)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:06:11
  Author: eworm
Revision: 325074

archrelease: copy trunk to staging-x86_64

Added:
  nvidia-340xx-lts/repos/staging-x86_64/
  nvidia-340xx-lts/repos/staging-x86_64/PKGBUILD
(from rev 325073, nvidia-340xx-lts/trunk/PKGBUILD)
  nvidia-340xx-lts/repos/staging-x86_64/kernel-4.11.patch
(from rev 325073, nvidia-340xx-lts/trunk/kernel-4.11.patch)

---+
 PKGBUILD  |   51 +++
 kernel-4.11.patch |   38 ++
 2 files changed, 89 insertions(+)

Copied: nvidia-340xx-lts/repos/staging-x86_64/PKGBUILD (from rev 325073, 
nvidia-340xx-lts/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-05-28 11:06:11 UTC (rev 325074)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=nvidia-340xx-lts
+pkgver=340.106
+_extramodules=extramodules-4.14-lts
+pkgrel=11
+pkgdesc="NVIDIA drivers for linux-lts"
+arch=('x86_64')
+url="http://www.nvidia.com/";
+makedepends=('linux-lts>=4.14.39' 'linux-lts-headers>=4.14.36' 
"nvidia-340xx-utils=$pkgver")
+provides=('nvidia-340xx')
+conflicts=('nvidia-lts')
+license=('custom')
+options=(!strip)
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run";
+'kernel-4.11.patch')
+sha512sums=('ea61d463148435b6c0d16203c06372e5dc93443607ece0709f789c5c08909a3ec51c1994df97b835bba58008cdc7fe588e403006eb00631482a2a9854a81ec0a'
+
'c25d90499e1deb26129a67dd7e953be8c1e31c5770e2b8b64d03af54cf1afec1a52636e74900f8ac468692207ab8a3765a12edd581142c4d2cfd2d6e66ac7ac2')
+
+[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+prepare() {
+sh ${_pkg}.run --extract-only
+cd "${_pkg}"
+# patches here
+patch -Np0 < "${srcdir}/kernel-4.11.patch"
+}
+
+build() {
+  _kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+  cd "${_pkg}/kernel"
+  make SYSSRC=/usr/lib/modules/${_kernver}/build module
+
+  cd uvm
+  make SYSSRC=/usr/lib/modules/${_kernver}/build module
+}
+
+package() {
+  depends=('linux-lts>=4.14.39' "nvidia-340xx-utils=$pkgver" 'libgl')
+
+  install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
+"${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/nvidia.ko"
+  install -D -m644 "${srcdir}/${_pkg}/kernel/uvm/nvidia-uvm.ko" \
+
"${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/nvidia-uvm.ko"
+  gzip "${pkgdir}/usr/lib/modules/${_extramodules}/kernel/drivers/video/"*.ko
+  install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
+  echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-lts.conf"
+  echo "blacklist nvidiafb" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-lts.conf"
+  install -D -m644 "${srcdir}/${_pkg}/LICENSE" 
"${pkgdir}/usr/share/licenses/nvidia-lts/LICENSE"
+}

Copied: nvidia-340xx-lts/repos/staging-x86_64/kernel-4.11.patch (from rev 
325073, nvidia-340xx-lts/trunk/kernel-4.11.patch)
===
--- staging-x86_64/kernel-4.11.patch(rev 0)
+++ staging-x86_64/kernel-4.11.patch2018-05-28 11:06:11 UTC (rev 325074)
@@ -0,0 +1,38 @@
+--- kernel/uvm/nvidia_uvm_lite.c   2017-09-27 13:50:46.334075042 +0200
 kernel/uvm/nvidia_uvm_lite.c   2017-09-27 13:56:06.358041280 +0200
+@@ -818,7 +818,11 @@
+ }
+ 
+ #if defined(NV_VM_OPERATIONS_STRUCT_HAS_FAULT)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ int _fault(struct vm_area_struct *vma, struct vm_fault *vmf)
++#else 
++int _fault(struct vm_fault *vmf)  
++#endif
+ {
+ #if defined(NV_VM_FAULT_HAS_ADDRESS)
+ unsigned long vaddr = vmf->address;
+@@ -828,7 +832,11 @@
+ struct page *page = NULL;
+ int retval;
+ 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ retval = _fault_common(vma, vaddr, &page, vmf->flags);
++#else
++retval = _fault_common(NULL, vaddr, &page, vmf->flags);
++#endif
+ 
+ vmf->page = page;
+ 
+@@ -866,7 +874,11 @@
+ // it's dealing with anonymous mapping (see handle_pte_fault).
+ //
+ #if defined(NV_VM_OPERATIONS_STRUCT_HAS_FAULT)
++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
+ int _sigbus_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
++#else
++int _sigbus_fault(struct vm_fault *vmf)
++#endif
+ {
+ vmf->page = NULL;
+ return VM_FAULT_SIGBUS;


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:08:09
  Author: felixonmars
Revision: 332418

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-hsopenssl/repos/community-staging-x86_64/PKGBUILD (from rev 
332417, haskell-hsopenssl/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:08:09 UTC (rev 332418)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=HsOpenSSL
+pkgname=haskell-hsopenssl
+pkgver=0.11.4.13
+pkgrel=5
+pkgdesc="Partial OpenSSL binding for Haskell"
+url="https://github.com/vshabanov/HsOpenSSL";
+license=('custom:PublicDomain')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network' 'openssl')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f36a06bd65f229565e812238a31d0c38e071e4e023ee7763e6190ae30a8e04ac8a703b23810d8b589bb9d73b03fcc75b14129fa5dd40cf623ec42f7dbcbd54de')
+
+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 "COPYING" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:07:50
  Author: felixonmars
Revision: 332417

upgpkg: haskell-hsopenssl 0.11.4.13-5

rebuild with exceptions 0.10.0

Modified:
  haskell-hsopenssl/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:01:58 UTC (rev 332416)
+++ PKGBUILD2018-05-28 11:07:50 UTC (rev 332417)
@@ -4,7 +4,7 @@
 _hkgname=HsOpenSSL
 pkgname=haskell-hsopenssl
 pkgver=0.11.4.13
-pkgrel=4
+pkgrel=5
 pkgdesc="Partial OpenSSL binding for Haskell"
 url="https://github.com/vshabanov/HsOpenSSL";
 license=('custom:PublicDomain')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:09:03
  Author: felixonmars
Revision: 332420

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-common/repos/community-staging-x86_64/PKGBUILD (from rev 
332419, haskell-http-common/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:09:03 UTC (rev 332420)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=http-common
+pkgname=haskell-http-common
+pkgver=0.8.2.0
+pkgrel=5
+pkgdesc="Common types for HTTP clients and servers"
+url="https://github.com/afcowie/http-common";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-network' 'haskell-unordered-containers')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e02e9b08235483220856ed1cacebea1910ec41451d7ec68b86a2193f5c050f74ef3747a4a2c35c560795727d9f62ee6485cfd1ed5597fb7645ce6339f969851a')
+
+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 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:08:44
  Author: felixonmars
Revision: 332419

upgpkg: haskell-http-common 0.8.2.0-5

rebuild with exceptions 0.10.0

Modified:
  haskell-http-common/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:08:09 UTC (rev 332418)
+++ PKGBUILD2018-05-28 11:08:44 UTC (rev 332419)
@@ -4,7 +4,7 @@
 _hkgname=http-common
 pkgname=haskell-http-common
 pkgver=0.8.2.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Common types for HTTP clients and servers"
 url="https://github.com/afcowie/http-common";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:09:39
  Author: felixonmars
Revision: 332421

upgpkg: haskell-openssl-streams 1.2.1.3-5

rebuild with exceptions 0.10.0

Modified:
  haskell-openssl-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:09:03 UTC (rev 332420)
+++ PKGBUILD2018-05-28 11:09:39 UTC (rev 332421)
@@ -4,7 +4,7 @@
 _hkgname=openssl-streams
 pkgname=haskell-openssl-streams
 pkgver=1.2.1.3
-pkgrel=4
+pkgrel=5
 pkgdesc="OpenSSL network support for io-streams"
 url="https://github.com/snapframework/openssl-streams";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:09:58
  Author: felixonmars
Revision: 332422

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-openssl-streams/repos/community-staging-x86_64/PKGBUILD (from 
rev 332421, haskell-openssl-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:09:58 UTC (rev 332422)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=openssl-streams
+pkgname=haskell-openssl-streams
+pkgver=1.2.1.3
+pkgrel=5
+pkgdesc="OpenSSL network support for io-streams"
+url="https://github.com/snapframework/openssl-streams";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsopenssl' 'haskell-io-streams' 'haskell-network')
+makedepends=('ghc' 'haskell-hunit' 'haskell-test-framework' 
'haskell-test-framework-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('cdfa1d6946b1ed8750de55ecd8acfa1e65bcaa2b7531fefaf1fba4a9fc8e59f37261e2f8baee3ba04c4622fcc9af0d2b04986f5680e03729ba966946629c1ab2')
+
+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 nvidia-390xx-lts/repos (2 files)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:11:09
  Author: eworm
Revision: 325076

archrelease: copy trunk to staging-x86_64

Added:
  nvidia-390xx-lts/repos/staging-x86_64/
  nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD
(from rev 325075, nvidia-390xx-lts/trunk/PKGBUILD)

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

Copied: nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 325075, 
nvidia-390xx-lts/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-05-28 11:11:09 UTC (rev 325076)
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 323392 2018-05-05 18:28:00Z andyrtr $
+# Maintainer: Eric Bélanger 
+
+pkgname=nvidia-390xx-lts
+pkgver=390.59
+_extramodules=extramodules-4.14-lts
+pkgrel=2
+epoch=1
+arch=('x86_64')
+url="http://www.nvidia.com/";
+makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 
'linux-lts-headers>=4.14.39')
+provides=('nvidia-390xx')
+conflicts=('nvidia-lts')
+license=('custom')
+options=('!strip')
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run";)
+sha512sums=('65b92ec7f9488a98a8579efcf5b00aca42945b1d0fd0f58aacebf45c772b0b896af8bbac3abec126a931752ef9504a727fac89220c115ff474c0521f3c214d99')
+
+_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package() {
+pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch"
+depends=('linux-lts>=4.14.39' "nvidia-390xx-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+  install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}


[arch-commits] Commit in nvidia-390xx-lts/trunk (PKGBUILD)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:11:04
  Author: eworm
Revision: 325075

upgpkg: nvidia-390xx-lts 1:390.59-2

rebuilt against linux-lts 4.14.44-1

Modified:
  nvidia-390xx-lts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:06:11 UTC (rev 325074)
+++ PKGBUILD2018-05-28 11:11:04 UTC (rev 325075)
@@ -4,7 +4,7 @@
 pkgname=nvidia-390xx-lts
 pkgver=390.59
 _extramodules=extramodules-4.14-lts
-pkgrel=1
+pkgrel=2
 epoch=1
 arch=('x86_64')
 url="http://www.nvidia.com/";


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:13:34
  Author: felixonmars
Revision: 332424

upgpkg: haskell-http-streams 0.8.6.1-10

rebuild pass 1, specified --nocheck

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:13:28 UTC (rev 332423)
+++ PKGBUILD2018-05-28 11:13:34 UTC (rev 332424)
@@ -4,7 +4,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.6.1
-pkgrel=9
+pkgrel=10
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams";
 license=('custom:BSD3')
@@ -28,7 +28,7 @@
 cd $_hkgname-$pkgver
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --disable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
 runhaskell Setup register --gen-script


[arch-commits] Commit in (4 files)

2018-05-28 Thread Morten Linderud via arch-commits
Date: Monday, May 28, 2018 @ 11:13:28
  Author: foxboron
Revision: 332423

Added pydocstyle to community

Added:
  python-pydocstyle/
  python-pydocstyle/repos/
  python-pydocstyle/trunk/
  python-pydocstyle/trunk/PKGBUILD

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

Added: python-pydocstyle/trunk/PKGBUILD
===
--- python-pydocstyle/trunk/PKGBUILD(rev 0)
+++ python-pydocstyle/trunk/PKGBUILD2018-05-28 11:13:28 UTC (rev 332423)
@@ -0,0 +1,53 @@
+# Maintainer: Morten Linderud 
+
+pkgbase=python-pydocstyle
+pkgname=(python-pydocstyle python2-pydocstyle)
+pkgver=2.1.1
+pkgrel=2
+pkgdesc="An implementation of the Language Server Protocol for Python"
+arch=("any")
+url="https://github.com/palantir/python-language-server";
+license=("MIT")
+makedepends=("python" "python-setuptools"
+ "python2" "python2-setuptools")
+checkdepends=("python-pytest" "python-pytest-runner" "python-mock" "python-pip"
+  "python2-pytest" "python2-pytest-runner" "python2-mock" 
"python2-pip" "python2-pathlib")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pydocstyle/archive/${pkgver}.tar.gz";)
+sha256sums=('e83f5644897a623aafb0c3fd9ed11fcdc70c72efff4c3ac4738b12bd8665d12f')
+
+prepare() {
+  cp -r "pydocstyle-$pkgver"{,-py2}
+}
+
+build() {
+cd "${srcdir}/pydocstyle-${pkgver}"
+python setup.py build
+
+cd "${srcdir}/pydocstyle-${pkgver}-py2"
+python2 setup.py build
+}
+
+check() {
+cd "${srcdir}/pydocstyle-${pkgver}"
+python setup.py pytest --addopts "-k 'not test_integration'"
+
+
+cd "${srcdir}/pydocstyle-${pkgver}-py2"
+python2 setup.py pytest --addopts "-k 'not test_integration'"
+}
+
+package_python-pydocstyle() {
+depends=("python" "python-snowballstemmer")
+cd "pydocstyle-${pkgver}"
+python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pydocstyle() {
+depends=("python2" "python2-snowballstemmer" "python2-configparser")
+cd "pydocstyle-${pkgver}-py2"
+python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+mv "$pkgdir/usr/bin/pydocstyle" "$pkgdir/usr/bin/pydocstyle2"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:14:00
  Author: felixonmars
Revision: 332425

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
332424, haskell-http-streams/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:14:00 UTC (rev 332425)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.6.1
+pkgrel=10
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*1.1/<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}" --disable-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 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}


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

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:15:13
  Author: eworm
Revision: 332427

archrelease: copy trunk to community-staging-x86_64

Added:
  r8168-lts/repos/community-staging-x86_64/
  r8168-lts/repos/community-staging-x86_64/PKGBUILD
(from rev 332426, r8168-lts/trunk/PKGBUILD)
  r8168-lts/repos/community-staging-x86_64/r8168-lts.install
(from rev 332426, r8168-lts/trunk/r8168-lts.install)

---+
 PKGBUILD  |   33 +
 r8168-lts.install |4 
 2 files changed, 37 insertions(+)

Copied: r8168-lts/repos/community-staging-x86_64/PKGBUILD (from rev 332426, 
r8168-lts/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:15:13 UTC (rev 332427)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo 
+
+pkgname=r8168-lts
+_pkgname=r8168
+pkgver=8.045.08
+pkgrel=17
+pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
+url="http://www.realtek.com.tw";
+license=("GPL")
+arch=('x86_64')
+depends=('glibc' "linux-lts>=4.14.39" "linux-lts<4.15")
+makedepends=("linux-lts-headers>=4.14.39" "linux-lts-headers<4.15")
+install=$pkgname.install
+source=(https://github.com/mtorromeo/r8168/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('18161cb72fc872a9aed194514f7b8fb8b255b6fa6ed3d2dd459700eaad575f31')
+
+_extramodules=extramodules-4.14-lts
+
+build() {
+   cd "$_pkgname-$pkgver"
+   _kernver="$(cat /usr/lib/modules/$_extramodules/version)"
+   make -C /usr/lib/modules/$_kernver/build \
+   SUBDIRS="$srcdir/$_pkgname-$pkgver/src" \
+   EXTRA_CFLAGS="-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN" \
+   modules
+}
+
+package() {
+   cd "$_pkgname-$pkgver"
+   install -Dm644 src/$_pkgname.ko 
"$pkgdir/usr/lib/modules/$_extramodules/$_pkgname.ko"
+   find "$pkgdir" -name '*.ko' -exec gzip -9 {} +
+}

Copied: r8168-lts/repos/community-staging-x86_64/r8168-lts.install (from rev 
332426, r8168-lts/trunk/r8168-lts.install)
===
--- community-staging-x86_64/r8168-lts.install  (rev 0)
+++ community-staging-x86_64/r8168-lts.install  2018-05-28 11:15:13 UTC (rev 
332427)
@@ -0,0 +1,4 @@
+post_install() {
+   echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
+   echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
+}


[arch-commits] Commit in r8168-lts/trunk (PKGBUILD r8168-lts.install)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:15:09
  Author: eworm
Revision: 332426

upgpkg: r8168-lts 8.045.08-17

* rebuilt against linux-lts 4.14.44-1
* removed depmod from install script, handled by pacman hook

Modified:
  r8168-lts/trunk/PKGBUILD
  r8168-lts/trunk/r8168-lts.install

---+
 PKGBUILD  |2 +-
 r8168-lts.install |   13 -
 2 files changed, 1 insertion(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:14:00 UTC (rev 332425)
+++ PKGBUILD2018-05-28 11:15:09 UTC (rev 332426)
@@ -4,7 +4,7 @@
 pkgname=r8168-lts
 _pkgname=r8168
 pkgver=8.045.08
-pkgrel=16
+pkgrel=17
 pkgdesc="A kernel module for Realtek 8169 network cards for linux-lts"
 url="http://www.realtek.com.tw";
 license=("GPL")

Modified: r8168-lts.install
===
--- r8168-lts.install   2018-05-28 11:14:00 UTC (rev 332425)
+++ r8168-lts.install   2018-05-28 11:15:09 UTC (rev 332426)
@@ -1,17 +1,4 @@
-rebuild_module_dependencies() {
-   EXTRAMODULES='extramodules-4.14-lts'
-   depmod $(cat /lib/modules/$EXTRAMODULES/version)
-}
-
 post_install() {
-  rebuild_module_dependencies
echo '>>> The module r8168 conflicts with r8169. You can blacklist it 
with:'
echo '>>>  `echo "blacklist r8169" > 
/etc/modprobe.d/r8169_blacklist.conf`'
 }
-post_upgrade() {
-   rebuild_module_dependencies
-}
-
-post_remove() {
-   rebuild_module_dependencies
-}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:16:12
  Author: felixonmars
Revision: 332428

upgpkg: haskell-aeson-pretty 0.8.7-12

rebuild with exceptions 0.10.0

Modified:
  haskell-aeson-pretty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:15:13 UTC (rev 332427)
+++ PKGBUILD2018-05-28 11:16:12 UTC (rev 332428)
@@ -5,7 +5,7 @@
 _hkgname=aeson-pretty
 pkgname=haskell-aeson-pretty
 pkgver=0.8.7
-pkgrel=11
+pkgrel=12
 pkgdesc="JSON pretty-printing library and command-line tool."
 url="https://github.com/informatikr/aeson-pretty";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:16:33
  Author: felixonmars
Revision: 332430

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-aeson-pretty/repos/community-staging-x86_64/PKGBUILD (from rev 
332428, haskell-aeson-pretty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:16:33 UTC (rev 332430)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-pretty
+pkgname=haskell-aeson-pretty
+pkgver=0.8.7
+pkgrel=12
+pkgdesc="JSON pretty-printing library and command-line tool."
+url="https://github.com/informatikr/aeson-pretty";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-attoparsec" "haskell-base-compat" 
"haskell-cmdargs"
+ "haskell-scientific" "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b23cd85703ed21060dac3d608b894f0c331f6a008f0edeab319b4bdad8e07ce74f13dbe1865caa0ac091f85523fe334ae33bf735337411a9e70d1031dd5d33be')
+
+build() {
+cd "${srcdir}/${_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-lib-only
+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}/${_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-pydocstyle/repos (2 files)

2018-05-28 Thread Morten Linderud via arch-commits
Date: Monday, May 28, 2018 @ 11:16:27
  Author: foxboron
Revision: 332429

archrelease: copy trunk to community-any

Added:
  python-pydocstyle/repos/community-any/
  python-pydocstyle/repos/community-any/PKGBUILD
(from rev 332428, python-pydocstyle/trunk/PKGBUILD)

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

Copied: python-pydocstyle/repos/community-any/PKGBUILD (from rev 332428, 
python-pydocstyle/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2018-05-28 11:16:27 UTC (rev 332429)
@@ -0,0 +1,53 @@
+# Maintainer: Morten Linderud 
+
+pkgbase=python-pydocstyle
+pkgname=(python-pydocstyle python2-pydocstyle)
+pkgver=2.1.1
+pkgrel=2
+pkgdesc="An implementation of the Language Server Protocol for Python"
+arch=("any")
+url="https://github.com/palantir/python-language-server";
+license=("MIT")
+makedepends=("python" "python-setuptools"
+ "python2" "python2-setuptools")
+checkdepends=("python-pytest" "python-pytest-runner" "python-mock" "python-pip"
+  "python2-pytest" "python2-pytest-runner" "python2-mock" 
"python2-pip" "python2-pathlib")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pydocstyle/archive/${pkgver}.tar.gz";)
+sha256sums=('e83f5644897a623aafb0c3fd9ed11fcdc70c72efff4c3ac4738b12bd8665d12f')
+
+prepare() {
+  cp -r "pydocstyle-$pkgver"{,-py2}
+}
+
+build() {
+cd "${srcdir}/pydocstyle-${pkgver}"
+python setup.py build
+
+cd "${srcdir}/pydocstyle-${pkgver}-py2"
+python2 setup.py build
+}
+
+check() {
+cd "${srcdir}/pydocstyle-${pkgver}"
+python setup.py pytest --addopts "-k 'not test_integration'"
+
+
+cd "${srcdir}/pydocstyle-${pkgver}-py2"
+python2 setup.py pytest --addopts "-k 'not test_integration'"
+}
+
+package_python-pydocstyle() {
+depends=("python" "python-snowballstemmer")
+cd "pydocstyle-${pkgver}"
+python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-pydocstyle() {
+depends=("python2" "python2-snowballstemmer" "python2-configparser")
+cd "pydocstyle-${pkgver}-py2"
+python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+mv "$pkgdir/usr/bin/pydocstyle" "$pkgdir/usr/bin/pydocstyle2"
+}


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

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:18:03
  Author: eworm
Revision: 332432

archrelease: copy trunk to community-staging-x86_64

Added:
  tp_smapi-lts/repos/community-staging-x86_64/
  tp_smapi-lts/repos/community-staging-x86_64/PKGBUILD
(from rev 332431, tp_smapi-lts/trunk/PKGBUILD)

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

Copied: tp_smapi-lts/repos/community-staging-x86_64/PKGBUILD (from rev 332431, 
tp_smapi-lts/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:18:03 UTC (rev 332432)
@@ -0,0 +1,44 @@
+# Maintainer: Lukas Fleischer 
+# Contributor: xduugu
+# Contributor: nh2
+# Contributor: Steven Davidovitz 
+# Contributor: Nick B 
+# Contributor: Christof Musik 
+# Contributor: Stefan Rupp 
+# Contributor: Ignas Anikevicius 
+
+pkgname=tp_smapi-lts
+_pkgname=tp-smapi
+pkgver=0.42
+_extradir=/usr/lib/modules/extramodules-4.14-lts
+pkgrel=35
+pkgdesc="Modules for ThinkPad's SMAPI functionality"
+arch=('x86_64')
+url='https://github.com/evgeni/tp_smapi'
+license=('GPL')
+depends=('linux-lts>=4.14.39' 'linux-lts<4.15')
+makedepends=('linux-lts-headers>=4.14.39' 'linux-lts-headers<4.15')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";)
+md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee')
+
+build() {
+  cd ${pkgname/-lts/}-$_pkgname-$pkgver
+
+  # https://bugs.archlinux.org/task/54975 (kernel has no 
_GLOBAL_OFFSET_TABLE_):
+  # Clear EXTRA_CFLAGS since it defaults to injecting CFLAGS and -fno-plt 
breaks the modules
+
+  make HDAPS=1 KVER="$(<$_extradir/version)" EXTRA_CFLAGS=
+}
+
+package() {
+  cd ${pkgname/-lts/}-$_pkgname-$pkgver
+
+  # install kernel modules
+  find . -name "*.ko" -exec install -Dt "$pkgdir$_extradir" {} +
+
+  # compress kernel modules
+  find "$pkgdir" -name "*.ko" -exec gzip -n -9 {} +
+
+  # load module on startup
+  echo tp_smapi | install -Dm644 /dev/stdin 
"$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
+}


[arch-commits] Commit in tp_smapi-lts/trunk (PKGBUILD tp_smapi-lts.install)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:17:57
  Author: eworm
Revision: 332431

upgpkg: tp_smapi-lts 0.42-35

* rebuilt against linux-lts 4.14.44-1
* removed install script, handled by pacman hook

Modified:
  tp_smapi-lts/trunk/PKGBUILD
Deleted:
  tp_smapi-lts/trunk/tp_smapi-lts.install

--+
 PKGBUILD |6 +-
 tp_smapi-lts.install |   13 -
 2 files changed, 1 insertion(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:16:33 UTC (rev 332430)
+++ PKGBUILD2018-05-28 11:17:57 UTC (rev 332431)
@@ -11,7 +11,7 @@
 _pkgname=tp-smapi
 pkgver=0.42
 _extradir=/usr/lib/modules/extramodules-4.14-lts
-pkgrel=34
+pkgrel=35
 pkgdesc="Modules for ThinkPad's SMAPI functionality"
 arch=('x86_64')
 url='https://github.com/evgeni/tp_smapi'
@@ -18,7 +18,6 @@
 license=('GPL')
 depends=('linux-lts>=4.14.39' 'linux-lts<4.15')
 makedepends=('linux-lts-headers>=4.14.39' 'linux-lts-headers<4.15')
-install="$pkgname.install"
 
source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz";)
 md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee')
 
@@ -42,7 +41,4 @@
 
   # load module on startup
   echo tp_smapi | install -Dm644 /dev/stdin 
"$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
-
-  # update kernel version in install file
-  sed -ri "s|^(extramodules=).*\$|\1$_extradir|" "$startdir/$pkgname.install"
 }

Deleted: tp_smapi-lts.install
===
--- tp_smapi-lts.install2018-05-28 11:16:33 UTC (rev 332430)
+++ tp_smapi-lts.install2018-05-28 11:17:57 UTC (rev 332431)
@@ -1,13 +0,0 @@
-extramodules=/usr/lib/modules/extramodules-4.14-lts
-
-post_install() {
-  depmod -v $(< "$extramodules/version") &>/dev/null
-}
-
-post_upgrade() {
-   post_install
-}
-
-post_remove() {
-   post_install
-}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:18:30
  Author: felixonmars
Revision: 332433

upgpkg: haskell-snap-server 1.1.0.0-9

rebuild with exceptions 0.10.0

Modified:
  haskell-snap-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:18:03 UTC (rev 332432)
+++ PKGBUILD2018-05-28 11:18:30 UTC (rev 332433)
@@ -4,7 +4,7 @@
 _hkgname=snap-server
 pkgname=haskell-snap-server
 pkgver=1.1.0.0
-pkgrel=8
+pkgrel=9
 pkgdesc="A web server for the Snap Framework"
 url="https://github.com/snapframework/snap-server";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:18:50
  Author: felixonmars
Revision: 332434

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-snap-server/repos/community-staging-x86_64/PKGBUILD (from rev 
332433, haskell-snap-server/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:18:50 UTC (rev 332434)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=snap-server
+pkgname=haskell-snap-server
+pkgver=1.1.0.0
+pkgrel=9
+pkgdesc="A web server for the Snap Framework"
+url="https://github.com/snapframework/snap-server";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-blaze-builder' 
'haskell-case-insensitive'
+ 'haskell-clock' 'haskell-io-streams' 'haskell-io-streams-haproxy' 
'haskell-lifted-base'
+ 'haskell-network' 'haskell-old-locale' 'haskell-snap-core' 
'haskell-unix-compat'
+ 'haskell-vector')
+makedepends=('ghc' 'haskell-base16-bytestring' 'haskell-monad-control' 
'haskell-random'
+ 'haskell-threads' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-http-streams'
+ 'haskell-http-common' 'haskell-parallel' 'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ccd438310746c59bd7456df69c072ad3a2d473eb69f721fe2c91e086f4916d386c8b83a786d7ff9de11f0ce5294e36034baf10b0a109c65e16ec771e688a1184')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i '/bytestring-builder/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-http-streams/repos/community-staging-x86_64 (2 files)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:20:04
  Author: felixonmars
Revision: 332436

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-28 11:19:41 UTC (rev 332435)
+++ PKGBUILD2018-05-28 11:20:04 UTC (rev 332436)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-_hkgname=http-streams
-pkgname=haskell-http-streams
-pkgver=0.8.6.1
-pkgrel=10
-pkgdesc="An HTTP client using io-streams"
-url="https://github.com/afcowie/http-streams";
-license=('custom:BSD3')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
- 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
- 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
- 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
-makedepends=('ghc' 'haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
- 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
- 'haskell-system-fileio' 'haskell-system-filepath')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4')
-
-prepare() {
-cd $_hkgname-$pkgver
-sed -i 's/<.*1.1/<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}" --disable-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 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
-}

Copied: haskell-http-streams/repos/community-staging-x86_64/PKGBUILD (from rev 
332435, haskell-http-streams/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-28 11:20:04 UTC (rev 332436)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=http-streams
+pkgname=haskell-http-streams
+pkgver=0.8.6.1
+pkgrel=11
+pkgdesc="An HTTP client using io-streams"
+url="https://github.com/afcowie/http-streams";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-io-streams' 'haskell-hsopenssl'
+ 'haskell-openssl-streams' 'haskell-unordered-containers' 
'haskell-aeson'
+ 'haskell-http-common' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-hunit' 'haskell-aeson-pretty' 'haskell-hspec'
+ 'haskell-hspec-expectations' 'haskell-snap-core' 
'haskell-snap-server'
+ 'haskell-system-fileio' 'haskell-system-filepath')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('76f6aa750974cdca834dfa7de79ebf22faa1cd0a40426d4df19f24b0699ce2d86a0b1f512846da4daf52f210607ed823690bab3fd1bb7ebe117f705a92d4a3b4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*1.1/<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() {
+   

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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:19:41
  Author: felixonmars
Revision: 332435

upgpkg: haskell-http-streams 0.8.6.1-11

rebuild with exceptions 0.10.0

Modified:
  haskell-http-streams/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:18:50 UTC (rev 332434)
+++ PKGBUILD2018-05-28 11:19:41 UTC (rev 332435)
@@ -4,7 +4,7 @@
 _hkgname=http-streams
 pkgname=haskell-http-streams
 pkgver=0.8.6.1
-pkgrel=10
+pkgrel=11
 pkgdesc="An HTTP client using io-streams"
 url="https://github.com/afcowie/http-streams";
 license=('custom:BSD3')
@@ -28,7 +28,7 @@
 cd $_hkgname-$pkgver
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --disable-tests \
+--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


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:21:11
  Author: felixonmars
Revision: 332438

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-skylighting/repos/community-staging-x86_64/PKGBUILD (from rev 
332437, haskell-skylighting/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:21:11 UTC (rev 332438)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=skylighting
+pkgname=haskell-skylighting
+pkgver=0.7.1
+pkgrel=11
+pkgdesc="Syntax highlighting library"
+url="https://github.com/jgm/skylighting";
+license=('GPL2')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 
'haskell-attoparsec'
+ 'haskell-base64-bytestring' 'haskell-blaze-html' 
'haskell-case-insensitive'
+ 'haskell-colour' 'haskell-hxt' 'haskell-pretty-show' 
'haskell-regex-pcre'
+ 'haskell-safe' 'haskell-skylighting-core' 'haskell-utf8-string')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('a768bc80685bc0d8fad34c1f381664ed2b1f25873c5736ab35b4ae7e999bed035e9fbd1a30cf36d21979822d51edb571a090fa59f4529392fc2dcba3b4d5f19a')
+
+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 \
+-fsystem-pcre -fexecutable
+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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:20:51
  Author: felixonmars
Revision: 332437

upgpkg: haskell-skylighting 0.7.1-11

rebuild with exceptions 0.10.0

Modified:
  haskell-skylighting/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:20:04 UTC (rev 332436)
+++ PKGBUILD2018-05-28 11:20:51 UTC (rev 332437)
@@ -4,7 +4,7 @@
 _hkgname=skylighting
 pkgname=haskell-skylighting
 pkgver=0.7.1
-pkgrel=10
+pkgrel=11
 pkgdesc="Syntax highlighting library"
 url="https://github.com/jgm/skylighting";
 license=('GPL2')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:22:22
  Author: felixonmars
Revision: 332439

upgpkg: haskell-shelly 1.8.0-9

rebuild with exceptions 0.10.0

Modified:
  haskell-shelly/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:21:11 UTC (rev 332438)
+++ PKGBUILD2018-05-28 11:22:22 UTC (rev 332439)
@@ -5,7 +5,7 @@
 _hkgname=shelly
 pkgname=haskell-shelly
 pkgver=1.8.0
-pkgrel=8
+pkgrel=9
 pkgdesc="Shell-like (systems) programming in Haskell"
 url="https://github.com/yesodweb/Shelly.hs";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:22:45
  Author: felixonmars
Revision: 332440

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-shelly/repos/community-staging-x86_64/PKGBUILD (from rev 
332439, haskell-shelly/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:22:45 UTC (rev 332440)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=shelly
+pkgname=haskell-shelly
+pkgver=1.8.0
+pkgrel=9
+pkgdesc="Shell-like (systems) programming in Haskell"
+url="https://github.com/yesodweb/Shelly.hs";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-unix-compat' 'haskell-system-filepath'
+ 'haskell-system-fileio' 'haskell-monad-control' 'haskell-lifted-base'
+ 'haskell-lifted-async' 'haskell-exceptions' 
'haskell-enclosed-exceptions'
+ 'haskell-async' 'haskell-transformers-base')
+makedepends=('ghc' 'haskell-hunit' 'haskell-hspec' 'haskell-hspec-contrib')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('c54231f6ac09eb5545d8abac82fb7201422297e113761acb9b171007bd7a6cd9146eed8d5fab9d4ba524b21cee361314b8cdba137ba18a82e3f9071da915ad22')
+
+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-lifted -f-build-examples
+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-quickcheck-assertions/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:23:19
  Author: felixonmars
Revision: 332441

upgpkg: haskell-quickcheck-assertions 0.3.0-16

rebuild with exceptions 0.10.0

Modified:
  haskell-quickcheck-assertions/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:22:45 UTC (rev 332440)
+++ PKGBUILD2018-05-28 11:23:19 UTC (rev 332441)
@@ -5,7 +5,7 @@
 _hkgname=quickcheck-assertions
 pkgname=haskell-quickcheck-assertions
 pkgver=0.3.0
-pkgrel=15
+pkgrel=16
 pkgdesc="HUnit like assertions for QuickCheck"
 url="https://github.com/s9gf4ult/quickcheck-assertions";
 license=("LGPL")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:23:39
  Author: felixonmars
Revision: 332442

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-quickcheck-assertions/repos/community-staging-x86_64/
  haskell-quickcheck-assertions/repos/community-staging-x86_64/PKGBUILD
(from rev 332441, haskell-quickcheck-assertions/trunk/PKGBUILD)

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

Copied: haskell-quickcheck-assertions/repos/community-staging-x86_64/PKGBUILD 
(from rev 332441, haskell-quickcheck-assertions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:23:39 UTC (rev 332442)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=quickcheck-assertions
+pkgname=haskell-quickcheck-assertions
+pkgver=0.3.0
+pkgrel=16
+pkgdesc="HUnit like assertions for QuickCheck"
+url="https://github.com/s9gf4ult/quickcheck-assertions";
+license=("LGPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-ieee754' 
'haskell-pretty-show')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7a7a2d503ef270b4b6dcb1665bd1b83e0f7f3477b7fb714ed4685d96bb5e2244f5fd2d833d2f3e9284e7adc0fef5b4547a7182d542c3848a96dce540af207564')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:23:59
  Author: eworm
Revision: 325077

upgpkg: nvidia-lts 1:396.24-2

rebuilt against linux-lts 4.14.44-1

Modified:
  nvidia-lts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:11:09 UTC (rev 325076)
+++ PKGBUILD2018-05-28 11:23:59 UTC (rev 325077)
@@ -4,7 +4,7 @@
 pkgname=nvidia-lts
 pkgver=396.24
 _extramodules=extramodules-4.14-lts
-pkgrel=1
+pkgrel=2
 epoch=1
 arch=('x86_64')
 url="http://www.nvidia.com/";


[arch-commits] Commit in nvidia-lts/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2018-05-28 Thread Christian Hesse via arch-commits
Date: Monday, May 28, 2018 @ 11:24:04
  Author: eworm
Revision: 325078

archrelease: copy trunk to staging-x86_64

Added:
  nvidia-lts/repos/staging-x86_64/
  nvidia-lts/repos/staging-x86_64/PKGBUILD
(from rev 325077, nvidia-lts/trunk/PKGBUILD)

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

Copied: nvidia-lts/repos/staging-x86_64/PKGBUILD (from rev 325077, 
nvidia-lts/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-05-28 11:24:04 UTC (rev 325078)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=nvidia-lts
+pkgver=396.24
+_extramodules=extramodules-4.14-lts
+pkgrel=2
+epoch=1
+arch=('x86_64')
+url="http://www.nvidia.com/";
+makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux-lts' 
'linux-lts-headers>=4.14.39')
+license=('custom')
+options=('!strip')
+_pkg="NVIDIA-Linux-x86_64-${pkgver}"
+source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run";)
+sha512sums=('dfe837804d01e903cdf980353add0227362771cd252e4a7d8aff99fc489e5535edfda51ed1a20b9d60e23f1a9e7312f23309c59c67ff0a09a9b9214e52f09077')
+
+prepare() {
+sh "${_pkg}.run" --extract-only
+cd "${_pkg}"
+}
+
+build() {
+_kernver="$(cat /usr/lib/modules/${_extramodules}/version)"
+cd "${_pkg}"/kernel
+make SYSSRC=/usr/lib/modules/"${_kernver}/build" module
+}
+
+package() {
+pkgdesc="NVIDIA drivers for linux-lts"
+depends=('linux-lts>=4.14.39' "nvidia-utils=${pkgver}" 'libgl')
+
+install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \
+  "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko
+
+find "${pkgdir}" -name '*.ko' -exec gzip -n {} +
+
+echo "blacklist nouveau" |
+  install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf"
+
+install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 
"${srcdir}/${_pkg}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:24:50
  Author: felixonmars
Revision: 332444

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-prettyprinter/repos/community-staging-x86_64/PKGBUILD (from rev 
332443, haskell-prettyprinter/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:24:50 UTC (rev 332444)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=prettyprinter
+pkgname=haskell-prettyprinter
+pkgver=1.2.0.1
+pkgrel=6
+pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
+url="https://github.com/hspec/prettyprinter";
+license=('custom:BSD2')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-doctest' 'haskell-pgp-wordlist' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f51e546915d799a07f7b7a60c53f1cd1491535bcad6199341c14aeb96250da85f5527b94ad19e2c297fcf4b02d4561c2eaad1458c4b9c870fb0dcfeb142d9771')
+
+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-buildReadme
+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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:24:31
  Author: felixonmars
Revision: 332443

upgpkg: haskell-prettyprinter 1.2.0.1-6

rebuild with exceptions 0.10.0

Modified:
  haskell-prettyprinter/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:23:39 UTC (rev 332442)
+++ PKGBUILD2018-05-28 11:24:31 UTC (rev 332443)
@@ -4,7 +4,7 @@
 _hkgname=prettyprinter
 pkgname=haskell-prettyprinter
 pkgver=1.2.0.1
-pkgrel=5
+pkgrel=6
 pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
 url="https://github.com/hspec/prettyprinter";
 license=('custom:BSD2')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:26:10
  Author: felixonmars
Revision: 332445

upgpkg: haskell-postgresql-binary 0.12.1.1-6

rebuild with exceptions 0.10.0

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:24:50 UTC (rev 332444)
+++ PKGBUILD2018-05-28 11:26:10 UTC (rev 332445)
@@ -5,7 +5,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.1.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary";
 license=("MIT")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:26:28
  Author: felixonmars
Revision: 332446

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-postgresql-binary/repos/community-staging-x86_64/PKGBUILD (from 
rev 332445, haskell-postgresql-binary/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:26:28 UTC (rev 332446)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=postgresql-binary
+pkgname=haskell-postgresql-binary
+pkgver=0.12.1.1
+pkgrel=6
+pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
+url="https://github.com/nikita-volkov/postgresql-binary";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-prelude' 
'haskell-binary-parser'
+ 'haskell-bytestring-strict-builder' 'haskell-loch-th' 
'haskell-network-ip'
+ 'haskell-placeholders' 'haskell-scientific' 
'haskell-unordered-containers'
+ 'haskell-uuid' 'haskell-vector')
+makedepends=('ghc' 'haskell-postgresql-libpq' 'haskell-tasty' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-hunit' 'haskell-quickcheck' 
'haskell-quickcheck-instances'
+ 'haskell-json-ast' 'haskell-conversion' 
'haskell-conversion-bytestring'
+ 'haskell-conversion-text' 'haskell-rerebase' 'pifpaf' 
'postgresql')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('386079b1816861da9e6e57e6ff6e30d3e01865102418173fc0e69145d924114b69d1ca99134158168c354d4fdac74bbb54d591849f87ed24548ef31fe22e04d1')
+
+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
+
+eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
+createuser -s postgres
+runhaskell Setup test
+pifpaf_stop
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:28:59
  Author: felixonmars
Revision: 332450

upgpkg: haskell-megaparsec 6.5.0-8

rebuild with exceptions 0.10.0

Modified:
  haskell-megaparsec/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:26:36 UTC (rev 332449)
+++ PKGBUILD2018-05-28 11:28:59 UTC (rev 332450)
@@ -5,7 +5,7 @@
 _hkgname=megaparsec
 pkgname=haskell-megaparsec
 pkgver=6.5.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Monadic parser combinators"
 url="https://github.com/mrkkrp/megaparsec";
 license=("custom:BSD2")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:29:18
  Author: felixonmars
Revision: 332451

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-megaparsec/repos/community-staging-x86_64/PKGBUILD (from rev 
332450, haskell-megaparsec/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:29:18 UTC (rev 332451)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=megaparsec
+pkgname=haskell-megaparsec
+pkgver=6.5.0
+pkgrel=8
+pkgdesc="Monadic parser combinators"
+url="https://github.com/mrkkrp/megaparsec";
+license=("custom:BSD2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive' 'haskell-parser-combinators'
+ 'haskell-scientific')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-hspec-expectations')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('4a8194909f2779bd82226a1f8fb6cce089820fa960249fdd723a4f54aa0c0d52436b4835431327be1164a7698d59059e866b694477407fae4d93c1ae42664011')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*1.0/<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 \
+-f-dev
+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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:29:57
  Author: felixonmars
Revision: 332452

upgpkg: haskell-lens-aeson 1.0.2-61

rebuild with exceptions 0.10.0

Modified:
  haskell-lens-aeson/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:29:18 UTC (rev 332451)
+++ PKGBUILD2018-05-28 11:29:57 UTC (rev 332452)
@@ -4,7 +4,7 @@
 _hkgname=lens-aeson
 pkgname=haskell-lens-aeson
 pkgver=1.0.2
-pkgrel=60
+pkgrel=61
 pkgdesc="Law-abiding lenses for aeson"
 url="http://github.com/lens/lens-aeson/";
 license=('MIT')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:30:16
  Author: felixonmars
Revision: 332453

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-lens-aeson/repos/community-staging-x86_64/PKGBUILD (from rev 
332452, haskell-lens-aeson/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:30:16 UTC (rev 332453)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=lens-aeson
+pkgname=haskell-lens-aeson
+pkgver=1.0.2
+pkgrel=61
+pkgdesc="Law-abiding lenses for aeson"
+url="http://github.com/lens/lens-aeson/";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-lens' 
'haskell-scientific'
+ 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('db13c9126b41fd1b3b2e66c72e069ef07722c4e125a128eca2592bf2c68b7e550c10a0d35795616c0e66ed6c70bbe3b188e9baba19913bba41b5d44900b71013')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*1.3/<2/' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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-test-doctests
+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}/${_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)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:30:54
  Author: felixonmars
Revision: 332454

upgpkg: haskell-insert-ordered-containers 0.2.1.0-80

rebuild with exceptions 0.10.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:30:16 UTC (rev 332453)
+++ PKGBUILD2018-05-28 11:30:54 UTC (rev 332454)
@@ -4,7 +4,7 @@
 _hkgname=insert-ordered-containers
 pkgname=haskell-insert-ordered-containers
 pkgver=0.2.1.0
-pkgrel=79
+pkgrel=80
 pkgdesc="Associative containers retating insertion order for traversals."
 url="https://github.com/phadej/insert-ordered-containers";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:31:13
  Author: felixonmars
Revision: 332455

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 332454, 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 332454, haskell-insert-ordered-containers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:31:13 UTC (rev 332455)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=insert-ordered-containers
+pkgname=haskell-insert-ordered-containers
+pkgver=0.2.1.0
+pkgrel=80
+pkgdesc="Associative containers retating insertion order for traversals."
+url="https://github.com/phadej/insert-ordered-containers";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat' 'haskell-hashable' 
'haskell-lens'
+ 'haskell-semigroupoids' 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('baff8b23700a7d0209810208183d9856c0a5219018c5f09e82f8820ac87630073543da19e1198fc42f3feec143895707e5e33fdf1edbf8f4e6c441271cc3243b')
+
+prepare() {
+sed -e 's/, semigroupoids >=4.3  && <5.2/, semigroupoids   
  >=4.3/' \
+-e 's/, aeson >=1.0.0.0  && <1.2/, aeson   
  >=1.0.0.0/' \
+-e 's/base  >=4.6  && <4.10/base  
>=4.6/' \
+-e 's/<.*4.16/<5/' \
+-e '/semigroups/d' \
+-e 's/<.*0.10/<1/' \
+-i ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:31:54
  Author: felixonmars
Revision: 332456

upgpkg: haskell-http-client-tls 0.3.5.3-43

rebuild with exceptions 0.10.0

Modified:
  haskell-http-client-tls/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:31:13 UTC (rev 332455)
+++ PKGBUILD2018-05-28 11:31:54 UTC (rev 332456)
@@ -5,7 +5,7 @@
 _hkgname=http-client-tls
 pkgname=haskell-http-client-tls
 pkgver=0.3.5.3
-pkgrel=42
+pkgrel=43
 pkgdesc="http-client backend using the connection package and tls library"
 url="https://github.com/snoyberg/http-client";
 license=("MIT")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:32:14
  Author: felixonmars
Revision: 332457

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http-client-tls/repos/community-staging-x86_64/PKGBUILD (from 
rev 332456, haskell-http-client-tls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:32:14 UTC (rev 332457)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=http-client-tls
+pkgname=haskell-http-client-tls
+pkgver=0.3.5.3
+pkgrel=43
+pkgdesc="http-client backend using the connection package and tls library"
+url="https://github.com/snoyberg/http-client";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-case-insensitive" "haskell-connection" 
"haskell-cryptonite"
+ "haskell-data-default-class" "haskell-exceptions" 
"haskell-http-client"
+ "haskell-http-types" "haskell-memory" "haskell-network" 
"haskell-network-uri"
+ "haskell-tls")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('df4fff9fbd6736a52d54bf04669107b24e3d31c22b0f7882310204ca4ef1a895e9f79cea289423341aa575759a2667ff9ca86b889567605ad3daec266a1bbb14')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:33:19
  Author: felixonmars
Revision: 332459

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-http/repos/community-staging-x86_64/PKGBUILD (from rev 332458, 
haskell-http/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:33:19 UTC (rev 332459)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.3.11
+pkgrel=32
+pkgdesc="A library for client-side HTTP"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network' 'haskell-network-uri')
+makedepends=('ghc' 'haskell-hunit' 'haskell-httpd-shed' 'haskell-puremd5' 
'haskell-split'
+ 'haskell-test-framework' 'haskell-test-framework-hunit' 
'haskell-case-insensitive'
+ 'haskell-http-types' 'haskell-wai' 'haskell-warp' 
'haskell-conduit'
+ 'haskell-conduit-extra')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3c8624fd92f6fa16f128c7d7e4614fba0f95b31714c0dd6ca3e564bb9c3295ec34a952eca91d642b5c46470923ba506ec8234bbb6a67593a00f4c8b50e97aac9')
+
+build() {
+cd "${srcdir}/${_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-mtl1 -f-warn-as-error -f-conduit10 -fwarp-tests -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
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:33:01
  Author: felixonmars
Revision: 332458

upgpkg: haskell-http 4000.3.11-32

rebuild with exceptions 0.10.0

Modified:
  haskell-http/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:32:14 UTC (rev 332457)
+++ PKGBUILD2018-05-28 11:33:01 UTC (rev 332458)
@@ -5,7 +5,7 @@
 _hkgname=HTTP
 pkgname=haskell-http
 pkgver=4000.3.11
-pkgrel=31
+pkgrel=32
 pkgdesc="A library for client-side HTTP"
 url="https://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')


[arch-commits] Commit in haskell-hslua-module-text/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:33:55
  Author: felixonmars
Revision: 332460

upgpkg: haskell-hslua-module-text 0.1.2.1-32

rebuild with exceptions 0.10.0

Modified:
  haskell-hslua-module-text/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:33:19 UTC (rev 332459)
+++ PKGBUILD2018-05-28 11:33:55 UTC (rev 332460)
@@ -5,7 +5,7 @@
 _hkgname=hslua-module-text
 pkgname=haskell-hslua-module-text
 pkgver=0.1.2.1
-pkgrel=31
+pkgrel=32
 pkgdesc="Lua module for text"
 url="https://github.com/hslua/hslua-module-test";
 license=("MIT")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:34:14
  Author: felixonmars
Revision: 332461

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hslua-module-text/repos/community-staging-x86_64/
  haskell-hslua-module-text/repos/community-staging-x86_64/PKGBUILD
(from rev 332460, haskell-hslua-module-text/trunk/PKGBUILD)

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

Copied: haskell-hslua-module-text/repos/community-staging-x86_64/PKGBUILD (from 
rev 332460, haskell-hslua-module-text/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:34:14 UTC (rev 332461)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=hslua-module-text
+pkgname=haskell-hslua-module-text
+pkgver=0.1.2.1
+pkgrel=32
+pkgdesc="Lua module for text"
+url="https://github.com/hslua/hslua-module-test";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hslua')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('06f6b5611d452479e99772bbd1eb622f56740a5fc17091cd5c49e13dacb5654deb6d073fe2f40ffb7240ab9267ea3c59d0282ef8f55fce9095525b3d29a73513')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*4.11/<5/' $_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:35:12
  Author: felixonmars
Revision: 332462

upgpkg: haskell-haddock-library 1.5.0.1-3

rebuild with exceptions 0.10.0

Modified:
  haskell-haddock-library/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:34:14 UTC (rev 332461)
+++ PKGBUILD2018-05-28 11:35:12 UTC (rev 332462)
@@ -4,7 +4,7 @@
 _hkgname=haddock-library
 pkgname=haskell-haddock-library
 pkgver=1.5.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A documentation-generation tool for Haskell libraries"
 url="https://www.haskell.org/haddock/";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:35:31
  Author: felixonmars
Revision: 332463

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-haddock-library/repos/community-staging-x86_64/
  haskell-haddock-library/repos/community-staging-x86_64/PKGBUILD
(from rev 332462, haskell-haddock-library/trunk/PKGBUILD)

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

Copied: haskell-haddock-library/repos/community-staging-x86_64/PKGBUILD (from 
rev 332462, haskell-haddock-library/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:35:31 UTC (rev 332463)
@@ -0,0 +1,50 @@
+# $Id: PKGBUILD 124882 2014-12-29 22:07:40Z spupykin $
+# Maintainer: Sergej Pupykin 
+
+_hkgname=haddock-library
+pkgname=haskell-haddock-library
+pkgver=1.5.0.1
+pkgrel=3
+pkgdesc="A documentation-generation tool for Haskell libraries"
+url="https://www.haskell.org/haddock/";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-base-compat' 'haskell-hspec' 
'haskell-hspec-discover'
+ 'haskell-quickcheck' 'haskell-optparse-applicative' 
'haskell-tree-diff')
+source=("https://hackage.haskell.org/packages/archive/haddock-library/${pkgver}/haddock-library-${pkgver}.tar.gz";)
+sha512sums=('832f21280ab2dce56c668dcf087c884bc450455d8198fb75ee856c19ce1b547f4a2c1403f4f20e044382f140fed848ae7657da9d05a0ab0f0752433b20397559')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/\^>=/>=/' $_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: doesn't look like my fault :/
+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-email-validate/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:36:11
  Author: felixonmars
Revision: 332464

upgpkg: haskell-email-validate 2.3.2.5-11

rebuild with exceptions 0.10.0

Modified:
  haskell-email-validate/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:35:31 UTC (rev 332463)
+++ PKGBUILD2018-05-28 11:36:11 UTC (rev 332464)
@@ -5,7 +5,7 @@
 _hkgname=email-validate
 pkgname=haskell-email-validate
 pkgver=2.3.2.5
-pkgrel=10
+pkgrel=11
 pkgdesc="Validating an email address string against RFC 5322"
 url="http://porg.es/blog/email-address-validation-simpler-faster-more-correct";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:36:30
  Author: felixonmars
Revision: 332465

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-email-validate/repos/community-staging-x86_64/
  haskell-email-validate/repos/community-staging-x86_64/PKGBUILD
(from rev 332464, haskell-email-validate/trunk/PKGBUILD)

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

Copied: haskell-email-validate/repos/community-staging-x86_64/PKGBUILD (from 
rev 332464, haskell-email-validate/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:36:30 UTC (rev 332465)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=email-validate
+pkgname=haskell-email-validate
+pkgver=2.3.2.5
+pkgrel=11
+pkgdesc="Validating an email address string against RFC 5322"
+url="http://porg.es/blog/email-address-validation-simpler-faster-more-correct";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('0ea3457e31e16948650ba810302d42f07e605cbbbfa3b7474d596f56de02ea3bbf995bacdb49d2dc37c6360062267ac0153e9275bfa5a513e0c5e2764f58399c')
+
+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-doctemplates/repos (2 files)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:37:25
  Author: felixonmars
Revision: 332467

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-doctemplates/repos/community-staging-x86_64/PKGBUILD (from rev 
332466, haskell-doctemplates/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:37:25 UTC (rev 332467)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=doctemplates
+pkgname=haskell-doctemplates
+pkgver=0.2.2.1
+pkgrel=13
+pkgdesc="Pandoc-style document templates"
+url="https://github.com/jgm/doctemplates";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-blaze-markup" "haskell-blaze-html"
+ "haskell-scientific" "haskell-unordered-containers" "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e1ad0d61dc97a69febf55ad76ee05e6696b76b0df5ee925072e934b977d1ca4c8d9ce0bc9acb311ec1992ce783e86fcaec93a93fc47fecffbd0071f002013485')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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-doctemplates/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:37:06
  Author: felixonmars
Revision: 332466

upgpkg: haskell-doctemplates 0.2.2.1-13

rebuild with exceptions 0.10.0

Modified:
  haskell-doctemplates/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:36:30 UTC (rev 332465)
+++ PKGBUILD2018-05-28 11:37:06 UTC (rev 332466)
@@ -4,7 +4,7 @@
 _hkgname=doctemplates
 pkgname=haskell-doctemplates
 pkgver=0.2.2.1
-pkgrel=12
+pkgrel=13
 pkgdesc="Pandoc-style document templates"
 url="https://github.com/jgm/doctemplates";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:38:22
  Author: felixonmars
Revision: 332469

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-checkers/repos/community-staging-x86_64/PKGBUILD (from rev 
332468, haskell-checkers/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:38:22 UTC (rev 332469)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=checkers
+pkgname=haskell-checkers
+pkgver=0.4.10
+pkgrel=11
+pkgdesc="Check properties on standard classes and data structures"
+url="https://github.com/conal/checkers";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-random' 'haskell-quickcheck' 
'haskell-semigroupoids')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b2884143505e8025d436d6792dded2df74b81070d9313f9f5f864a2b630479cd344fa00181a38bcce100b970d5a561b02509728bf26c73ad9ba0222c4be429be')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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-checkers/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:38:03
  Author: felixonmars
Revision: 332468

upgpkg: haskell-checkers 0.4.10-11

rebuild with exceptions 0.10.0

Modified:
  haskell-checkers/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:37:25 UTC (rev 332467)
+++ PKGBUILD2018-05-28 11:38:03 UTC (rev 332468)
@@ -4,7 +4,7 @@
 _hkgname=checkers
 pkgname=haskell-checkers
 pkgver=0.4.10
-pkgrel=10
+pkgrel=11
 pkgdesc="Check properties on standard classes and data structures"
 url="https://github.com/conal/checkers";
 license=('custom:BSD3')


[arch-commits] Commit in haskell-base-compat-batteries/repos (2 files)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:39:19
  Author: felixonmars
Revision: 332471

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-base-compat-batteries/repos/community-staging-x86_64/
  haskell-base-compat-batteries/repos/community-staging-x86_64/PKGBUILD
(from rev 332470, haskell-base-compat-batteries/trunk/PKGBUILD)

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

Copied: haskell-base-compat-batteries/repos/community-staging-x86_64/PKGBUILD 
(from rev 332470, haskell-base-compat-batteries/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:39:19 UTC (rev 332471)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=base-compat-batteries
+pkgname=haskell-base-compat-batteries
+pkgver=0.10.1
+pkgrel=6
+pkgdesc="base-compat with extra batteries"
+url="https://hackage.haskell.org/package/base-compat-batteries";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat')
+makedepends=('ghc'  'haskell-hspec' 'haskell-hspec-discover' 
'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('7fc65b961b3b6bde315cf0d26fdcbbb0712af930cfb643b8f8ecba8ee02f9a7d0ba014a10014bdf38b688f2e4d1ccbcaa8cab445f64975afb7fee3e7f632bcb9')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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-base-compat-batteries/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:39:00
  Author: felixonmars
Revision: 332470

upgpkg: haskell-base-compat-batteries 0.10.1-6

rebuild with exceptions 0.10.0

Modified:
  haskell-base-compat-batteries/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:38:22 UTC (rev 332469)
+++ PKGBUILD2018-05-28 11:39:00 UTC (rev 332470)
@@ -4,7 +4,7 @@
 _hkgname=base-compat-batteries
 pkgname=haskell-base-compat-batteries
 pkgver=0.10.1
-pkgrel=5
+pkgrel=6
 pkgdesc="base-compat with extra batteries"
 url="https://hackage.haskell.org/package/base-compat-batteries";
 license=('MIT')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:39:58
  Author: felixonmars
Revision: 332472

upgpkg: haskell-authenticate-oauth 1.6-8

rebuild with exceptions 0.10.0

Modified:
  haskell-authenticate-oauth/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:39:19 UTC (rev 332471)
+++ PKGBUILD2018-05-28 11:39:58 UTC (rev 332472)
@@ -4,7 +4,7 @@
 _hkgname=authenticate-oauth
 pkgname=haskell-authenticate-oauth
 pkgver=1.6
-pkgrel=7
+pkgrel=8
 pkgdesc="Library to authenticate with OAuth for Haskell web applications."
 url="https://github.com/yesodweb/authenticate";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:40:19
  Author: felixonmars
Revision: 332473

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-authenticate-oauth/repos/community-staging-x86_64/PKGBUILD 
(from rev 332472, haskell-authenticate-oauth/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:40:19 UTC (rev 332473)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=authenticate-oauth
+pkgname=haskell-authenticate-oauth
+pkgver=1.6
+pkgrel=8
+pkgdesc="Library to authenticate with OAuth for Haskell web applications."
+url="https://github.com/yesodweb/authenticate";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http-client' 'haskell-crypto-pubkey-types' 
'haskell-rsa'
+ 'haskell-data-default' 'haskell-base64-bytestring' 'haskell-sha' 
'haskell-random'
+ 'haskell-http-types' 'haskell-blaze-builder' 
'haskell-transformers-compat')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('1cd4db3874b05a8856dcd07ee1e63fdafb92e8997b9caf81436d882f36c1bda3fce4b32cdbfa28ffa5f5374566ffa981537f527d8814131e7d61f2d1b831')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/<.*2.3/<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}" \
+--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-aeson-qq/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:40:57
  Author: felixonmars
Revision: 332474

upgpkg: haskell-aeson-qq 0.8.2-43

rebuild with exceptions 0.10.0

Modified:
  haskell-aeson-qq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:40:19 UTC (rev 332473)
+++ PKGBUILD2018-05-28 11:40:57 UTC (rev 332474)
@@ -5,7 +5,7 @@
 _hkgname=aeson-qq
 pkgname=haskell-aeson-qq
 pkgver=0.8.2
-pkgrel=42
+pkgrel=43
 pkgdesc="JSON quasiquoter for Haskell"
 url="https://github.com/sol/aeson-qq";
 license=("MIT")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:41:15
  Author: felixonmars
Revision: 332475

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 332474, haskell-aeson-qq/trunk/PKGBUILD)

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

Copied: haskell-aeson-qq/repos/community-staging-x86_64/PKGBUILD (from rev 
332474, haskell-aeson-qq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:41:15 UTC (rev 332475)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-qq
+pkgname=haskell-aeson-qq
+pkgver=0.8.2
+pkgrel=43
+pkgdesc="JSON quasiquoter for Haskell"
+url="https://github.com/sol/aeson-qq";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-attoparsec' 
'haskell-scientific'
+ 'haskell-vector' 'haskell-aeson' 'haskell-src-meta')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bae36bcda3adc946253f373158a7e2b1604bb0d1dfb733295be08c2497c22d2b114849dc02a7846dac30394f112181fc8531837f005d004d8bdf6f3bd79724a3')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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 pandoc/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:45:50
  Author: felixonmars
Revision: 332476

upgpkg: pandoc 2.2.1-22

rebuild with exceptions 0.10.0

Modified:
  pandoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:41:15 UTC (rev 332475)
+++ PKGBUILD2018-05-28 11:45:50 UTC (rev 332476)
@@ -4,7 +4,7 @@
 
 pkgname=pandoc
 pkgver=2.2.1
-pkgrel=21
+pkgrel=22
 pkgdesc="Conversion between markup formats"
 url="http://pandoc.org";
 license=("GPL")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:46:09
  Author: felixonmars
Revision: 332477

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: pandoc/repos/community-staging-x86_64/PKGBUILD (from rev 332476, 
pandoc/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:46:09 UTC (rev 332477)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=pandoc
+pkgver=2.2.1
+pkgrel=22
+pkgdesc="Conversion between markup formats"
+url="http://pandoc.org";
+license=("GPL")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-http' 'haskell-juicypixels' 'haskell-sha' 
'haskell-aeson'
+ 'haskell-aeson-pretty' 'haskell-base-compat' 
'haskell-base64-bytestring'
+ 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-case-insensitive' 'haskell-cmark-gfm'
+ 'haskell-data-default' 'haskell-doctemplates' 'haskell-exceptions' 
'haskell-glob'
+ 'haskell-haddock-library' 'haskell-skylighting' 'haskell-hslua'
+ 'haskell-hslua-module-text' 'haskell-http-client' 'haskell-syb' 
'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-safe' 'haskell-split' 'haskell-texmath'
+ 'haskell-network' 'haskell-pandoc-types' 'haskell-random'
+ 'haskell-scientific' 'haskell-tagsoup' 'haskell-temporary' 
'haskell-network-uri'
+ 'haskell-unordered-containers' 'haskell-zip-archive' 'haskell-vector' 
'haskell-xml'
+ 'haskell-yaml' 'haskell-zlib')
+optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc 
filter'
+'pandoc-crossref: for numbering figures, equations, tables and 
cross-references to them with pandoc-crossref filter'
+'texlive-core: for pdf output')
+conflicts=('haskell-pandoc')
+replaces=('haskell-pandoc')
+makedepends=('ghc' 'haskell-diff' 'haskell-tasty' 'haskell-tasty-hunit' 
'haskell-tasty-quickcheck'
+ 'haskell-tasty-golden' 'haskell-quickcheck' 
'haskell-executable-path')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('84af51e180bcf8f0c11e67d8031d11a4b60c6061736a48c21e64bc30d0018a0161e3993167111584e384eced18632841b70027fdf29ed9e46427425096bb56b1')
+
+prepare() {
+cd "${srcdir}/$pkgname-${pkgver}"
+# TODO: find a better solution
+sed -i "s|let env' = dynlibEnv ++ |let env' = dynlibEnv ++ 
[(\"LD_LIBRARY_PATH\", \"$PWD/dist/build\")] ++ |" test/Tests/Command.hs
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fnetwork-uri -f-trypandoc -f-embed_data_files -f-static
+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 "${srcdir}/${pkgname}-${pkgver}"
+LC_CTYPE=en_US.UTF-8 runhaskell Setup test
+}
+
+package() {
+cd "${srcdir}/${pkgbase}-${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}/COPYING.md"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:47:31
  Author: felixonmars
Revision: 332478

upgpkg: hlint 2.1.5-17

rebuild with exceptions 0.10.0

Modified:
  hlint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:46:09 UTC (rev 332477)
+++ PKGBUILD2018-05-28 11:47:31 UTC (rev 332478)
@@ -4,7 +4,7 @@
 
 pkgname=hlint
 pkgver=2.1.5
-pkgrel=16
+pkgrel=17
 pkgdesc="Source code suggestions"
 url="http://community.haskell.org/~ndm/hlint/";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:47:49
  Author: felixonmars
Revision: 332479

archrelease: copy trunk to community-staging-x86_64

Added:
  hlint/repos/community-staging-x86_64/
  hlint/repos/community-staging-x86_64/PKGBUILD
(from rev 332478, hlint/trunk/PKGBUILD)

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

Copied: hlint/repos/community-staging-x86_64/PKGBUILD (from rev 332478, 
hlint/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:47:49 UTC (rev 332479)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hlint
+pkgver=2.1.5
+pkgrel=17
+pkgdesc="Source code suggestions"
+url="http://community.haskell.org/~ndm/hlint/";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-cmdargs' 
'haskell-cpphs'
+ 'haskell-data-default' 'haskell-extra' 'haskell-hscolour' 
'haskell-refact'
+ 'haskell-src-exts' 'haskell-src-exts-util' 'haskell-uniplate'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
+conflicts=('haskell-hlint')
+replaces=('haskell-hlint')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('24d5af8928f72648fa9e0679f8cf0c654b5e5442be15375dcfd4d40a9f1dda522c122d56df7061ae8e843d38421affa566c0ab4b272d1726895f3e6cc7576c38')
+
+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 \
+-fgpl -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
+}
+
+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}/COPYING.BSD3"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:48:49
  Author: felixonmars
Revision: 332480

upgpkg: haskell-yesod-form 1.6.1-14

rebuild with exceptions 0.10.0

Modified:
  haskell-yesod-form/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:47:49 UTC (rev 332479)
+++ PKGBUILD2018-05-28 11:48:49 UTC (rev 332480)
@@ -5,7 +5,7 @@
 _hkgname=yesod-form
 pkgname=haskell-yesod-form
 pkgver=1.6.1
-pkgrel=13
+pkgrel=14
 pkgdesc="Form handling support for Yesod Web Framework"
 url="http://www.yesodweb.com/";
 license=("MIT")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:49:07
  Author: felixonmars
Revision: 332481

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

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

Copied: haskell-yesod-form/repos/community-staging-x86_64/PKGBUILD (from rev 
332480, haskell-yesod-form/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:49:07 UTC (rev 332481)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=yesod-form
+pkgname=haskell-yesod-form
+pkgver=1.6.1
+pkgrel=14
+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-semigroups"
+ "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=('97228b512945f502ed72274c0544da72aff77d17b09c7199ac8c3eb5791d528a6105c2d18c62ca62eb33cd11f6d80ebbdf73b76e8ab7190e6ed5c7eba3892cb1')
+
+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-xml-hamlet/repos (2 files)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:50:07
  Author: felixonmars
Revision: 332483

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-xml-hamlet/repos/community-staging-x86_64/
  haskell-xml-hamlet/repos/community-staging-x86_64/PKGBUILD
(from rev 332482, haskell-xml-hamlet/trunk/PKGBUILD)

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

Copied: haskell-xml-hamlet/repos/community-staging-x86_64/PKGBUILD (from rev 
332482, haskell-xml-hamlet/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:50:07 UTC (rev 332483)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=xml-hamlet
+pkgname=haskell-xml-hamlet
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="Hamlet-style quasiquoter for XML content"
+url="http://www.yesodweb.com/";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-shakespeare"
+ "haskell-xml-conduit")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('6ab50b237e13f5d41f311fe30477c5ecef43af7400e6994652b384b8b91a0007facd7051d2651dac6836356fad6a764dfc2793338b7c0a8c20e83009a0a673ce')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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-xml-hamlet/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:49:49
  Author: felixonmars
Revision: 332482

upgpkg: haskell-xml-hamlet 0.5.0-2

rebuild with exceptions 0.10.0

Modified:
  haskell-xml-hamlet/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:49:07 UTC (rev 332481)
+++ PKGBUILD2018-05-28 11:49:49 UTC (rev 332482)
@@ -5,7 +5,7 @@
 _hkgname=xml-hamlet
 pkgname=haskell-xml-hamlet
 pkgver=0.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Hamlet-style quasiquoter for XML content"
 url="http://www.yesodweb.com/";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:52:47
  Author: felixonmars
Revision: 332484

upgpkg: haskell-wreq 0.5.2.1-9

rebuild with exceptions 0.10.0

Modified:
  haskell-wreq/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:50:07 UTC (rev 332483)
+++ PKGBUILD2018-05-28 11:52:47 UTC (rev 332484)
@@ -4,7 +4,7 @@
 _hkgname=wreq
 pkgname=haskell-wreq
 pkgver=0.5.2.1
-pkgrel=8
+pkgrel=9
 pkgdesc="An easy-to-use HTTP client library."
 url="https://github.com/bos/wreq";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:53:06
  Author: felixonmars
Revision: 332485

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wreq/repos/community-staging-x86_64/PKGBUILD (from rev 332484, 
haskell-wreq/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:53:06 UTC (rev 332485)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=wreq
+pkgname=haskell-wreq
+pkgver=0.5.2.1
+pkgrel=9
+pkgdesc="An easy-to-use HTTP client library."
+url="https://github.com/bos/wreq";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 
'haskell-authenticate-oauth'
+ 'haskell-base16-bytestring' 'haskell-case-insensitive' 
'haskell-cryptonite'
+ 'haskell-exceptions' 'haskell-hashable' 'haskell-http-client' 
'haskell-http-client-tls'
+ 'haskell-http-types' 'haskell-lens' 'haskell-lens-aeson' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-psqueues' 'haskell-time-locale-compat'
+ 'haskell-unordered-containers' 'haskell-aeson-pretty' 
'haskell-base64-bytestring'
+ 'haskell-snap-core' 'haskell-snap-server' 'haskell-unix-compat' 
'haskell-uuid')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-network-info' 'haskell-temporary' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4054c9951417e65ad7b215f1fdfa497513daa52b18242b4c20ea14a76030ba91a34fed664bd3bd06f6a62a38c3d5d09ada171ad3ca1d43928c709ffc44560b2f')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-fdoctest -f-aws -fhttpbin -f-developer
+runhaskell Setup build
+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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:53:47
  Author: felixonmars
Revision: 332486

upgpkg: haskell-word-wrap 0.4.1-12

rebuild with exceptions 0.10.0

Modified:
  haskell-word-wrap/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:53:06 UTC (rev 332485)
+++ PKGBUILD2018-05-28 11:53:47 UTC (rev 332486)
@@ -5,7 +5,7 @@
 _hkgname=word-wrap
 pkgname=haskell-word-wrap
 pkgver=0.4.1
-pkgrel=11
+pkgrel=12
 pkgdesc="A library for word-wrapping"
 url="https://github.com/jtdaugherty/word-wrap/";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:54:06
  Author: felixonmars
Revision: 332487

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-word-wrap/repos/community-staging-x86_64/
  haskell-word-wrap/repos/community-staging-x86_64/PKGBUILD
(from rev 332486, haskell-word-wrap/trunk/PKGBUILD)

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

Copied: haskell-word-wrap/repos/community-staging-x86_64/PKGBUILD (from rev 
332486, haskell-word-wrap/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:54:06 UTC (rev 332487)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=word-wrap
+pkgname=haskell-word-wrap
+pkgver=0.4.1
+pkgrel=12
+pkgdesc="A library for word-wrapping"
+url="https://github.com/jtdaugherty/word-wrap/";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('8160bdc238c3a057c903363d0874986b7ae9543b0bd7c1cbf2ac0aca94dd8fcf9ae40c7c2883b434f71d53c87e7d3dc41c3e645611879310b9c160238ef61637')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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-wl-pprint-extras/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:54:40
  Author: felixonmars
Revision: 332488

upgpkg: haskell-wl-pprint-extras 3.5.0.5-45

rebuild with exceptions 0.10.0

Modified:
  haskell-wl-pprint-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:54:06 UTC (rev 332487)
+++ PKGBUILD2018-05-28 11:54:40 UTC (rev 332488)
@@ -4,7 +4,7 @@
 _hkgname=wl-pprint-extras
 pkgname=haskell-wl-pprint-extras
 pkgver=3.5.0.5
-pkgrel=44
+pkgrel=45
 pkgdesc="A free monad based on the Wadler/Leijen pretty printer"
 url="https://github.com/ekmett/wl-pprint-extras/";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:54:59
  Author: felixonmars
Revision: 332489

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-wl-pprint-extras/repos/community-staging-x86_64/
  haskell-wl-pprint-extras/repos/community-staging-x86_64/PKGBUILD
(from rev 332488, haskell-wl-pprint-extras/trunk/PKGBUILD)

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

Copied: haskell-wl-pprint-extras/repos/community-staging-x86_64/PKGBUILD (from 
rev 332488, haskell-wl-pprint-extras/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:54:59 UTC (rev 332489)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=wl-pprint-extras
+pkgname=haskell-wl-pprint-extras
+pkgver=3.5.0.5
+pkgrel=45
+pkgdesc="A free monad based on the Wadler/Leijen pretty printer"
+url="https://github.com/ekmett/wl-pprint-extras/";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-semigroupoids' 'haskell-utf8-string')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('705107842ccbf4eb23d0b9e8069fd4d5bb1b03ffecbf9efaa8a579fd977380913d590fa370cc42476d5b28fde98fc44e7879fe343f761cd1751ebeb0b8c0e242')
+
+prepare() {
+sed -e '/nats/d' -e '/semigroups/d' -i 
${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:55:41
  Author: felixonmars
Revision: 332490

upgpkg: haskell-wai-app-static 3.1.6.2-35

rebuild with exceptions 0.10.0

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

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:54:59 UTC (rev 332489)
+++ PKGBUILD2018-05-28 11:55:41 UTC (rev 332490)
@@ -5,7 +5,7 @@
 _hkgname=wai-app-static
 pkgname=haskell-wai-app-static
 pkgver=3.1.6.2
-pkgrel=34
+pkgrel=35
 pkgdesc="WAI application for static serving"
 url="http://www.yesodweb.com/book/web-application-interface";
 license=("MIT")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:56:00
  Author: felixonmars
Revision: 332491

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-wai-app-static/repos/community-staging-x86_64/PKGBUILD (from 
rev 332490, haskell-wai-app-static/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:56:00 UTC (rev 332491)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=wai-app-static
+pkgname=haskell-wai-app-static
+pkgver=3.1.6.2
+pkgrel=35
+pkgdesc="WAI application for static serving"
+url="http://www.yesodweb.com/book/web-application-interface";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-html' 'haskell-blaze-markup' 
'haskell-cryptonite'
+ 'haskell-file-embed' 'haskell-http-date' 'haskell-http-types' 
'haskell-memory'
+ 'haskell-mime-types' 'haskell-old-locale' 
'haskell-optparse-applicative'
+ 'haskell-unix-compat' 'haskell-unordered-containers' 'haskell-wai' 
'haskell-wai-extra'
+ 'haskell-warp' 'haskell-zlib')
+makedepends=('ghc' 'haskell-hspec' 'haskell-mockery' 'haskell-network' 
'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('20c79810096f12d3901af3474a5ef4fe2385e639f97f2de803b09902d115321e3be7544cc3741b52b75a2710a0141bc19cb611fd4e6248ec60d11b522b9cb59c')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-print
+runhaskell Setup build
+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-vty/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:56:57
  Author: felixonmars
Revision: 332492

upgpkg: haskell-vty 5.21-14

rebuild with exceptions 0.10.0

Modified:
  haskell-vty/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:56:00 UTC (rev 332491)
+++ PKGBUILD2018-05-28 11:56:57 UTC (rev 332492)
@@ -5,7 +5,7 @@
 _hkgname=vty
 pkgname=haskell-vty
 pkgver=5.21
-pkgrel=13
+pkgrel=14
 pkgdesc="A simple terminal UI library"
 url="https://github.com/jtdaugherty/vty";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:58:00
  Author: felixonmars
Revision: 332494

upgpkg: haskell-th-utilities 0.2.0.1-39

rebuild with exceptions 0.10.0

Modified:
  haskell-th-utilities/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:57:17 UTC (rev 332493)
+++ PKGBUILD2018-05-28 11:58:00 UTC (rev 332494)
@@ -4,7 +4,7 @@
 _hkgname=th-utilities
 pkgname=haskell-th-utilities
 pkgver=0.2.0.1
-pkgrel=38
+pkgrel=39
 pkgdesc="Collection of useful functions for use with Template Haskell"
 url="https://github.com/fpco/th-utilities";
 license=('MIT')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:57:17
  Author: felixonmars
Revision: 332493

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-vty/repos/community-staging-x86_64/PKGBUILD (from rev 332492, 
haskell-vty/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:57:17 UTC (rev 332493)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vty
+pkgname=haskell-vty
+pkgver=5.21
+pkgrel=14
+pkgdesc="A simple terminal UI library"
+url="https://github.com/jtdaugherty/vty";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-microlens' 
'haskell-microlens-mtl'
+ 'haskell-microlens-th' 'haskell-hashable' 'haskell-parallel'
+ 'haskell-utf8-string' 'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-smallcheck'
+ 'haskell-quickcheck-assertions' 'haskell-test-framework'
+ 'haskell-test-framework-smallcheck' 
'haskell-test-framework-hunit' 'haskell-random'
+ 'haskell-string-qq')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('63daa4030af26d7941ba317d749a08f255d2ec1a73133cbefa3df15c76a8bf111c8e815982118bee2e23102212773e57d33fd9ef34864e79d9e66b4deaf3f5da')
+
+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
+}
+
+check() {
+# https://github.com/jtdaugherty/vty/issues/132
+# https://github.com/haskell/cabal/issues/4918
+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-utilities/repos (2 files)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:58:21
  Author: felixonmars
Revision: 332495

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 332494, haskell-th-utilities/trunk/PKGBUILD)

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

Copied: haskell-th-utilities/repos/community-staging-x86_64/PKGBUILD (from rev 
332494, haskell-th-utilities/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:58:21 UTC (rev 332495)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=th-utilities
+pkgname=haskell-th-utilities
+pkgver=0.2.0.1
+pkgrel=39
+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=('30cb5c09071beb1f8e029d217fefc6e58aa6eaa8a28994990d1549091fc174195b04a10e7873b1ac5f894cb4a528bf9764256ff1ad5c969493fbf5f872f1749f')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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 (4 files)

2018-05-28 Thread Morten Linderud via arch-commits
Date: Monday, May 28, 2018 @ 11:59:31
  Author: foxboron
Revision: 332497

Added python-language-server to community

Added:
  python-language-server/
  python-language-server/repos/
  python-language-server/trunk/
  python-language-server/trunk/PKGBUILD

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

Added: python-language-server/trunk/PKGBUILD
===
--- python-language-server/trunk/PKGBUILD   (rev 0)
+++ python-language-server/trunk/PKGBUILD   2018-05-28 11:59:31 UTC (rev 
332497)
@@ -0,0 +1,71 @@
+# Maintainer: Morten Linderud 
+# Contributor: fenuks
+
+pkgbase=python-language-server
+pkgname=(python-language-server python2-language-server)
+pkgver=0.18.0
+pkgrel=2
+pkgdesc="An implementation of the Language Server Protocol for Python"
+arch=("any")
+url="https://github.com/palantir/python-language-server";
+license=("MIT")
+makedepends=("python" "python-setuptools"
+ "python2" "python2-setuptools")
+checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov"  
"python-pyflakes"
+  "python-mock" "python-jedi" "python-future" "yapf" 
"python-mccabe" "python-pycodestyle"
+ "autopep8" "python-rope" "python-pydocstyle"
+  "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" 
"python2-pyflakes"
+ "python2-autopep8" "python2-rope" "python2-mccabe" 
"python2-pydocstyle"
+ "python2-mock" "python2-jedi" "python2-future" "python2-futures" 
"python2-yapf" "python2-pycodestyle" "python2-autopep8")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/palantir/${pkgname}/archive/${pkgver}.tar.gz";)
+sha256sums=('c7b6febf9e853f2a68903f8f7835b789072b09ebc48d71d24d75f951ddec11f9')
+
+prepare() {
+  cp -r "$pkgname-$pkgver"{,-py2}
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+python setup.py build
+
+cd "${srcdir}/${pkgname}-${pkgver}-py2"
+python2 setup.py build
+}
+
+check() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+python setup.py pytest
+
+# TODO: tests on python2 does not work currently
+cd "${srcdir}/${pkgname}-${pkgver}-py2"
+#python2 setup.py pytest
+}
+
+package_python-language-server() {
+depends=("python" "python-json-rpc" "python-future" "python-jedi" 
"python-pluggy")
+optdepends=(
+   "python-mccabe: for complexity checking"
+"python-rope: for completions and renaming"
+   "python-pyflakes: for linter to detect various errors"
+   "python-pycodestyle: for style checking"
+   "autopep8: for code formatting"
+   "yapf: for code formatting (preferred over autopep8)"
+   "python-pydocstyle: for docstring style checking")
+cd "${pkgbase}-${pkgver}"
+python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+}
+
+package_python2-language-server() {
+depends=("python2" "python2-json-rpc" "python2-future" "python2-jedi" 
"python2-pluggy")
+optdepends=(
+   "python2-mccabe: for complexity checking"
+"python2-rope: for completions and renaming"
+   "python2-pyflakes: for linter to detect various errors"
+   "python2-pycodestyle: for style checking"
+   "python2-autopep8: for code formatting"
+   "python2-yapf: for code formatting (preferred over autopep8)"
+   "python2-pydocstyle: for docstring style checking")
+cd "${pkgbase}-${pkgver}-py2"
+python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+mv "$pkgdir/usr/bin/pyls" "$pkgdir/usr/bin/pyls2"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:59:18
  Author: felixonmars
Revision: 332496

upgpkg: haskell-tasty-hedgehog 0.2.0.0-18

rebuild with exceptions 0.10.0

Modified:
  haskell-tasty-hedgehog/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:58:21 UTC (rev 332495)
+++ PKGBUILD2018-05-28 11:59:18 UTC (rev 332496)
@@ -4,7 +4,7 @@
 _hkgname=tasty-hedgehog
 pkgname=haskell-tasty-hedgehog
 pkgver=0.2.0.0
-pkgrel=17
+pkgrel=18
 pkgdesc="Integration for tasty and hedgehog"
 url="https://github.com/qfpl/tasty-hedgehog";
 license=('custom:BSD3')


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 11:59:54
  Author: felixonmars
Revision: 332498

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty-hedgehog/repos/community-staging-x86_64/
  haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD
(from rev 332497, haskell-tasty-hedgehog/trunk/PKGBUILD)

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

Copied: haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD (from 
rev 332497, haskell-tasty-hedgehog/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 11:59:54 UTC (rev 332498)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-hedgehog
+pkgname=haskell-tasty-hedgehog
+pkgver=0.2.0.0
+pkgrel=18
+pkgdesc="Integration for tasty and hedgehog"
+url="https://github.com/qfpl/tasty-hedgehog";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hedgehog' 'haskell-tagged' 'haskell-tasty')
+makedepends=('ghc' 'haskell-tasty-expected-failure')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ff6eb79e8a1a0d3307b6888fd19fa243591120af3c04ce4318e59846b9165847ebf3162cfca1f80ffbbe532a130235d0a413949c7b2ed0b45838716ded33673b')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.6/<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 "LICENCE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:01:47
  Author: felixonmars
Revision: 332499

upgpkg: haskell-swagger2 2.2.2-9

rebuild with exceptions 0.10.0

Modified:
  haskell-swagger2/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 11:59:54 UTC (rev 332498)
+++ PKGBUILD2018-05-28 12:01:47 UTC (rev 332499)
@@ -5,7 +5,7 @@
 _hkgname=swagger2
 pkgname=haskell-swagger2
 pkgver=2.2.2
-pkgrel=8
+pkgrel=9
 pkgdesc="Swagger 2.0 data model"
 url="https://github.com/GetShopTV/swagger2";
 license=("custom:BSD3")


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

2018-05-28 Thread Morten Linderud via arch-commits
Date: Monday, May 28, 2018 @ 12:02:26
  Author: foxboron
Revision: 332501

archrelease: copy trunk to community-any

Added:
  python-language-server/repos/community-any/
  python-language-server/repos/community-any/PKGBUILD
(from rev 332499, python-language-server/trunk/PKGBUILD)

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

Copied: python-language-server/repos/community-any/PKGBUILD (from rev 332499, 
python-language-server/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2018-05-28 12:02:26 UTC (rev 332501)
@@ -0,0 +1,71 @@
+# Maintainer: Morten Linderud 
+# Contributor: fenuks
+
+pkgbase=python-language-server
+pkgname=(python-language-server python2-language-server)
+pkgver=0.18.0
+pkgrel=2
+pkgdesc="An implementation of the Language Server Protocol for Python"
+arch=("any")
+url="https://github.com/palantir/python-language-server";
+license=("MIT")
+makedepends=("python" "python-setuptools"
+ "python2" "python2-setuptools")
+checkdepends=("python-pytest" "python-pytest-runner" "python-pytest-cov"  
"python-pyflakes"
+  "python-mock" "python-jedi" "python-future" "yapf" 
"python-mccabe" "python-pycodestyle"
+ "autopep8" "python-rope" "python-pydocstyle"
+  "python2-pytest" "python2-pytest-runner" "python2-pytest-cov" 
"python2-pyflakes"
+ "python2-autopep8" "python2-rope" "python2-mccabe" 
"python2-pydocstyle"
+ "python2-mock" "python2-jedi" "python2-future" "python2-futures" 
"python2-yapf" "python2-pycodestyle" "python2-autopep8")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/palantir/${pkgname}/archive/${pkgver}.tar.gz";)
+sha256sums=('c7b6febf9e853f2a68903f8f7835b789072b09ebc48d71d24d75f951ddec11f9')
+
+prepare() {
+  cp -r "$pkgname-$pkgver"{,-py2}
+}
+
+build() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+python setup.py build
+
+cd "${srcdir}/${pkgname}-${pkgver}-py2"
+python2 setup.py build
+}
+
+check() {
+cd "${srcdir}/${pkgname}-${pkgver}"
+python setup.py pytest
+
+# TODO: tests on python2 does not work currently
+cd "${srcdir}/${pkgname}-${pkgver}-py2"
+#python2 setup.py pytest
+}
+
+package_python-language-server() {
+depends=("python" "python-json-rpc" "python-future" "python-jedi" 
"python-pluggy")
+optdepends=(
+   "python-mccabe: for complexity checking"
+"python-rope: for completions and renaming"
+   "python-pyflakes: for linter to detect various errors"
+   "python-pycodestyle: for style checking"
+   "autopep8: for code formatting"
+   "yapf: for code formatting (preferred over autopep8)"
+   "python-pydocstyle: for docstring style checking")
+cd "${pkgbase}-${pkgver}"
+python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+}
+
+package_python2-language-server() {
+depends=("python2" "python2-json-rpc" "python2-future" "python2-jedi" 
"python2-pluggy")
+optdepends=(
+   "python2-mccabe: for complexity checking"
+"python2-rope: for completions and renaming"
+   "python2-pyflakes: for linter to detect various errors"
+   "python2-pycodestyle: for style checking"
+   "python2-autopep8: for code formatting"
+   "python2-yapf: for code formatting (preferred over autopep8)"
+   "python2-pydocstyle: for docstring style checking")
+cd "${pkgbase}-${pkgver}-py2"
+python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+mv "$pkgdir/usr/bin/pyls" "$pkgdir/usr/bin/pyls2"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:02:19
  Author: felixonmars
Revision: 332500

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

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

Copied: haskell-swagger2/repos/community-staging-x86_64/PKGBUILD (from rev 
332499, haskell-swagger2/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 12:02:19 UTC (rev 332500)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=swagger2
+pkgname=haskell-swagger2
+pkgver=2.2.2
+pkgrel=9
+pkgdesc="Swagger 2.0 data model"
+url="https://github.com/GetShopTV/swagger2";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-hashable'
+ 'haskell-generics-sop' 'haskell-http-media' 
'haskell-insert-ordered-containers'
+ 'haskell-lens' 'haskell-network' 'haskell-scientific' 
'haskell-transformers-compat'
+ 'haskell-unordered-containers' 'haskell-vector' 'haskell-uuid-types')
+makedepends=('ghc' 'haskell-aeson-qq' 'haskell-hspec' 'haskell-hunit' 
'haskell-quickcheck'
+ 'haskell-quickcheck-instances' 'haskell-hspec-discover' 
'haskell-doctest'
+ 'haskell-cabal-doctest' 'haskell-glob')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('b34f9bbe3d4bf1deb315ade8da9d99a91d2c32e47f8a4573b5dd73fabc4094267ae2b7ae1241773d2ce267bcaf9a13ee16a29e9d01c9fa9b30500663432e4bb5')
+
+build() {
+cd "${srcdir}/${_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 "${srcdir}/${_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-should-not-typecheck/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:03:03
  Author: felixonmars
Revision: 332502

upgpkg: haskell-should-not-typecheck 2.1.0-6

rebuild with exceptions 0.10.0

Modified:
  haskell-should-not-typecheck/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 12:02:26 UTC (rev 332501)
+++ PKGBUILD2018-05-28 12:03:03 UTC (rev 332502)
@@ -4,7 +4,7 @@
 _hkgname=should-not-typecheck
 pkgname=haskell-should-not-typecheck
 pkgver=2.1.0
-pkgrel=5
+pkgrel=6
 pkgdesc="A HUnit/hspec assertion library to verify that an expression does not 
typecheck"
 url="https://github.com/CRogers/should-not-typecheck";
 license=('custom:BSD3')


[arch-commits] Commit in haskell-should-not-typecheck/repos (2 files)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:03:23
  Author: felixonmars
Revision: 332503

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-should-not-typecheck/repos/community-staging-x86_64/
  haskell-should-not-typecheck/repos/community-staging-x86_64/PKGBUILD
(from rev 332502, haskell-should-not-typecheck/trunk/PKGBUILD)

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

Copied: haskell-should-not-typecheck/repos/community-staging-x86_64/PKGBUILD 
(from rev 332502, haskell-should-not-typecheck/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 12:03:23 UTC (rev 332503)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=should-not-typecheck
+pkgname=haskell-should-not-typecheck
+pkgver=2.1.0
+pkgrel=6
+pkgdesc="A HUnit/hspec assertion library to verify that an expression does not 
typecheck"
+url="https://github.com/CRogers/should-not-typecheck";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hunit')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-expectations')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('46ba4435a4408e23dfe6e04f827a7efcfd3c94a4a53a0562061d5cd40c11fcbae7569e695329fe98f9d9ecea1999ac68da6594d2ca60c2efccdac2d6d674d65d')
+
+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-servant/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:04:10
  Author: felixonmars
Revision: 332504

upgpkg: haskell-servant 0.13.0.1-8

rebuild with exceptions 0.10.0

Modified:
  haskell-servant/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 12:03:23 UTC (rev 332503)
+++ PKGBUILD2018-05-28 12:04:10 UTC (rev 332504)
@@ -5,7 +5,7 @@
 _hkgname=servant
 pkgname=haskell-servant
 pkgver=0.13.0.1
-pkgrel=7
+pkgrel=8
 pkgdesc="A family of combinators for defining webservices APIs"
 url="http://haskell-servant.readthedocs.org/";
 license=("custom:BSD3")


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:04:30
  Author: felixonmars
Revision: 332505

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-servant/repos/community-staging-x86_64/PKGBUILD (from rev 
332504, haskell-servant/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 12:04:30 UTC (rev 332505)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=servant
+pkgname=haskell-servant
+pkgver=0.13.0.1
+pkgrel=8
+pkgdesc="A family of combinators for defining webservices APIs"
+url="http://haskell-servant.readthedocs.org/";
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-http-api-data' 
'haskell-http-media'
+ 'haskell-http-types' 'haskell-natural-transformation' 'haskell-mmorph'
+ 'haskell-tagged' 'haskell-singleton-bool' 'haskell-string-conversions'
+ 'haskell-network-uri' 'haskell-vault')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-aeson-compat' 
'haskell-hspec'
+ 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3be9a97f2cc3d60cf3fc0f09aa3ee227f777dcb7e85e8579b1c169319f03dbb742fafa7dd1d4a1d20cdd04534cd327af3cbb04daf684ebdfc4e6e3a8c7b819d6')
+
+prepare() {
+cd $_hkgname-$pkgver
+}
+
+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-safe-exceptions/trunk (PKGBUILD)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:10:19
  Author: felixonmars
Revision: 332506

upgpkg: haskell-safe-exceptions 0.1.7.0-13

rebuild with exceptions 0.10.0

Modified:
  haskell-safe-exceptions/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-28 12:04:30 UTC (rev 332505)
+++ PKGBUILD2018-05-28 12:10:19 UTC (rev 332506)
@@ -4,7 +4,7 @@
 _hkgname=safe-exceptions
 pkgname=haskell-safe-exceptions
 pkgver=0.1.7.0
-pkgrel=12
+pkgrel=13
 pkgdesc="Safe, consistent, and easy exception handling"
 url="https://github.com/fpco/safe-exceptions";
 license=('MIT')
@@ -16,7 +16,7 @@
 
 prepare() {
 cd $_hkgname-$pkgver
-sed -i 's/<.*4.11/<5/' $_hkgname.cabal
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<1/' $_hkgname.cabal
 }
 
 build() {


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:10:38
  Author: felixonmars
Revision: 332507

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-safe-exceptions/repos/community-staging-x86_64/
  haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD
(from rev 332506, haskell-safe-exceptions/trunk/PKGBUILD)

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

Copied: haskell-safe-exceptions/repos/community-staging-x86_64/PKGBUILD (from 
rev 332506, haskell-safe-exceptions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 12:10:38 UTC (rev 332507)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=safe-exceptions
+pkgname=haskell-safe-exceptions
+pkgver=0.1.7.0
+pkgrel=13
+pkgdesc="Safe, consistent, and easy exception handling"
+url="https://github.com/fpco/safe-exceptions";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions')
+makedepends=('ghc' 'haskell-hspec' 'haskell-void')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('05fc32ea80ce1f733a6ea09655fecccf813ea9b7736dbd1d8ef84f54e3fb58f1017756cc9eb507d381cb73f22f100e9166bef1b7198a1d9edbda21e38626e351')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.9/<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"
+}


<    1   2   3   4   5   6   7   >