Date: Thursday, September 29, 2022 @ 16:04:07
  Author: felixonmars
Revision: 1316471

upgpkg: postgrest 10.0.0-1: rebuild with aeson 2.0.3.0, aeson-diff 1.1.0.11, 
bower-json 1.1.0.0, http2 3.0.3, hoauth2 2.1.0, jose 0.9, microlens-aeson 
2.4.0, postgresql-binary 0.12.5, postgrest 10.0.0, req 3.10.0, swagger2 2.8.1

Modified:
  postgrest/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++--------------------
 1 file changed, 18 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-29 16:03:58 UTC (rev 1316470)
+++ PKGBUILD    2022-09-29 16:04:07 UTC (rev 1316471)
@@ -2,35 +2,33 @@
 # Contributor: Arch Haskell Team <[email protected]>
 
 pkgname=postgrest
-pkgver=9.0.1
-pkgrel=55
+pkgver=10.0.0
+pkgrel=1
 pkgdesc="REST API for any Postgres database"
 url="https://github.com/begriffs/postgrest";
 license=("MIT")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-base64-bytestring'
-         'haskell-case-insensitive' 'haskell-cassava' 'haskell-configurator-pg'
-         'haskell-contravariant-extras' 'haskell-cookie' 'haskell-either' 
'haskell-gitrev'
-         'haskell-hasql' 'haskell-hasql-dynamic-statements' 
'haskell-hasql-notifications'
-         'haskell-hasql-pool' 'haskell-hasql-transaction' 'haskell-heredoc' 
'haskell-http-types'
-         'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
-         'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 
'haskell-optparse-applicative'
-         'haskell-protolude' 'haskell-regex-tdfa' 'haskell-scientific' 
'haskell-swagger2'
-         'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' 
'haskell-wai-cors'
-         'haskell-wai-extra' 'haskell-auto-update' 'haskell-retry' 
'haskell-warp')
-makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 
'haskell-contravariant'
-             'haskell-doctest' 'haskell-hspec' 'haskell-hspec-wai' 
'haskell-hspec-wai-json'
-             'haskell-monad-control' 'haskell-pretty-simple' 
'haskell-transformers-base')
+depends=('ghc-libs' 'haskell-http' 'haskell-ranged-sets' 'haskell-aeson' 
'haskell-auto-update'
+         'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+         'haskell-configurator-pg' 'haskell-contravariant-extras' 
'haskell-cookie' 'haskell-either'
+         'haskell-gitrev' 'haskell-hasql' 'haskell-hasql-dynamic-statements'
+         'haskell-hasql-notifications' 'haskell-hasql-pool' 
'haskell-hasql-transaction'
+         'haskell-heredoc' 'haskell-http-types' 
'haskell-insert-ordered-containers'
+         'haskell-interpolatedstring-perl6' 'haskell-jose' 'haskell-lens' 
'haskell-lens-aeson'
+         'haskell-network' 'haskell-network-uri' 
'haskell-optparse-applicative' 'haskell-protolude'
+         'haskell-regex-tdfa' 'haskell-retry' 'haskell-scientific' 
'haskell-swagger2'
+         'haskell-unordered-containers' 'haskell-vault' 'haskell-vector' 
'haskell-wai'
+         'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-logger' 
'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-aeson-qq' 'haskell-async' 'haskell-doctest' 
'haskell-hspec'
+             'haskell-hspec-wai' 'haskell-hspec-wai-json' 
'haskell-monad-control'
+             'haskell-pretty-simple' 'haskell-transformers-base')
 checkdepends=('pifpaf' 'postgresql' 'procps-ng')
 
source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4')
+sha512sums=('c7a4d631b0cdd4bc79501433f21e4a4366bc496e8ae3e94fe5124defcf79cab07a937b51349972bfcb0759198af453e9239653f97eb16efad1afe251026e5f35')
 
 prepare() {
     cd $pkgname-$pkgver
-    uusi -u hasql -u hspec -u HTTP -u lens -u optparse-applicative 
$pkgname.cabal
-
-    # TODO: not a proper fix. probably newly added "column" should be shown too
-    sed -i 's/SQL.RowError i/SQL.RowError i _/' src/PostgREST/Error.hs
+    uusi -u hspec -u HTTP -u optparse-applicative $pkgname.cabal
 }
 
 build() {

Reply via email to