Date: Thursday, December 2, 2021 @ 03:11:52 Author: foutrelis Revision: 1061561
archrelease: copy trunk to community-staging-any Added: hypercorn/repos/community-staging-any/PKGBUILD (from rev 1061560, hypercorn/trunk/PKGBUILD) Deleted: hypercorn/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 129 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 64 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-02 03:11:46 UTC (rev 1061560) +++ PKGBUILD 2021-12-02 03:11:52 UTC (rev 1061561) @@ -1,64 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=hypercorn -pkgver=0.11.2 -pkgrel=2 -pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn' -url=https://gitlab.com/pgjones/hypercorn -arch=(any) -license=(MIT) -depends=( - python-h11 - python-h2 - python-priority - python-toml - python-typing_extensions - python-wsproto -) -makedepends=( - git - python-setuptools -) -checkdepends=( - python-distlib - python-hypothesis - python-pytest - python-pytest-asyncio - python-pytest-sugar - python-pytest-trio - python-tox - python-trio -) -optdepends=( - 'python-trio: trio support' -) -_tag=6ab2ab9f187526d5da5c2a12220d7abfc7573d0b -source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag}) -sha256sums=(SKIP) - -pkgver() { - cd hypercorn - - git describe --tags -} - -build() { - cd hypercorn - - python setup.py build -} - -check() { - cd hypercorn - - tox -e py310 -} - -package() { - cd hypercorn - - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/ -} - -# vim: ts=2 sw=2 et: Copied: hypercorn/repos/community-staging-any/PKGBUILD (from rev 1061560, hypercorn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-02 03:11:52 UTC (rev 1061561) @@ -0,0 +1,65 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=hypercorn +pkgver=0.12.0 +pkgrel=1 +pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn' +url=https://gitlab.com/pgjones/hypercorn +arch=(any) +license=(MIT) +depends=( + python-h11 + python-h2 + python-priority + python-toml + python-typing_extensions + python-wsproto +) +makedepends=( + git + python-setuptools + python-pyproject2setuppy +) +checkdepends=( + python-distlib + python-hypothesis + python-pytest + python-pytest-asyncio + python-pytest-sugar + python-pytest-trio + python-tox + python-trio +) +optdepends=( + 'python-trio: trio support' +) +_tag=98f0ccacd4071425a78b20b492fd5c8bc217954d +source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag}) +sha256sums=(SKIP) + +pkgver() { + cd hypercorn + + git describe --tags +} + +build() { + cd hypercorn + + python -m pyproject2setuppy.main build +} + +check() { + cd hypercorn + + tox -e py310 +} + +package() { + cd hypercorn + + python -m pyproject2setuppy.main install --prefix=/usr --root="$pkgdir" --optimize=1 + install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/ +} + +# vim: ts=2 sw=2 et: