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

Felix Yan felixonmars at archlinux.org
Sun Mar 22 16:18:32 UTC 2020


    Date: Sunday, March 22, 2020 @ 16:18:30
  Author: felixonmars
Revision: 603532

upgpkg: haskell-hasql 1.4.2-1: rebuild with hasql 1.4.2

Modified:
  haskell-hasql/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-22 16:09:38 UTC (rev 603531)
+++ PKGBUILD	2020-03-22 16:18:30 UTC (rev 603532)
@@ -3,8 +3,8 @@
 
 _hkgname=hasql
 pkgname=haskell-hasql
-pkgver=1.4.1
-pkgrel=9
+pkgver=1.4.2
+pkgrel=1
 pkgdesc="An efficient PostgreSQL driver and a flexible mapping API"
 url="https://github.com/nikita-volkov/hasql"
 license=('MIT')
@@ -17,12 +17,11 @@
              'haskell-quickcheck-instances' 'haskell-quickcheck' 'haskell-rebase' 'haskell-rerebase')
 checkdepends=('postgresql' 'pifpaf')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('e0bdf2c58bea1900bcb567395a1557cb959e532705490ec2727cfcf4cc9b1afbf720e6b8b7cc5dbe1d1d3e6b2be5f0573fe6c7a04884d848dbbf89b17097a9c8')
+sha512sums=('74052de895ff78df41b634a558ac88c60702127f332410e9cc0abfdd48a1857eacef91770700f142490fbd4180d49c45277ec8e8b7a3740ac7facace2a1a7764')
 
 prepare() {
     cd $_hkgname-$pkgver
-    sed -i '/import Prelude/a import Data.List (List)' profiling/Main.hs
-    sed -i '/import Main.Prelude/a import Data.Bifunctor (mapLeft)' tasty/Main/DSL.hs
+    sed -i 's/import Prelude as Exports/import Prelude as Exports hiding (mapLeft)/' tasty/Main/Prelude.hs
 
     # Do not use default postgres port
     sed -i 's/5432/9824/' tasty/Main/*.hs threads-test/*.hs profiling/*.hs



More information about the arch-commits mailing list