ayaports/user/py3-django-channels-redis/APKBUILD

27 lines
948 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-channels-redis
_pyname="channels_redis"
pkgver=3.4.1
pkgrel=0
arch='noarch'
pkgdesc="Redis-backed ASGI channel layer implementation"
url="https://pypi.python.org/project/$_pyname"
license="BSD-3-Clause"
depends='python3 py3-django-channels py3-asgiref py3-aioredis py3-msgpack py3-async-timeout'
makedepends='py3-setuptools'
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
}
sha512sums="
e750214cfba676409185d1a2c23698b31b6bc73fa231c2209c96753738261da9a379fc6a3cbd8a11f514c26010559949f4ff6336845f8692121ec017457833ff py3-django-channels-redis-3.4.1.tar.gz
"