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

Felix Yan felixonmars at archlinux.org
Mon Dec 2 19:48:34 UTC 2019


    Date: Monday, December 2, 2019 @ 19:48:33
  Author: felixonmars
Revision: 534720

upgpkg: haskell-hasql-transaction 0.7.2-28

rebuild with comonad 5.0.6

Modified:
  haskell-hasql-transaction/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-02 19:39:08 UTC (rev 534719)
+++ PKGBUILD	2019-12-02 19:48:33 UTC (rev 534720)
@@ -3,7 +3,7 @@
 _hkgname=hasql-transaction
 pkgname=haskell-hasql-transaction
 pkgver=0.7.2
-pkgrel=27
+pkgrel=28
 pkgdesc="A composable abstraction over the retryable transactions for Hasql"
 url="https://github.com/nikita-volkov/hasql-transaction"
 license=('MIT')
@@ -15,6 +15,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('630c03f362ad641ad07bfad543eff58f81acf7cb25c3dc050b51ea6939964ac0cf5e5d8748312733863cc500817fc7eb1915119cf164ef418abb73dd3e7cbd73')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/5432/9824/' conflicts-test/Main.hs
+}
+
 build() {
     cd $_hkgname-$pkgver
 
@@ -31,7 +36,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