[arch-commits] Commit in postgrest/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 22 20:04:55 UTC 2020
Date: Friday, May 22, 2020 @ 20:04:55
Author: felixonmars
Revision: 631685
upgpkg: postgrest 7.0.1-1
Modified:
postgrest/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-22 19:54:46 UTC (rev 631684)
+++ PKGBUILD 2020-05-22 20:04:55 UTC (rev 631685)
@@ -2,8 +2,8 @@
# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
pkgname=postgrest
-pkgver=7.0.0
-pkgrel=33
+pkgver=7.0.1
+pkgrel=1
pkgdesc="REST API for any Postgres database"
url="https://github.com/begriffs/postgrest"
license=("MIT")
@@ -22,16 +22,11 @@
makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai'
'haskell-hspec-wai-json' 'haskell-monad-control' 'haskell-transformers-base')
checkdepends=('pifpaf' 'postgresql' 'procps-ng')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz"
- $pkgname-protolude-0.3.patch::https://github.com/PostgREST/postgrest/commit/3da5a2875e2c0e9314c419ccd08f6fcc8f558e74.patch)
-sha512sums=('e52bca7c4ab37909b57b8d004244e7b0471464141cea5193ed01e39a60f7adb551064d3d3dd4230042b04730fdf8d6b8151bb3789b90c413680e6a3e496c383c'
- '50efa36aba1e31525ff8f342b2980a7106fa86909dfc03cb91121149b590fbdeff2b09dbe2256fffd90cd5362852c0eea6cb6b0045f094bfedf943c4e4b7001e')
+source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz")
+sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
prepare() {
cd $pkgname-$pkgver
- patch -p1 -i ../$pkgname-protolude-0.3.patch || :
- sed -i 's/< *4.1/<5/;s/< *0.3/<1/;s/< *1.1/<2/;s/< *2.6/<3/' $pkgname.cabal
- sed -i -e '/ fail /d' src/PostgREST/Config.hs
sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
}
More information about the arch-commits
mailing list