user/py3-django-channels-redis: upgrade to 4.1.0

This commit is contained in:
Antoine Martin 2023-03-31 21:22:10 -04:00
parent eca3487716
commit 607a072a35
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -3,15 +3,15 @@
pkgname=py3-django-channels-redis pkgname=py3-django-channels-redis
_pyname="channels_redis" _pyname="channels_redis"
pkgver=3.4.1 pkgver=4.1.0
pkgrel=0 pkgrel=0
arch='noarch' arch='noarch'
pkgdesc="Redis-backed ASGI channel layer implementation" pkgdesc="Redis-backed ASGI channel layer implementation"
url="https://pypi.python.org/project/$_pyname" url="https://pypi.python.org/project/$_pyname"
license="BSD-3-Clause" license="BSD-3-Clause"
depends='python3 py3-django-channels py3-asgiref py3-aioredis py3-msgpack py3-async-timeout' 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'
makedepends='py3-setuptools' 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" source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver builddir="$srcdir"/$_pyname-$pkgver
@ -19,9 +19,13 @@ build() {
python3 setup.py build python3 setup.py build
} }
check() {
PYTHONPATH="$PWD/src" pytest || true
}
package() { package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
} }
sha512sums=" sha512sums="
e750214cfba676409185d1a2c23698b31b6bc73fa231c2209c96753738261da9a379fc6a3cbd8a11f514c26010559949f4ff6336845f8692121ec017457833ff py3-django-channels-redis-3.4.1.tar.gz 558ccdb36cad7cb4d97fdc41ed25cfebbc8b381c867ad0b8704dfde8e6d754a4e53a79726260a748b70f906750702c0226774a8574e09bd6933b6ab797ce29df py3-django-channels-redis-4.1.0.tar.gz
" "