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

Felix Yan felixonmars at archlinux.org
Wed Dec 6 05:24:07 UTC 2017


    Date: Wednesday, December 6, 2017 @ 05:24:06
  Author: felixonmars
Revision: 272401

upgpkg: haskell-hasql 1.1.1-2

rebuild with data-serializer,0.3.2

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-06 05:18:21 UTC (rev 272400)
+++ PKGBUILD	2017-12-06 05:24:06 UTC (rev 272401)
@@ -5,7 +5,7 @@
 _hkgname=hasql
 pkgname=haskell-hasql
 pkgver=1.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql"
 license=('MIT')
@@ -16,11 +16,15 @@
          'haskell-mtl' 'haskell-placeholders' 'haskell-postgresql-binary' 'haskell-postgresql-libpq'
          'haskell-profunctors' 'haskell-semigroups' 'haskell-text' 'haskell-vector')
 makedepends=('ghc' 'haskell-bug' 'haskell-tasty' 'haskell-tasty-quickcheck' 'haskell-tasty-hunit'
-             'haskell-quickcheck-instances' 'haskell-quickcheck' 'haskell-rerebase' 'postgresql'
-             'python-pifpaf')
+             'haskell-quickcheck-instances' 'haskell-quickcheck' 'haskell-rerebase')
+checkdepends=('postgresql' 'pifpaf')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('f72097118dbecd87c31394be882aa81a591d5e6d429bbee974cc4d6acaf1a86b9cb1c623666f3ffcc4f258992a3522d1780fbcc5a2edaded18c106bbe1fd28be')
 
+prepare() {
+    sed -i 's/tasty-hunit >= 0.9 && < 0.10,/tasty-hunit >= 0.9,/' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 



More information about the arch-commits mailing list