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

Felix Yan felixonmars at archlinux.org
Fri May 18 06:40:42 UTC 2018


    Date: Friday, May 18, 2018 @ 06:40:42
  Author: felixonmars
Revision: 324221

upgpkg: haskell-hasql 1.1.1-65

rebuild with ghc 8.4.2

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-18 06:39:56 UTC (rev 324220)
+++ PKGBUILD	2018-05-18 06:40:42 UTC (rev 324221)
@@ -5,7 +5,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.1.1
-pkgrel=64
+pkgrel=65
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql"
 license=('MIT')
@@ -13,8 +13,8 @@
 depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base-prelude' 'haskell-bytestring-strict-builder'
          'haskell-contravariant' 'haskell-contravariant-extras' 'haskell-data-default-class'
          'haskell-dlist' 'haskell-hashable' 'haskell-hashtables' 'haskell-loch-th'
-         'haskell-mtl' 'haskell-placeholders' 'haskell-postgresql-binary' 'haskell-postgresql-libpq'
-         'haskell-profunctors' 'haskell-semigroups' 'haskell-text' 'haskell-vector')
+         'haskell-placeholders' 'haskell-postgresql-binary' 'haskell-postgresql-libpq'
+         'haskell-profunctors' 'haskell-vector')
 makedepends=('ghc' 'haskell-bug' 'haskell-tasty' 'haskell-tasty-quickcheck' 'haskell-tasty-hunit'
              'haskell-quickcheck-instances' 'haskell-quickcheck' 'haskell-rerebase')
 checkdepends=('postgresql' 'pifpaf')
@@ -25,7 +25,14 @@
     sed -e 's/tasty-hunit >= 0.9 && < 0.10,/tasty-hunit >= 0.9,/' \
         -e 's/tasty >= 0.12 && < 0.13,/tasty >= 0.12,/' \
         -e 's/tasty-quickcheck >= 0.9 && < 0.10,/tasty-quickcheck >= 0.9,/' \
+        -e '/semigroups/d' \
         -i $_hkgname-$pkgver/$_hkgname.cabal
+    sed -e 's/deriving (Monoid)/deriving (Semigroup, Monoid)/' \
+        -e '/instance Semigroup/d' \
+        -i $_hkgname-$pkgver/library/Hasql/Private/Commands.hs
+    sed -e 's/ Monoid)/ Semigroup, Monoid)/' \
+        -e '/instance Semigroup/d' \
+        -i $_hkgname-$pkgver/library/Hasql/Private/Encoders/Params.hs
 }
 
 build() {



More information about the arch-commits mailing list