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

Felix Yan felixonmars at archlinux.org
Tue May 8 16:41:57 UTC 2018


    Date: Tuesday, May 8, 2018 @ 16:41:57
  Author: felixonmars
Revision: 319677

upgpkg: postgrest 0.4.4.0-120

rebuild with protolude,0.2.2

Modified:
  postgrest/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-08 16:24:47 UTC (rev 319676)
+++ PKGBUILD	2018-05-08 16:41:57 UTC (rev 319677)
@@ -4,7 +4,7 @@
 
 pkgname=postgrest
 pkgver=0.4.4.0
-pkgrel=119
+pkgrel=120
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest"
 license=("MIT")
@@ -16,10 +16,9 @@
          'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types'
          'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose'
          'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative'
-         'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe'
-         'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector'
-         'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static'
-         'haskell-cookie')
+         'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific'
+         'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai'
+         'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie')
 makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai'
              'haskell-hspec-wai-json' 'haskell-hjsonschema')
 checkdepends=('pifpaf' 'postgresql' 'procps-ng')
@@ -28,6 +27,9 @@
 
 prepare() {
     sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal
+
+    sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs
+    sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list