backports/uvicorn: enable

This commit is contained in:
Antoine Martin 2023-08-31 14:29:19 -04:00
parent 8aff9751a5
commit bdea75ee96

View file

@ -6,8 +6,7 @@ pkgrel=0
pkgdesc="Lightning-fast ASGI server" pkgdesc="Lightning-fast ASGI server"
url="https://www.uvicorn.org/" url="https://www.uvicorn.org/"
license="BSD-3-Clause" license="BSD-3-Clause"
#arch="noarch" arch="noarch"
# fix me
depends=" depends="
python3 python3
py3-asgiref py3-asgiref
@ -28,6 +27,7 @@ checkdepends="
py3-wsproto py3-wsproto
py3-yaml py3-yaml
" "
options="!check" # Missing dependency for tests
subpackages="$pkgname-pyc" subpackages="$pkgname-pyc"
source="https://github.com/encode/uvicorn/archive/$pkgver/uvicorn-$pkgver.tar.gz" source="https://github.com/encode/uvicorn/archive/$pkgver/uvicorn-$pkgver.tar.gz"
@ -38,7 +38,7 @@ esac
build() { build() {
gpep517 build-wheel \ gpep517 build-wheel \
--wheel-dir dist \ --wheel-dir .dist \
--output-fd 3 3>&1 >&2 --output-fd 3 3>&1 >&2
} }
@ -48,7 +48,7 @@ check() {
package() { package() {
python3 -m installer -d "$pkgdir" \ python3 -m installer -d "$pkgdir" \
dist/uvicorn-$pkgver-py3-none-any.whl .dist/uvicorn-$pkgver-py3-none-any.whl
} }
sha512sums=" sha512sums="