1 # Maintainer: Jelle van der Waa <jelle@archlinux.org>
6 pkgdesc="Reference ASGI adapters and channel layers"
8 url="http://github.com/django/asgiref"
10 makedepends=('python-setuptools')
11 checkdepends=(python-pytest python-pytest-asyncio)
13 source=("https://pypi.io/packages/source/a/asgiref/asgiref-${pkgver}.tar.gz")
14 sha256sums=('9567dfe7bd8d3c8c892227827c41cce860b368104c3431da67a0c5a65a949506')
17 cd "asgiref-${pkgver}"
22 cd "asgiref-${pkgver}"
27 cd "asgiref-${pkgver}"
28 python setup.py install --root=${pkgdir} --optimize=1
30 install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE