Date: Monday, January 10, 2022 @ 15:04:41 Author: alucryd Revision: 1099320
upgpkg: hypercorn 0.13.1-1 Modified: hypercorn/trunk/PKGBUILD ----------+ PKGBUILD | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-10 15:00:10 UTC (rev 1099319) +++ PKGBUILD 2022-01-10 15:04:41 UTC (rev 1099320) @@ -1,7 +1,7 @@ # Maintainer: Maxime Gauduin <[email protected]> pkgname=hypercorn -pkgver=0.12.0 +pkgver=0.13.1 pkgrel=1 pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn' url=https://gitlab.com/pgjones/hypercorn @@ -17,8 +17,8 @@ ) makedepends=( git - python-setuptools - python-pyproject2setuppy + python-pip + python-poetry ) checkdepends=( python-distlib @@ -30,36 +30,29 @@ python-tox python-trio ) -optdepends=( - 'python-trio: trio support' -) -_tag=98f0ccacd4071425a78b20b492fd5c8bc217954d +optdepends=('python-trio: trio support') +_tag=da787f7b36e15ba302d6ee7f1247e10b6c822b4d 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 + poetry build --format wheel } check() { cd hypercorn - - tox -e py310 + # 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/ + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps hypercorn/dist/*.whl + install -Dm 644 hypercorn/LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/ } # vim: ts=2 sw=2 et:
