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

32 lines
1 KiB
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-django-channels-redis
_pyname="channels_redis"
pkgver=4.1.0
2021-11-30 21:44:44 +00:00
pkgrel=0
arch='noarch'
pkgdesc="Redis-backed ASGI channel layer implementation"
url="https://pypi.python.org/project/$_pyname"
2023-01-10 19:12:28 +00:00
license="BSD-3-Clause"
depends='python3 py3-django-channels py3-asgiref py3-redis py3-msgpack py3-cryptography'
checkdepends='py3-async-timeout py3-pytest py3-pytest-timeout py3-pytest-asyncio'
2021-11-30 21:44:44 +00:00
makedepends='py3-setuptools'
2023-01-10 19:12:28 +00:00
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
build() {
2023-01-10 19:12:28 +00:00
python3 setup.py build
2021-11-30 21:44:44 +00:00
}
check() {
PYTHONPATH="$PWD/src" pytest || true
}
2021-11-30 21:44:44 +00:00
package() {
2023-01-10 19:12:28 +00:00
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
2021-11-30 21:44:44 +00:00
}
sha512sums="
558ccdb36cad7cb4d97fdc41ed25cfebbc8b381c867ad0b8704dfde8e6d754a4e53a79726260a748b70f906750702c0226774a8574e09bd6933b6ab797ce29df py3-django-channels-redis-4.1.0.tar.gz
2021-11-30 21:44:44 +00:00
"