[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, July 14, 2018 @ 15:15:14 Author: felixonmars Revision: 359158 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 359157, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 359157, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-14 15:15:14 UTC (rev 359158) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, July 13, 2018 @ 17:43:02 Author: felixonmars Revision: 358688 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 358687, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 358687, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-13 17:43:02 UTC (rev 358688) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, July 13, 2018 @ 09:45:35 Author: felixonmars Revision: 358511 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 358510, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 358510, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-13 09:45:35 UTC (rev 358511) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, July 12, 2018 @ 21:04:24 Author: felixonmars Revision: 358222 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 358221, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 358221, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-12 21:04:24 UTC (rev 358222) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, July 12, 2018 @ 09:36:54 Author: felixonmars Revision: 357629 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 357628, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 357628, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-12 09:36:54 UTC (rev 357629) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, July 11, 2018 @ 00:15:36 Author: felixonmars Revision: 356637 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 356636, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 356636, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-11 00:15:36 UTC (rev 356637) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, July 9, 2018 @ 10:12:45 Author: felixonmars Revision: 355806 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 355805, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 355805, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-09 10:12:45 UTC (rev 355806) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, July 9, 2018 @ 00:19:19 Author: felixonmars Revision: 355514 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 355513, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 355513, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-09 00:19:19 UTC (rev 355514) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, July 8, 2018 @ 20:14:34 Author: felixonmars Revision: 355239 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 355238, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 355238, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 20:14:34 UTC (rev 355239) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, July 8, 2018 @ 15:13:48 Author: felixonmars Revision: 354976 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 354975, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 354975, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 15:13:48 UTC (rev 354976) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, July 7, 2018 @ 22:45:50 Author: felixonmars Revision: 354243 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 354242, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 354242, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-07 22:45:50 UTC (rev 354243) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, July 6, 2018 @ 09:04:39 Author: felixonmars Revision: 353471 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 353470, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 353470, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-06 09:04:39 UTC (rev 353471) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, July 5, 2018 @ 23:02:42 Author: felixonmars Revision: 353265 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 353264, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 353264, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-05 23:02:42 UTC (rev 353265) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, July 5, 2018 @ 18:32:10 Author: felixonmars Revision: 353050 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 353049, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 353049, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-05 18:32:10 UTC (rev 353050) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, July 5, 2018 @ 14:25:04 Author: felixonmars Revision: 352796 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352795, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352795, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-05 14:25:04 UTC (rev 352796) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=189 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, July 5, 2018 @ 10:30:06 Author: felixonmars Revision: 352678 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352677, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352677, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-05 10:30:06 UTC (rev 352678) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, July 5, 2018 @ 09:34:51 Author: felixonmars Revision: 352583 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352582, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352582, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-05 09:34:51 UTC (rev 352583) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, July 4, 2018 @ 22:01:50 Author: felixonmars Revision: 352239 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352238, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 352238, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-04 22:01:50 UTC (rev 352239) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, July 4, 2018 @ 15:15:45 Author: felixonmars Revision: 351817 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351816, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351816, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-04 15:15:45 UTC (rev 351817) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, July 4, 2018 @ 11:49:55 Author: felixonmars Revision: 351729 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351728, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351728, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-04 11:49:55 UTC (rev 351729) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=184 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, July 3, 2018 @ 18:29:12 Author: felixonmars Revision: 351507 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351506, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351506, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-03 18:29:12 UTC (rev 351507) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, July 3, 2018 @ 17:11:12 Author: felixonmars Revision: 351407 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351406, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351406, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-03 17:11:12 UTC (rev 351407) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, July 3, 2018 @ 14:29:47 Author: felixonmars Revision: 351022 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351021, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 351021, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-03 14:29:47 UTC (rev 351022) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, July 2, 2018 @ 20:36:17 Author: felixonmars Revision: 350276 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 350275, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 350275, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-02 20:36:17 UTC (rev 350276) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, July 2, 2018 @ 18:28:34 Author: felixonmars Revision: 350129 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 350128, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 350128, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-02 18:28:34 UTC (rev 350129) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, July 2, 2018 @ 16:29:18 Author: felixonmars Revision: 349916 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 349915, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 349915, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-02 16:29:18 UTC (rev 349916) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, July 2, 2018 @ 10:15:25 Author: felixonmars Revision: 349473 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 349472, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 349472, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-02 10:15:25 UTC (rev 349473) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, June 30, 2018 @ 16:25:50 Author: felixonmars Revision: 348436 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 348435, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 348435, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-30 16:25:50 UTC (rev 348436) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, June 30, 2018 @ 12:45:19 Author: felixonmars Revision: 348038 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 348037, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 348037, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-30 12:45:19 UTC (rev 348038) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 28, 2018 @ 18:03:38 Author: felixonmars Revision: 347168 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 347167, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 347167, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-28 18:03:38 UTC (rev 347168) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, June 27, 2018 @ 15:45:22 Author: felixonmars Revision: 346436 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 346435, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 346435, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-27 15:45:22 UTC (rev 346436) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, June 25, 2018 @ 18:08:20 Author: felixonmars Revision: 345980 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 345979, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 345979, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-25 18:08:20 UTC (rev 345980) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, June 25, 2018 @ 07:28:33 Author: felixonmars Revision: 345523 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 345522, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 345522, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-25 07:28:33 UTC (rev 345523) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, June 23, 2018 @ 06:11:39 Author: felixonmars Revision: 344794 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344793, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344793, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-23 06:11:39 UTC (rev 344794) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, June 22, 2018 @ 14:01:13 Author: felixonmars Revision: 344613 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344612, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344612, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-22 14:01:13 UTC (rev 344613) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, June 22, 2018 @ 11:58:06 Author: felixonmars Revision: 344500 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344499, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344499, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-22 11:58:06 UTC (rev 344500) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, June 19, 2018 @ 17:09:03 Author: felixonmars Revision: 344127 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344126, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 344126, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-19 17:09:03 UTC (rev 344127) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, June 18, 2018 @ 10:00:20 Author: felixonmars Revision: 343827 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 343826, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 343826, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-18 10:00:20 UTC (rev 343827) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 14, 2018 @ 18:34:07 Author: felixonmars Revision: 343172 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 343171, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 343171, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-14 18:34:07 UTC (rev 343172) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, June 12, 2018 @ 22:04:18 Author: felixonmars Revision: 342784 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 342783, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 342783, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-12 22:04:18 UTC (rev 342784) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, June 12, 2018 @ 18:35:04 Author: felixonmars Revision: 342627 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 342626, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 342626, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-12 18:35:04 UTC (rev 342627) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, June 10, 2018 @ 17:09:48 Author: felixonmars Revision: 342265 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 342264, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 342264, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-10 17:09:48 UTC (rev 342265) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 7, 2018 @ 11:54:03 Author: felixonmars Revision: 341789 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 341788, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 341788, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-07 11:54:03 UTC (rev 341789) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.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-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, June 7, 2018 @ 10:23:37 Author: felixonmars Revision: 341741 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 341740, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 341740, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-07 10:23:37 UTC (rev 341741) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=160 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, June 6, 2018 @ 17:09:11 Author: felixonmars Revision: 341386 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 341385, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 341385, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-06 17:09:11 UTC (rev 341386) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=159 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, June 6, 2018 @ 09:15:14 Author: felixonmars Revision: 340985 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 340983, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 340983, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-06 09:15:14 UTC (rev 340985) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=158 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, June 3, 2018 @ 15:11:16 Author: felixonmars Revision: 339161 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 339160, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 339160, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-03 15:11:16 UTC (rev 339161) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=157 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, June 2, 2018 @ 19:08:13 Author: felixonmars Revision: 338065 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 338064, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 338064, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-02 19:08:13 UTC (rev 338065) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=156 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, June 1, 2018 @ 16:15:32 Author: felixonmars Revision: 336235 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 336234, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 336234, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-01 16:15:32 UTC (rev 336235) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=155 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 31, 2018 @ 09:33:46 Author: felixonmars Revision: 334694 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 334693, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 334693, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-31 09:33:46 UTC (rev 334694) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=154 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 31, 2018 @ 06:26:19 Author: felixonmars Revision: 334225 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 334224, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 334224, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-31 06:26:19 UTC (rev 334225) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=153 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 30, 2018 @ 07:44:28 Author: felixonmars Revision: 25 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 24, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 24, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-30 07:44:28 UTC (rev 25) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=152 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, May 28, 2018 @ 14:38:24 Author: felixonmars Revision: 332703 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 332702, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 332702, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-28 14:38:24 UTC (rev 332703) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=151 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, May 27, 2018 @ 19:25:22 Author: felixonmars Revision: 332082 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 332081, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 332081, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-27 19:25:22 UTC (rev 332082) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=150 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, May 27, 2018 @ 15:01:39 Author: felixonmars Revision: 331889 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 331888, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 331888, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-27 15:01:39 UTC (rev 331889) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=149 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, May 27, 2018 @ 07:49:16 Author: felixonmars Revision: 331421 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 331420, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 331420, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-27 07:49:16 UTC (rev 331421) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=148 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 26, 2018 @ 04:48:55 Author: felixonmars Revision: 329678 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 329677, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 329677, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-26 04:48:55 UTC (rev 329678) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=147 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 24, 2018 @ 16:00:24 Author: felixonmars Revision: 328804 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328803, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328803, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-24 16:00:24 UTC (rev 328804) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=146 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 24, 2018 @ 10:52:50 Author: felixonmars Revision: 328543 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328542, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328542, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-24 10:52:50 UTC (rev 328543) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=145 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 23, 2018 @ 17:24:54 Author: felixonmars Revision: 328388 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328387, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328387, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-23 17:24:54 UTC (rev 328388) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=144 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 23, 2018 @ 09:57:41 Author: felixonmars Revision: 328175 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328174, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 328174, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-23 09:57:41 UTC (rev 328175) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=143 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 22, 2018 @ 18:26:09 Author: felixonmars Revision: 327742 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 327741, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 327741, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-22 18:26:09 UTC (rev 327742) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=142 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 18, 2018 @ 07:09:08 Author: felixonmars Revision: 324252 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 324251, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 324251, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-18 07:09:08 UTC (rev 324252) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=134 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 16, 2018 @ 10:13:12 Author: felixonmars Revision: 322687 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322686, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322686, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-16 10:13:12 UTC (rev 322687) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=133 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, May 16, 2018 @ 08:52:44 Author: felixonmars Revision: 322616 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322615, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322615, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-16 08:52:44 UTC (rev 322616) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=132 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 15, 2018 @ 09:35:49 Author: felixonmars Revision: 322443 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322442, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322442, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-15 09:35:49 UTC (rev 322443) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=131 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 15, 2018 @ 06:11:25 Author: felixonmars Revision: 322307 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322306, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322306, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-15 06:11:25 UTC (rev 322307) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=130 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, May 14, 2018 @ 11:49:05 Author: felixonmars Revision: 322116 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322115, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 322115, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-14 11:49:05 UTC (rev 322116) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=129 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, May 14, 2018 @ 09:59:07 Author: felixonmars Revision: 321999 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321998, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321998, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-14 09:59:07 UTC (rev 321999) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=128 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, May 14, 2018 @ 08:04:16 Author: felixonmars Revision: 321839 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321838, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321838, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-14 08:04:16 UTC (rev 321839) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=127 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 12, 2018 @ 21:43:35 Author: felixonmars Revision: 321430 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321429, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321429, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-12 21:43:35 UTC (rev 321430) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=126 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, May 12, 2018 @ 18:52:42 Author: felixonmars Revision: 321200 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321199, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 321199, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-12 18:52:42 UTC (rev 321200) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=125 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 11, 2018 @ 18:17:24 Author: felixonmars Revision: 320871 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320870, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320870, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-11 18:17:24 UTC (rev 320871) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=124 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 11, 2018 @ 11:29:09 Author: felixonmars Revision: 320715 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320714, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320714, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-11 11:29:09 UTC (rev 320715) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=123 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, May 11, 2018 @ 07:30:55 Author: felixonmars Revision: 320561 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320560, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320560, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-11 07:30:55 UTC (rev 320561) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=122 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, May 10, 2018 @ 10:32:01 Author: felixonmars Revision: 320171 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320170, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 320170, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-10 10:32:01 UTC (rev 320171) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=121 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, May 8, 2018 @ 16:42:18 Author: felixonmars Revision: 319678 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 319677, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 319677, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-08 16:42:18 UTC (rev 319678) @@ -0,0 +1,72 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=120 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-scientific' + 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' 'haskell-wai' + 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal + +sed -i '/import\s*Safe/d' $pkgname-$pkgver/src/PostgREST/App.hs +sed -i '/safe/d' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, May 7, 2018 @ 20:40:36 Author: felixonmars Revision: 319412 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 319411, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 319411, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-07 20:40:36 UTC (rev 319412) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=119 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, April 25, 2018 @ 12:43:58 Author: felixonmars Revision: 318001 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 318000, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 318000, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-25 12:43:58 UTC (rev 318001) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=118 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, April 25, 2018 @ 07:46:02 Author: felixonmars Revision: 317816 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 317815, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 317815, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-25 07:46:02 UTC (rev 317816) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=117 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, April 17, 2018 @ 13:22:20 Author: felixonmars Revision: 316675 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 316674, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 316674, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-17 13:22:20 UTC (rev 316675) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=116 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, April 12, 2018 @ 05:50:43 Author: felixonmars Revision: 315910 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315909, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315909, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-12 05:50:43 UTC (rev 315910) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=115 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, April 10, 2018 @ 17:02:55 Author: felixonmars Revision: 315615 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315614, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315614, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-10 17:02:55 UTC (rev 315615) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=114 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Tuesday, April 10, 2018 @ 06:20:04 Author: felixonmars Revision: 315526 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315525, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315525, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-10 06:20:04 UTC (rev 315526) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=113 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, April 9, 2018 @ 07:43:08 Author: felixonmars Revision: 315400 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315399, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315399, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-09 07:43:08 UTC (rev 315400) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=112 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Monday, April 9, 2018 @ 06:12:19 Author: felixonmars Revision: 315388 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315387, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315387, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-09 06:12:19 UTC (rev 315388) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=111 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, April 8, 2018 @ 18:47:30 Author: felixonmars Revision: 315172 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315171, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315171, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-08 18:47:30 UTC (rev 315172) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=110 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, April 8, 2018 @ 12:40:22 Author: felixonmars Revision: 315054 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315053, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 315053, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-08 12:40:22 UTC (rev 315054) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=109 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, April 7, 2018 @ 08:39:32 Author: felixonmars Revision: 314791 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 314790, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 314790, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-07 08:39:32 UTC (rev 314791) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=108 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, April 4, 2018 @ 19:30:01 Author: felixonmars Revision: 314245 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 314244, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 314244, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-04 19:30:01 UTC (rev 314245) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=107 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, March 30, 2018 @ 11:23:41 Author: felixonmars Revision: 313529 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 313528, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 313528, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-30 11:23:41 UTC (rev 313529) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=106 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Sunday, March 25, 2018 @ 06:48:41 Author: felixonmars Revision: 312254 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 312253, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 312253, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-25 06:48:41 UTC (rev 312254) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=105 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Saturday, March 24, 2018 @ 04:17:52 Author: felixonmars Revision: 311721 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311720, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311720, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-24 04:17:52 UTC (rev 311721) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=104 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, March 23, 2018 @ 16:33:26 Author: felixonmars Revision: 311480 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311479, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311479, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-23 16:33:26 UTC (rev 311480) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=103 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, March 23, 2018 @ 08:07:52 Author: felixonmars Revision: 311224 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311223, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311223, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-23 08:07:52 UTC (rev 311224) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=102 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Friday, March 23, 2018 @ 07:14:22 Author: felixonmars Revision: 311193 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311192, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311192, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-23 07:14:22 UTC (rev 311193) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=101 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, March 22, 2018 @ 23:59:00 Author: felixonmars Revision: 311106 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311105, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 311105, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-22 23:59:00 UTC (rev 311106) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=100 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, March 22, 2018 @ 21:17:24 Author: felixonmars Revision: 310870 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 310869, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 310869, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-22 21:17:24 UTC (rev 310870) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=99 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Thursday, March 22, 2018 @ 12:03:32 Author: felixonmars Revision: 310492 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 310491, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 310491, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-22 12:03:32 UTC (rev 310492) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=98 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}
[arch-commits] Commit in postgrest/repos (2 files)
Date: Wednesday, March 21, 2018 @ 17:54:01 Author: felixonmars Revision: 310054 archrelease: copy trunk to community-staging-x86_64 Added: postgrest/repos/community-staging-x86_64/ postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 310053, postgrest/trunk/PKGBUILD) --+ PKGBUILD | 70 + 1 file changed, 70 insertions(+) Copied: postgrest/repos/community-staging-x86_64/PKGBUILD (from rev 310053, postgrest/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-03-21 17:54:01 UTC (rev 310054) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan+# Contributor: Arch Haskell Team + +pkgname=postgrest +pkgver=0.4.4.0 +pkgrel=97 +pkgdesc="REST API for any Postgres database" +url="https://github.com/begriffs/postgrest; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-hasql' 'haskell-hasql-pool' 'haskell-protolude' 'haskell-text' + 'haskell-warp' 'haskell-base64-bytestring' 'haskell-retry' 'haskell-aeson' + 'haskell-ansi-wl-pprint' 'haskell-case-insensitive' 'haskell-cassava' + 'haskell-configurator-ng' 'haskell-contravariant' 'haskell-either' 'haskell-gitrev' + 'haskell-hasql-transaction' 'haskell-heredoc' 'haskell-http' 'haskell-http-types' + 'haskell-insert-ordered-containers' 'haskell-interpolatedstring-perl6' 'haskell-jose' + 'haskell-lens' 'haskell-lens-aeson' 'haskell-network-uri' 'haskell-optparse-applicative' + 'haskell-parsec' 'haskell-ranged-sets' 'haskell-regex-tdfa' 'haskell-safe' + 'haskell-scientific' 'haskell-swagger2' 'haskell-unordered-containers' 'haskell-vector' + 'haskell-wai' 'haskell-wai-cors' 'haskell-wai-extra' 'haskell-wai-middleware-static' + 'haskell-cookie') +makedepends=('ghc' 'haskell-aeson-qq' 'haskell-async' 'haskell-hspec' 'haskell-hspec-wai' + 'haskell-hspec-wai-json' 'haskell-hjsonschema') +checkdepends=('pifpaf' 'postgresql' 'procps-ng') +source=("$pkgname-$pkgver.tar.bz2::https://github.com/begriffs/postgrest/archive/v$pkgver.tar.gz;) +sha512sums=('f19c426a59d1c77d8e7808ee248eba1967cc5fc8686f5380603e2f8ab80aeeca20a4b145e056feceb1bcb9dedfa3b88c2ace7aab4bc1152f780630360fe6485c') + +prepare() { +sed -i 's/==/>=/' $pkgname-$pkgver/$pkgname.cabal +} + +build() { +cd "${srcdir}/${pkgname}-${pkgver}" + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-CI +runhaskell Setup build +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $pkgname-$pkgver + +eval $(pifpaf run postgresql --host 127.0.0.1 --port 5432) +createdb postgrest_test + +# TODO: it shouldn't take this long to finish +# POSTGREST_TEST_CONNECTION=$(test/create_test_db "postgres://$USER@localhost" postgrest_test) runhaskell Setup test + +# Disabled: uses stack +# test/io-tests.sh + +pifpaf_stop +} + +package() { +cd "${srcdir}/${pkgname}-${pkgver}" + +install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" +install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh" +runhaskell Setup copy --destdir="${pkgdir}" +install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}