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

Felix Yan felixonmars at archlinux.org
Wed Mar 18 18:02:39 UTC 2020


    Date: Wednesday, March 18, 2020 @ 18:02:38
  Author: felixonmars
Revision: 600604

upgpkg: postgrest 6.0.2-97: rebuild with configurator-pg 0.2.1

Modified:
  postgrest/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-18 17:55:36 UTC (rev 600603)
+++ PKGBUILD	2020-03-18 18:02:38 UTC (rev 600604)
@@ -3,7 +3,7 @@
 
 pkgname=postgrest
 pkgver=6.0.2
-pkgrel=96
+pkgrel=97
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest"
 license=("MIT")
@@ -24,16 +24,19 @@
 checkdepends=('pifpaf' 'postgresql' 'procps-ng')
 source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz"
         postgrest-swagger-2.4.patch::https://github.com/PostgREST/postgrest/pull/1326.patch
-        postgrest-hspec-wai-0.10.patch)
+        postgrest-hspec-wai-0.10.patch
+        postgrest-configuration-pg-0.2.patch::https://github.com/PostgREST/postgrest/pull/1457.patch)
 sha512sums=('abdcec3291c2216cb7383e13c80cb36c7bbecaded95ebebdc4482e44418d11abafab591ed1e5568ac38cdfc8e3f8b2c6c1c2a0e3e846ee6f97ab48b42c4c580d'
             'd8c654e55e424c8ad29c2791362109af6d0ae94a04d8726946f95caa1bd6b11d9a818069df61e03591e02b54ff15b86e4097375343e28f9354f7fafa5efdcee1'
-            '22da00f9fbdfc70b6db76d3cbf7f2406091131868077b439c35925b5fc7b56dcf218b13e2dca4c37b81e4bbba686040b2ad04086201c60885589c61bdd5df088')
+            '22da00f9fbdfc70b6db76d3cbf7f2406091131868077b439c35925b5fc7b56dcf218b13e2dca4c37b81e4bbba686040b2ad04086201c60885589c61bdd5df088'
+            'c391a2ff289469115c7fd932753bedc8a1f7ba283e3ca21ffaea64c25eb1678adc1519ad75e8353556444c201d06b815f57e768d12dec2e0b1770d13baaeb4d6')
 
 prepare() {
     cd $pkgname-$pkgver
     patch -p1 -i ../postgrest-swagger-2.4.patch
     patch -p1 -i ../postgrest-hspec-wai-0.10.patch
-    sed -i -e 's/< *4/<5/' -e 's/< *1/<2/' -e 's/< *3.3/<4/' -e 's/< *0.15/<1/' $pkgname.cabal
+    patch -p1 -i ../postgrest-configuration-pg-0.2.patch || :
+    sed -i -e 's/< *4/<5/' -e 's/< *1/<2/' -e 's/< *3.3/<4/' -e 's/< *0/<1/' $pkgname.cabal
 
     sed -i -e '/ fail /d' src/PostgREST/Config.hs
 



More information about the arch-commits mailing list