Date: Monday, October 24, 2022 @ 09:15:18 Author: alucryd Revision: 1334529
upgpkg: hypercorn 0.14.3-1 Modified: hypercorn/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-24 09:03:43 UTC (rev 1334528) +++ PKGBUILD 2022-10-24 09:15:18 UTC (rev 1334529) @@ -1,10 +1,10 @@ # Maintainer: Maxime Gauduin <[email protected]> pkgname=hypercorn -pkgver=0.13.2 -pkgrel=2 +pkgver=0.14.3 +pkgrel=1 pkgdesc='An ASGI Server based on Hyper libraries and inspired by Gunicorn' -url=https://gitlab.com/pgjones/hypercorn +url=https://github.com/pgjones/hypercorn arch=(any) license=(MIT) depends=( @@ -17,8 +17,9 @@ ) makedepends=( git - python-pip - python-poetry + python-build + python-installer + python-poetry-core ) checkdepends=( python-distlib @@ -31,8 +32,8 @@ python-trio ) optdepends=('python-trio: trio support') -_tag=0ff11ac1eab5e0190a8b45a44c03f6f116460e64 -source=(git+https://gitlab.com/pgjones/hypercorn.git#tag=${_tag}) +_tag=8c3fc86e7f48285d69b2f3ddc676b108d78d3f6e +source=(git+https://github.com/pgjones/hypercorn.git#tag=${_tag}) sha256sums=(SKIP) pkgver() { @@ -42,16 +43,16 @@ build() { cd hypercorn - poetry build --format wheel + python -m build --wheel --no-isolation } check() { cd hypercorn - # tox -e py310 + tox -e py310 } package() { - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps hypercorn/dist/*.whl + python -m installer --destdir="${pkgdir}" hypercorn/dist/*.whl install -Dm 644 hypercorn/LICENSE -t "${pkgdir}"/usr/share/licenses/hypercorn/ }
