[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, September 10, 2022 @ 16:42:24 Author: felixonmars Revision: 1299922 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1299921, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1299921, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-10 16:42:24 UTC (rev 1299922) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.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-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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, September 10, 2022 @ 03:48:14 Author: felixonmars Revision: 1298290 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1298289, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1298289, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-10 03:48:14 UTC (rev 1298290) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.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-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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, September 9, 2022 @ 17:48:49 Author: felixonmars Revision: 1297318 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1297317, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1297317, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-09 17:48:49 UTC (rev 1297318) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.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-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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, September 9, 2022 @ 09:36:16 Author: felixonmars Revision: 1297076 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1297075, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1297075, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-09 09:36:16 UTC (rev 1297076) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.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-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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, September 8, 2022 @ 12:33:34 Author: felixonmars Revision: 1296772 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1296771, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1296771, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-08 12:33:34 UTC (rev 1296772) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.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-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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, September 8, 2022 @ 10:04:36 Author: felixonmars Revision: 1296512 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1296511, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1296511, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-08 10:04:36 UTC (rev 1296512) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.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-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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, September 7, 2022 @ 12:59:15 Author: felixonmars Revision: 1296079 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1296078, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1296078, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-07 12:59:15 UTC (rev 1296079) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=37 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, September 6, 2022 @ 21:02:29 Author: felixonmars Revision: 1295083 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1295082, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1295082, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-06 21:02:29 UTC (rev 1295083) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=36 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, September 3, 2022 @ 12:20:19 Author: felixonmars Revision: 1291884 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1291883, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1291883, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-03 12:20:19 UTC (rev 1291884) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=35 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, September 2, 2022 @ 07:36:15 Author: felixonmars Revision: 1290617 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1290616, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1290616, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-02 07:36:15 UTC (rev 1290617) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=34 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, September 1, 2022 @ 09:59:59 Author: felixonmars Revision: 1290005 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1290004, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1290004, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-09-01 09:59:59 UTC (rev 1290005) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=33 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, August 31, 2022 @ 20:51:30 Author: felixonmars Revision: 1289487 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1289486, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1289486, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-31 20:51:30 UTC (rev 1289487) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=32 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, August 30, 2022 @ 19:46:05 Author: felixonmars Revision: 1288973 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1288972, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1288972, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-30 19:46:05 UTC (rev 1288973) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=31 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, August 30, 2022 @ 01:40:21 Author: felixonmars Revision: 1287501 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1287500, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1287500, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-30 01:40:21 UTC (rev 1287501) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=30 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, August 29, 2022 @ 18:57:19 Author: felixonmars Revision: 1285565 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1285564, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1285564, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-29 18:57:19 UTC (rev 1285565) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=29 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, August 29, 2022 @ 14:15:09 Author: felixonmars Revision: 1285227 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1285226, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1285226, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-29 14:15:09 UTC (rev 1285227) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=28 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, August 27, 2022 @ 11:18:23 Author: felixonmars Revision: 1284737 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1284736, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1284736, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-27 11:18:23 UTC (rev 1284737) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=27 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, August 26, 2022 @ 21:37:06 Author: felixonmars Revision: 1284457 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1284456, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1284456, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 21:37:06 UTC (rev 1284457) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=26 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, August 26, 2022 @ 18:41:01 Author: felixonmars Revision: 1283580 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1283579, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1283579, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 18:41:01 UTC (rev 1283580) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=25 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, August 26, 2022 @ 08:52:10 Author: felixonmars Revision: 1281383 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1281382, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1281382, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 08:52:10 UTC (rev 1281383) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=24 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, August 26, 2022 @ 07:38:03 Author: felixonmars Revision: 1281069 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1281068, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1281068, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-26 07:38:03 UTC (rev 1281069) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=23 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, August 25, 2022 @ 22:24:11 Author: felixonmars Revision: 1280648 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1280647, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1280647, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-25 22:24:11 UTC (rev 1280648) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=22 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, August 25, 2022 @ 21:45:09 Author: felixonmars Revision: 1280595 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1280594, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1280594, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-25 21:45:09 UTC (rev 1280595) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=21 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, August 25, 2022 @ 19:47:11 Author: felixonmars Revision: 1280169 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1280168, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1280168, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-25 19:47:11 UTC (rev 1280169) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=20 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, August 25, 2022 @ 13:26:13 Author: felixonmars Revision: 1278552 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1278551, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1278551, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-25 13:26:13 UTC (rev 1278552) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=19 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, August 24, 2022 @ 14:23:30 Author: felixonmars Revision: 1276406 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1276405, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1276405, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-24 14:23:30 UTC (rev 1276406) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=18 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, August 23, 2022 @ 17:23:32 Author: felixonmars Revision: 1275635 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1275634, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1275634, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-23 17:23:32 UTC (rev 1275635) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=17 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, August 23, 2022 @ 11:27:21 Author: felixonmars Revision: 1275131 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1275130, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1275130, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-23 11:27:21 UTC (rev 1275131) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=16 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, August 22, 2022 @ 10:02:52 Author: felixonmars Revision: 1274598 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1274597, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1274597, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-22 10:02:52 UTC (rev 1274598) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=15 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, August 22, 2022 @ 06:06:34 Author: felixonmars Revision: 1274366 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1274365, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1274365, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-22 06:06:34 UTC (rev 1274366) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=14 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, August 21, 2022 @ 21:54:32 Author: felixonmars Revision: 1274088 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1274087, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1274087, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-21 21:54:32 UTC (rev 1274088) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=13 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, August 21, 2022 @ 19:31:43 Author: felixonmars Revision: 1273521 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1273520, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1273520, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-21 19:31:43 UTC (rev 1273521) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=12 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, August 21, 2022 @ 09:07:42 Author: felixonmars Revision: 1272043 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1272042, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1272042, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-21 09:07:42 UTC (rev 1272043) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=11 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, August 19, 2022 @ 10:51:07 Author: felixonmars Revision: 1269996 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1269995, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1269995, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-19 10:51:07 UTC (rev 1269996) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=10 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, August 18, 2022 @ 16:53:13 Author: felixonmars Revision: 1267729 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1267728, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1267728, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-18 16:53:13 UTC (rev 1267729) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=9 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, August 15, 2022 @ 21:43:57 Author: felixonmars Revision: 1266425 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1266424, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1266424, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-15 21:43:57 UTC (rev 1266425) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=8 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, August 15, 2022 @ 17:46:34 Author: felixonmars Revision: 1266200 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1266199, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1266199, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-15 17:46:34 UTC (rev 1266200) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=7 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, August 12, 2022 @ 17:36:58 Author: felixonmars Revision: 1265596 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1265595, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1265595, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-12 17:36:58 UTC (rev 1265596) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=6 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, August 12, 2022 @ 15:51:45 Author: felixonmars Revision: 1265383 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1265382, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1265382, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-12 15:51:45 UTC (rev 1265383) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=4 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, August 10, 2022 @ 19:22:34 Author: felixonmars Revision: 1265092 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1265091, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1265091, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-10 19:22:34 UTC (rev 1265092) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=3 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, August 9, 2022 @ 19:04:07 Author: felixonmars Revision: 1264514 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1264513, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1264513, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-08-09 19:04:07 UTC (rev 1264514) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=9.0.1 +pkgrel=2 +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') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('caa50771e935f7618d6dd5694f9d0b079a5d6f2463b3dc7fa1f408fdb4a5171ac4928fdc98e40564ae165f4030b099a2cbd86079b49ef7bee62b0d7da52101c4') + +prepare() { +cd $pkgname-$pkgver +uusi -u hasql -u hspec -u HTTP -u lens $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 +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, June 12, 2022 @ 17:19:38 Author: felixonmars Revision: 1237109 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1237108, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1237108, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-12 17:19:38 UTC (rev 1237109) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=222 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, June 12, 2022 @ 06:46:05 Author: felixonmars Revision: 1236115 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1236114, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1236114, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-12 06:46:05 UTC (rev 1236115) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=221 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, June 11, 2022 @ 14:54:23 Author: felixonmars Revision: 1233830 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1233828, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1233828, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-11 14:54:23 UTC (rev 1233830) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=220 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, June 11, 2022 @ 08:06:45 Author: felixonmars Revision: 1232169 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1232168, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1232168, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-11 08:06:45 UTC (rev 1232169) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=219 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, June 10, 2022 @ 09:53:47 Author: felixonmars Revision: 1229958 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229957, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229957, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-10 09:53:47 UTC (rev 1229958) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=218 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 9, 2022 @ 20:01:46 Author: felixonmars Revision: 1229748 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229747, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229747, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-09 20:01:46 UTC (rev 1229748) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=217 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 9, 2022 @ 13:00:22 Author: felixonmars Revision: 1229634 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229633, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229633, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-09 13:00:22 UTC (rev 1229634) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=216 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 9, 2022 @ 10:11:53 Author: felixonmars Revision: 1229548 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229547, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229547, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-09 10:11:53 UTC (rev 1229548) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=215 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 9, 2022 @ 08:17:07 Author: felixonmars Revision: 1229463 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229462, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229462, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-09 08:17:07 UTC (rev 1229463) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=214 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, June 8, 2022 @ 08:43:27 Author: felixonmars Revision: 1229047 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229045, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1229045, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-08 08:43:27 UTC (rev 1229047) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=213 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, June 8, 2022 @ 07:24:05 Author: felixonmars Revision: 1228803 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228802, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228802, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-08 07:24:05 UTC (rev 1228803) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=212 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, June 8, 2022 @ 05:19:35 Author: felixonmars Revision: 1228693 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228692, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228692, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-08 05:19:35 UTC (rev 1228693) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=211 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, June 7, 2022 @ 16:24:21 Author: felixonmars Revision: 1228515 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228514, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228514, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-07 16:24:21 UTC (rev 1228515) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=210 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, June 7, 2022 @ 08:32:08 Author: felixonmars Revision: 1228035 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228034, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1228034, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-07 08:32:08 UTC (rev 1228035) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=209 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, June 7, 2022 @ 05:16:58 Author: felixonmars Revision: 1227236 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1227235, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1227235, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-07 05:16:58 UTC (rev 1227236) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=208 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hasql-pool -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, June 6, 2022 @ 15:54:04 Author: felixonmars Revision: 1226791 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1226790, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1226790, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-06 15:54:04 UTC (rev 1226791) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=206 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, June 6, 2022 @ 13:03:09 Author: felixonmars Revision: 1226340 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1226339, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1226339, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-06 13:03:09 UTC (rev 1226340) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=205 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, June 6, 2022 @ 09:02:37 Author: felixonmars Revision: 1224711 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1224710, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1224710, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-06 09:02:37 UTC (rev 1224711) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=204 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, June 4, 2022 @ 20:19:19 Author: felixonmars Revision: 1222416 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1222415, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1222415, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-04 20:19:19 UTC (rev 1222416) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=203 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, June 3, 2022 @ 13:10:31 Author: felixonmars Revision: 1220673 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1220672, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1220672, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-03 13:10:31 UTC (rev 1220673) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=202 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 2, 2022 @ 18:27:00 Author: felixonmars Revision: 1218920 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1218919, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1218919, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-02 18:27:00 UTC (rev 1218920) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=201 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 2, 2022 @ 03:59:18 Author: felixonmars Revision: 1218441 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1218440, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1218440, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-06-02 03:59:18 UTC (rev 1218441) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=200 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 31, 2022 @ 08:11:25 Author: felixonmars Revision: 1217045 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1217044, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1217044, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-31 08:11:25 UTC (rev 1217045) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=199 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, May 29, 2022 @ 05:22:34 Author: felixonmars Revision: 1213852 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1213851, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1213851, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-29 05:22:34 UTC (rev 1213852) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=198 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, May 29, 2022 @ 03:03:31 Author: felixonmars Revision: 1213682 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1213681, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1213681, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-29 03:03:31 UTC (rev 1213682) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=197 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 28, 2022 @ 20:56:53 Author: felixonmars Revision: 1212854 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1212853, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1212853, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-28 20:56:53 UTC (rev 1212854) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=196 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 27, 2022 @ 17:07:37 Author: felixonmars Revision: 1210821 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1210820, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1210820, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-27 17:07:37 UTC (rev 1210821) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=195 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 26, 2022 @ 14:27:03 Author: felixonmars Revision: 1210516 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1210515, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1210515, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-26 14:27:03 UTC (rev 1210516) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=194 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 21, 2022 @ 16:13:44 Author: felixonmars Revision: 1209753 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1209752, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1209752, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-21 16:13:44 UTC (rev 1209753) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=193 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 18, 2022 @ 15:55:34 Author: felixonmars Revision: 1208710 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1208709, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1208709, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-18 15:55:34 UTC (rev 1208710) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=192 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 18, 2022 @ 12:22:21 Author: felixonmars Revision: 1207835 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1207834, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1207834, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-18 12:22:21 UTC (rev 1207835) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=191 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, May 15, 2022 @ 07:03:31 Author: felixonmars Revision: 1207217 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1207216, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1207216, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-15 07:03:31 UTC (rev 1207217) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=190 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 14, 2022 @ 16:20:28 Author: felixonmars Revision: 1205355 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1205354, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1205354, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-14 16:20:28 UTC (rev 1205355) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=188 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 14, 2022 @ 10:21:51 Author: felixonmars Revision: 1203518 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1203517, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1203517, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-14 10:21:51 UTC (rev 1203518) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=187 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 14, 2022 @ 04:20:02 Author: felixonmars Revision: 1203219 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1203218, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1203218, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-14 04:20:02 UTC (rev 1203219) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=186 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 14, 2022 @ 02:07:38 Author: felixonmars Revision: 1203093 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1203092, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1203092, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-14 02:07:38 UTC (rev 1203093) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=185 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 13, 2022 @ 12:11:31 Author: felixonmars Revision: 1201916 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1201915, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1201915, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-13 12:11:31 UTC (rev 1201916) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=183 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 13, 2022 @ 04:03:41 Author: felixonmars Revision: 1200077 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1200076, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1200076, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-13 04:03:41 UTC (rev 1200077) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=182 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 12, 2022 @ 14:52:33 Author: felixonmars Revision: 1199658 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1199657, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1199657, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-12 14:52:33 UTC (rev 1199658) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=181 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 12, 2022 @ 11:10:21 Author: felixonmars Revision: 1199162 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1199161, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1199161, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-12 11:10:21 UTC (rev 1199162) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=180 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 10, 2022 @ 14:34:54 Author: felixonmars Revision: 1197998 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1197997, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1197997, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-10 14:34:54 UTC (rev 1197998) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=179 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 10, 2022 @ 09:06:08 Author: felixonmars Revision: 1197400 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1197399, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1197399, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-10 09:06:08 UTC (rev 1197400) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=178 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 10, 2022 @ 06:31:34 Author: felixonmars Revision: 1196691 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1196690, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1196690, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-10 06:31:34 UTC (rev 1196691) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=177 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 10, 2022 @ 05:09:36 Author: felixonmars Revision: 1196611 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1196610, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1196610, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-10 05:09:36 UTC (rev 1196611) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=176 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 10, 2022 @ 01:51:39 Author: felixonmars Revision: 1196507 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1196506, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1196506, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-10 01:51:39 UTC (rev 1196507) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=175 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 6, 2022 @ 00:14:38 Author: felixonmars Revision: 1195743 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1195742, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1195742, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-06 00:14:38 UTC (rev 1195743) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=174 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 4, 2022 @ 21:29:35 Author: felixonmars Revision: 1194583 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1194582, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1194582, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-04 21:29:35 UTC (rev 1194583) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=173 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, April 28, 2022 @ 00:55:27 Author: felixonmars Revision: 1191400 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1191399, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1191399, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-28 00:55:27 UTC (rev 1191400) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=172 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, April 26, 2022 @ 01:02:02 Author: felixonmars Revision: 1190137 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1190136, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 73 + 1 file changed, 73 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1190136, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-26 01:02:02 UTC (rev 1190137) @@ -0,0 +1,73 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=171 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +# https://github.com/PostgREST/postgrest/issues/1857 +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct || echo "Tests failed" + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, April 10, 2022 @ 12:59:43 Author: felixonmars Revision: 1184949 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1184948, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1184948, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-10 12:59:43 UTC (rev 1184949) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=170 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, April 6, 2022 @ 23:26:45 Author: felixonmars Revision: 1182400 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1182399, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1182399, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-06 23:26:45 UTC (rev 1182400) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=169 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, April 1, 2022 @ 12:45:05 Author: felixonmars Revision: 1179744 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1179743, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1179743, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-04-01 12:45:05 UTC (rev 1179744) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=168 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, March 29, 2022 @ 23:48:31 Author: felixonmars Revision: 1177718 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1177717, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1177717, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-29 23:48:31 UTC (rev 1177718) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=167 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, March 29, 2022 @ 09:10:56 Author: felixonmars Revision: 1177617 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1177616, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1177616, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-29 09:10:56 UTC (rev 1177617) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=166 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, March 27, 2022 @ 03:29:13 Author: felixonmars Revision: 1177140 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1177139, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1177139, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-27 03:29:13 UTC (rev 1177140) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=165 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, March 26, 2022 @ 19:13:11 Author: felixonmars Revision: 1176963 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176962, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176962, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-26 19:13:11 UTC (rev 1176963) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=164 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, March 25, 2022 @ 21:17:58 Author: felixonmars Revision: 1176707 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176706, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176706, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-25 21:17:58 UTC (rev 1176707) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=163 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, March 25, 2022 @ 21:08:16 Author: felixonmars Revision: 1176693 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176692, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176692, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-25 21:08:16 UTC (rev 1176693) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=162 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, March 24, 2022 @ 23:45:34 Author: felixonmars Revision: 1176095 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176094, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 1176094, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-03-24 23:45:34 UTC (rev 1176095) @@ -0,0 +1,72 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=8.0.0 +pkgrel=161 +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-fast-logger' '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-wai-logger' 'haskell-wai-middleware-static' + 'haskell-auto-update' 'haskell-retry' 'haskell-warp') +makedepends=('ghc' 'uusi' '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=("https://github.com/begriffs/postgrest/archive/v$pkgver/$pkgname-$pkgver.tar.gz";) +sha512sums=('ae3f004d3042e236ffd3870c980cdfbb615a3de5433bd917816e8c0e719edb0bfcba763bb3c920dad64461410374231a6ab7710d48b310cdc30d5dd6f1f58337') + +prepare() { +cd $pkgname-$pkgver +uusi -u base -u hasql -u hspec -u HTTP -u lens -u retry $pkgname.cabal + +# TODO: not a proper fix. probably newly added "column" should be shown too +sed -i 's/H.RowError i/H.RowError i _/' src/PostgREST/Error.hs +} + +build() { +cd $pkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ +-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) +createuser -s postgrest_test +POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test --show-details=direct + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd $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 +}