mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
www/py-dj42-channels-redis: New port
Redis-backed asgi channel layer implementation
This commit is contained in:
parent
a9d834da3d
commit
6b738c0de9
@ -1490,6 +1490,7 @@
|
||||
SUBDIR += py-daphne
|
||||
SUBDIR += py-dj-database-url
|
||||
SUBDIR += py-dj42-channels
|
||||
SUBDIR += py-dj42-channels-redis
|
||||
SUBDIR += py-dj42-django-allauth
|
||||
SUBDIR += py-dj42-django-auditlog
|
||||
SUBDIR += py-dj42-django-auth-ldap
|
||||
|
23
www/py-dj42-channels-redis/Makefile
Normal file
23
www/py-dj42-channels-redis/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
PORTNAME= channels-redis
|
||||
PORTVERSION= 4.2.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42-
|
||||
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= grembo@FreeBSD.org
|
||||
COMMENT= Redis-backed asgi channel layer implementation
|
||||
WWW= http://github.com/django/channels_redis/
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=5.0.1:databases/py-redis@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}msgpack>=1:devel/py-msgpack@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}asgiref>=3.7.2:www/py-asgiref@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}dj42-channels>=4:www/py-dj42-channels@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj42-channels-redis/distinfo
Normal file
3
www/py-dj42-channels-redis/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1707598760
|
||||
SHA256 (channels_redis-4.2.0.tar.gz) = 01c26c4d5d3a203f104bba9e5585c0305a70df390d21792386586068162027fd
|
||||
SIZE (channels_redis-4.2.0.tar.gz) = 20754
|
12
www/py-dj42-channels-redis/pkg-descr
Normal file
12
www/py-dj42-channels-redis/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
Provides Django Channels channel layers that use Redis as a backing store.
|
||||
|
||||
There are two available implementations:
|
||||
|
||||
RedisChannelLayer is the original layer, and implements channel and group
|
||||
handling itself.
|
||||
|
||||
RedisPubSubChannelLayer is newer and leverages Redis Pub/Sub for message
|
||||
dispatch. This layer is currently at Beta status, meaning it may be subject
|
||||
to breaking changes whilst it matures.
|
||||
|
||||
Both layers support a single-server and sharded configurations.
|
Loading…
Reference in New Issue
Block a user