backports/uvicorn: enable
This commit is contained in:
parent
8aff9751a5
commit
bdea75ee96
1 changed files with 4 additions and 4 deletions
|
@ -6,8 +6,7 @@ pkgrel=0
|
|||
pkgdesc="Lightning-fast ASGI server"
|
||||
url="https://www.uvicorn.org/"
|
||||
license="BSD-3-Clause"
|
||||
#arch="noarch"
|
||||
# fix me
|
||||
arch="noarch"
|
||||
depends="
|
||||
python3
|
||||
py3-asgiref
|
||||
|
@ -28,6 +27,7 @@ checkdepends="
|
|||
py3-wsproto
|
||||
py3-yaml
|
||||
"
|
||||
options="!check" # Missing dependency for tests
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://github.com/encode/uvicorn/archive/$pkgver/uvicorn-$pkgver.tar.gz"
|
||||
|
||||
|
@ -38,7 +38,7 @@ esac
|
|||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ check() {
|
|||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/uvicorn-$pkgver-py3-none-any.whl
|
||||
.dist/uvicorn-$pkgver-py3-none-any.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
Loading…
Reference in a new issue