From be83876650afc2295d363b52e3d5b8c7d1de7688 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 24 Nov 2023 13:10:54 -0500 Subject: [PATCH] backports/py3-a2wsgi: upgrade to 1.8.0 --- backports/py3-a2wsgi/APKBUILD | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/backports/py3-a2wsgi/APKBUILD b/backports/py3-a2wsgi/APKBUILD index 8ea13e4..3c9dcd4 100644 --- a/backports/py3-a2wsgi/APKBUILD +++ b/backports/py3-a2wsgi/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Patrycja Rosa pkgname=py3-a2wsgi -pkgver=1.7.0 +pkgver=1.8.0 pkgrel=0 pkgdesc="Convert WSGI app to ASGI app or ASGI app to WSGI app" url="https://github.com/abersheeran/a2wsgi" @@ -10,9 +10,7 @@ depends="python3" makedepends="py3-gpep517 py3-pdm-backend py3-wheel" checkdepends="py3-pytest py3-httpx py3-pytest-asyncio" subpackages="$pkgname-pyc" -source="https://github.com/abersheeran/a2wsgi/archive/refs/tags/v$pkgver/a2wsgi-$pkgver.tar.gz - pdm-backend.patch - " +source="https://github.com/abersheeran/a2wsgi/archive/refs/tags/v$pkgver/a2wsgi-$pkgver.tar.gz" builddir="$srcdir/a2wsgi-$pkgver" case "$CARCH" in @@ -22,22 +20,21 @@ esac build() { gpep517 build-wheel \ - --wheel-dir dist \ + --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { - python3 -m venv --clear --without-pip --system-site-packages testenv - testenv/bin/python3 -m installer dist/*.whl - testenv/bin/python3 -m pytest + python3 -m venv --clear --without-pip --system-site-packages .testenv + .testenv/bin/python3 -m installer .dist/*.whl + .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ - dist/*.whl + .dist/*.whl } sha512sums=" -010776279c7f2ceaa580395c226788ea72e14726cde8e3adb8304e9bd887d55736c5985ebd8055dfd48a15632543497e10163040ba677ffeddbd3d2e02e24440 a2wsgi-1.7.0.tar.gz -bb60783941b7308a82a87b058c571067ad4c26f3b605e717c87dca9f52f9457a1e72ba9ca56556ea3fb63789cbdcca46a67bfadf2bd4873d713ffbcfd3190a9c pdm-backend.patch +0c3a45ea279e2c104a52a7b70780de7a055312e857b712b534020a2c9f43b62b5d60639b5ce721c5e3717f0315c58496134813772613135b22111905df10d5ad a2wsgi-1.8.0.tar.gz "