[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2020-08-05 Thread Felix Yan via arch-commits
Date: Wednesday, August 5, 2020 @ 17:04:00
  Author: felixonmars
Revision: 669664

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 669663, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  142 ++---
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-05 17:03:47 UTC (rev 669663)
+++ PKGBUILD2020-08-05 17:04:00 UTC (rev 669664)
@@ -1,71 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=7.0.1
-pkgrel=42
-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-ansi-wl-pprint'
- 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
- 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
- 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'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-parsec' 'haskell-protolude' '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-auto-update' 'haskell-retry' 'haskell-warp')
-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;)
-sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
-
-prepare() {
-cd $pkgname-$pkgver
-sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
-sed -i 's/< *1.5/<2/' $pkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI --ghc-option='-pie'
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1)
-createdb postgrest_test
-
-# TODO: user authentication issue?
-POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || warning 
"Tests failed"
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 669663, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-05 17:04:00 UTC (rev 669664)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=43
+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-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2020-08-04 Thread Felix Yan via arch-commits
Date: Tuesday, August 4, 2020 @ 16:17:02
  Author: felixonmars
Revision: 668929

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 668928, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  142 ++---
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-04 16:16:49 UTC (rev 668928)
+++ PKGBUILD2020-08-04 16:17:02 UTC (rev 668929)
@@ -1,71 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=7.0.1
-pkgrel=41
-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-ansi-wl-pprint'
- 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
- 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
- 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'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-parsec' 'haskell-protolude' '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-auto-update' 'haskell-retry' 'haskell-warp')
-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;)
-sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
-
-prepare() {
-cd $pkgname-$pkgver
-sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
-sed -i 's/< *1.5/<2/' $pkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI --ghc-option='-pie'
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1)
-createdb postgrest_test
-
-# TODO: user authentication issue?
-POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || warning 
"Tests failed"
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 668928, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-04 16:17:02 UTC (rev 668929)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=42
+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-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+  

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2020-08-04 Thread Felix Yan via arch-commits
Date: Tuesday, August 4, 2020 @ 07:51:54
  Author: felixonmars
Revision: 668724

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 668723, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  142 ++---
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-04 07:51:42 UTC (rev 668723)
+++ PKGBUILD2020-08-04 07:51:54 UTC (rev 668724)
@@ -1,71 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=7.0.1
-pkgrel=40
-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-ansi-wl-pprint'
- 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
- 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
- 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'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-parsec' 'haskell-protolude' '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-auto-update' 'haskell-retry' 'haskell-warp')
-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;)
-sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
-
-prepare() {
-cd $pkgname-$pkgver
-sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
-sed -i 's/< *1.5/<2/' $pkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI --ghc-option='-pie'
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1)
-createdb postgrest_test
-
-# TODO: user authentication issue?
-POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || warning 
"Tests failed"
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 668723, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-04 07:51:54 UTC (rev 668724)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=41
+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-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+  

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2020-08-03 Thread Felix Yan via arch-commits
Date: Monday, August 3, 2020 @ 15:21:35
  Author: felixonmars
Revision: 668413

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 668412, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  142 ++---
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-03 15:21:22 UTC (rev 668412)
+++ PKGBUILD2020-08-03 15:21:35 UTC (rev 668413)
@@ -1,71 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=7.0.1
-pkgrel=39
-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-ansi-wl-pprint'
- 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
- 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
- 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'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-parsec' 'haskell-protolude' '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-auto-update' 'haskell-retry' 'haskell-warp')
-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;)
-sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
-
-prepare() {
-cd $pkgname-$pkgver
-sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
-sed -i 's/< *1.5/<2/' $pkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI --ghc-option='-pie'
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1)
-createdb postgrest_test
-
-# TODO: user authentication issue?
-POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || warning 
"Tests failed"
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 668412, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-03 15:21:35 UTC (rev 668413)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=40
+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-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+   

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2020-08-02 Thread Felix Yan via arch-commits
Date: Sunday, August 2, 2020 @ 17:10:31
  Author: felixonmars
Revision: 667830

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 667829, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  142 ++---
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-08-02 17:10:16 UTC (rev 667829)
+++ PKGBUILD2020-08-02 17:10:31 UTC (rev 667830)
@@ -1,71 +0,0 @@
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=7.0.1
-pkgrel=38
-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-ansi-wl-pprint'
- 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
- 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
- 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'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-parsec' 'haskell-protolude' '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-auto-update' 'haskell-retry' 'haskell-warp')
-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;)
-sha512sums=('0e6270ff4762b444b4d3791ceea4bb468bc316c9d2103f9d355e2e6108bb4bb51b302499b68a5cfc4ff14f503bdd95985481f7fb6eb6dbb158f1f5350857cf1b')
-
-prepare() {
-cd $pkgname-$pkgver
-sed -i 's/5432/9824/' test/fixtures/dumpfixture.sh
-sed -i 's/< *1.5/<2/' $pkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI --ghc-option='-pie'
-runhaskell Setup build $MAKEFLAGS
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1)
-createdb postgrest_test
-
-# TODO: user authentication issue?
-POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test || warning 
"Tests failed"
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 667829, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-08-02 17:10:31 UTC (rev 667830)
@@ -0,0 +1,71 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=7.0.1
+pkgrel=39
+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-ansi-wl-pprint'
+ 'haskell-base64-bytestring' 'haskell-case-insensitive' 
'haskell-cassava'
+ 'haskell-configurator-pg' 'haskell-contravariant' 
'haskell-contravariant-extras'
+ 'haskell-cookie' 'haskell-either' 'haskell-gitrev' 'haskell-hasql' 
'haskell-hasql-pool'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+   

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-05-21 Thread Felix Yan via arch-commits
Date: Tuesday, May 22, 2018 @ 02:39:28
  Author: felixonmars
