summaryrefslogtreecommitdiff
path: root/www/py-dj52-channels
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-dj52-channels')
-rw-r--r--www/py-dj52-channels/Makefile25
-rw-r--r--www/py-dj52-channels/distinfo3
-rw-r--r--www/py-dj52-channels/pkg-descr4
3 files changed, 32 insertions, 0 deletions
diff --git a/www/py-dj52-channels/Makefile b/www/py-dj52-channels/Makefile
new file mode 100644
index 000000000000..d5e332fc9e28
--- /dev/null
+++ b/www/py-dj52-channels/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= channels
+PORTVERSION= 4.3.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52-
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Brings async, event-driven capabilities to Django
+WWW= https://channels.readthedocs.io/en/latest/ \
+ https://github.com/django/channels
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.9.0<4:www/py-asgiref@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR}
+
+USES= python:3.10+
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-dj52-channels/distinfo b/www/py-dj52-channels/distinfo
new file mode 100644
index 000000000000..bda9ca7b8bef
--- /dev/null
+++ b/www/py-dj52-channels/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1753796104
+SHA256 (channels-4.3.0.tar.gz) = 7db32c61dcd88eada1647e6c6f6ad2eb724b75d4852eeff26ad1c51ccd1a37f7
+SIZE (channels-4.3.0.tar.gz) = 26816
diff --git a/www/py-dj52-channels/pkg-descr b/www/py-dj52-channels/pkg-descr
new file mode 100644
index 000000000000..01296180bc27
--- /dev/null
+++ b/www/py-dj52-channels/pkg-descr
@@ -0,0 +1,4 @@
+Channels augments Django to bring WebSocket, long-poll HTTP, task offloading and
+other async support to your code, using familiar Django design patterns and a
+flexible underlying framework that lets you not only customize behaviours but
+also write support for your own protocols and needs.