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

Felix Yan felixonmars at archlinux.org
Sat Nov 30 13:04:32 UTC 2019


    Date: Saturday, November 30, 2019 @ 13:04:32
  Author: felixonmars
Revision: 534564

upgpkg: haskell-postgresql-binary 0.12.1.3-22

rebuild with comonad 5.0.6

Modified:
  haskell-postgresql-binary/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-30 11:18:29 UTC (rev 534563)
+++ PKGBUILD	2019-11-30 13:04:32 UTC (rev 534564)
@@ -4,7 +4,7 @@
 _hkgname=postgresql-binary
 pkgname=haskell-postgresql-binary
 pkgver=0.12.1.3
-pkgrel=21
+pkgrel=22
 pkgdesc="Encoders and decoders for the PostgreSQL's binary format"
 url="https://github.com/nikita-volkov/postgresql-binary"
 license=("MIT")
@@ -23,6 +23,9 @@
 prepare() {
     cd $_hkgname-$pkgver
     sed -i 's/isLeft)/isLeft, select)/' tasty/Main.hs
+
+    # Do not use default postgres port
+    sed -i 's/5432/9824/' tasty/Main/DB.hs
 }
 
 build() {
@@ -41,7 +44,7 @@
 check() {
     cd $_hkgname-$pkgver
 
-    eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
+    eval $(pifpaf run postgresql --host 127.0.0.1)
     createuser -s postgres
     runhaskell Setup test
     pifpaf_stop



More information about the arch-commits mailing list