Revision: 326736

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 326735, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  144 ++---
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-22 02:39:02 UTC (rev 326735)
+++ PKGBUILD2018-05-22 02:39:28 UTC (rev 326736)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=140
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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-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')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-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() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 326735, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-22 02:39:28 UTC (rev 326736)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=141
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-05-21 Thread Felix Yan via arch-commits
Date: Monday, May 21, 2018 @ 09:49:34
  Author: felixonmars
Revision: 325993

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 325992, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  144 ++---
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-21 09:49:10 UTC (rev 325992)
+++ PKGBUILD2018-05-21 09:49:34 UTC (rev 325993)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=139
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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-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')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-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() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 325992, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-21 09:49:34 UTC (rev 325993)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=140
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-05-20 Thread Felix Yan via arch-commits
Date: Sunday, May 20, 2018 @ 14:44:32
  Author: felixonmars
Revision: 325363

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 325362, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  144 ++---
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-20 14:44:10 UTC (rev 325362)
+++ PKGBUILD2018-05-20 14:44:32 UTC (rev 325363)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=138
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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-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')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-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() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 325362, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-20 14:44:32 UTC (rev 325363)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=139
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-05-20 Thread Felix Yan via arch-commits
Date: Sunday, May 20, 2018 @ 13:10:46
  Author: felixonmars
Revision: 325267

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 325266, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  144 ++---
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-20 13:10:21 UTC (rev 325266)
+++ PKGBUILD2018-05-20 13:10:46 UTC (rev 325267)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=137
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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-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')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-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() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 325266, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-20 13:10:46 UTC (rev 325267)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=138
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-05-20 Thread Felix Yan via arch-commits
Date: Sunday, May 20, 2018 @ 07:35:02
  Author: felixonmars
Revision: 325168

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 325167, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  144 ++---
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-20 07:34:38 UTC (rev 325167)
+++ PKGBUILD2018-05-20 07:35:02 UTC (rev 325168)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=136
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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-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')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-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() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 325167, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-20 07:35:02 UTC (rev 325168)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=137
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-05-19 Thread Felix Yan via arch-commits
Date: Sunday, May 20, 2018 @ 05:17:47
  Author: felixonmars
Revision: 325027

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 325026, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  144 ++---
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-20 05:17:14 UTC (rev 325026)
+++ PKGBUILD2018-05-20 05:17:47 UTC (rev 325027)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=135
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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-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')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-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() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 325026, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-20 05:17:47 UTC (rev 325027)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=136
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-05-19 Thread Felix Yan via arch-commits
Date: Saturday, May 19, 2018 @ 16:07:37
  Author: felixonmars
Revision: 324696

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 324695, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  144 ++---
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-05-19 16:07:18 UTC (rev 324695)
+++ PKGBUILD2018-05-19 16:07:37 UTC (rev 324696)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=134
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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-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')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-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() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 324695, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-05-19 16:07:37 UTC (rev 324696)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=135
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 

[arch-commits] Commit in postgrest/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

2018-02-21 Thread Felix Yan via arch-commits
Date: Wednesday, February 21, 2018 @ 21:36:59
  Author: felixonmars
Revision: 296820

archrelease: copy trunk to community-staging-x86_64

Added:
  postgrest/repos/community-staging-x86_64/PKGBUILD
(from rev 296819, postgrest/trunk/PKGBUILD)
Deleted:
  postgrest/repos/community-staging-x86_64/PKGBUILD

--+
 PKGBUILD |  140 ++---
 1 file changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-02-21 21:36:38 UTC (rev 296819)
+++ PKGBUILD2018-02-21 21:36:59 UTC (rev 296820)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgname=postgrest
-pkgver=0.4.4.0
-pkgrel=50
-pkgdesc="REST API for any Postgres database"
-url="https://github.com/begriffs/postgrest;
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 
'haskell-text'
- 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
- 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
- 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
- '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')
-makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-wai'
- 'haskell-hspec-wai-json' 'haskell-hjsonschema')
-checkdepends=('pifpaf' 'postgresql' 'procps-ng')
-source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;)
-sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c')
-
-prepare() {
-sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--f-CI
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
-cd $pkgname-$pkgver
-
-eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432)
-createdb postgrest_test
-
-# TODO: it shouldn't take this long to finish
-# POSTGREST_TEST_CONNECTION=$(test/create_test_db 
"postgres://$USER@localhost" postgrest_test) runhaskell Setup test
-
-# Disabled: uses stack
-# test/io-tests.sh
-
-pifpaf_stop
-}
-
-package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 296819, 
postgrest/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-02-21 21:36:59 UTC (rev 296820)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=postgrest
+pkgver=0.4.4.0
+pkgrel=51
+pkgdesc="REST API for any Postgres database"
+url="https://github.com/begriffs/postgrest;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 
'haskell-text'
+ 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 
'haskell-aeson'
+ 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava'
+ 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 
'haskell-gitrev'
+ 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 
'haskell-http-types'
+ 'haskell-insert-ordered-containers' 
'haskell-interpolatedstring-perl6' 'haskell-jose'
+