blob: 3f586fda320fa59f4562b9afc6090cc113409752 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Razer <razer[AT]neuf[DOT]fr>
pkgname=python-django-channels-redis
_pypi_pkgname=channels_redis
pkgver=4.2.0
pkgrel=0
pkgdesc="Redis-backed ASGI channel layer implementation"
arch=(any)
url=" http://github.com/django/channels_redis/"
license=('BSD')
makedepends=('python-setuptools')
depends=('python' 'python-django-channels' 'python-redis' 'python-msgpack' 'python-asgiref')
optdepends=('python-cryptography')
source=("https://pypi.io/packages/source/c/${_pypi_pkgname}/${_pypi_pkgname}-${pkgver}.tar.gz")
sha256sums=('01c26c4d5d3a203f104bba9e5585c0305a70df390d21792386586068162027fd')
build() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py build || return 1
}
package() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py install --root=${pkgdir} --optimize=1 || return 1
}
|