Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2025 18:08:48 GMT
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d21ab5a37ef5 - main - www/py-dj52-channels-redis: New port
Message-ID:  <202509291808.58TI8mLe019884@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by grembo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d21ab5a37ef55259c761c4f849b734bd76e93a79

commit d21ab5a37ef55259c761c4f849b734bd76e93a79
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2025-09-29 17:38:41 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2025-09-29 18:07:46 +0000

    www/py-dj52-channels-redis: New port
    
    Clone of existing port for Django 5.2.
---
 www/Makefile                         |  1 +
 www/py-dj52-channels-redis/Makefile  | 25 +++++++++++++++++++++++++
 www/py-dj52-channels-redis/distinfo  |  3 +++
 www/py-dj52-channels-redis/pkg-descr | 12 ++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 5a9c912f6639..82ba29cc6694 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1562,6 +1562,7 @@
     SUBDIR += py-dj51-social-auth-app-django
     SUBDIR += py-dj51-strawberry-graphql-django
     SUBDIR += py-dj52-channels
+    SUBDIR += py-dj52-channels-redis
     SUBDIR += py-dj52-django-auth-ldap
     SUBDIR += py-dj52-django-choices-field
     SUBDIR += py-dj52-django-cors-headers
diff --git a/www/py-dj52-channels-redis/Makefile b/www/py-dj52-channels-redis/Makefile
new file mode 100644
index 000000000000..22360774264f
--- /dev/null
+++ b/www/py-dj52-channels-redis/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	channels-redis
+PORTVERSION=	4.3.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj52-
+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}dj52-channels>=4:www/py-dj52-channels@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj52-channels-redis/distinfo b/www/py-dj52-channels-redis/distinfo
new file mode 100644
index 000000000000..28730dadc6da
--- /dev/null
+++ b/www/py-dj52-channels-redis/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1753980067
+SHA256 (channels_redis-4.3.0.tar.gz) = 740ee7b54f0e28cf2264a940a24453d3f00526a96931f911fcb69228ef245dd2
+SIZE (channels_redis-4.3.0.tar.gz) = 31440
diff --git a/www/py-dj52-channels-redis/pkg-descr b/www/py-dj52-channels-redis/pkg-descr
new file mode 100644
index 000000000000..8cd2d32f3a39
--- /dev/null
+++ b/www/py-dj52-channels-redis/pkg-descr
@@ -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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509291808.58TI8mLe019884>