Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2023 12:59:32 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 84437b55bbaf - main - www/py-channels: Add py-channels 4.0.0
Message-ID:  <202310111259.39BCxWvl036016@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 84437b55bbafb20bc1916ac98b6594c18c668dba
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-11 12:53:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-11 12:53:45 +0000

    www/py-channels: Add py-channels 4.0.0
    
    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.
---
 www/Makefile              |  1 +
 www/py-channels/Makefile  | 23 +++++++++++++++++++++++
 www/py-channels/distinfo  |  3 +++
 www/py-channels/pkg-descr |  4 ++++
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index ca6941ef5577..9934a09cb41e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1477,6 +1477,7 @@
     SUBDIR += py-cachecontrol
     SUBDIR += py-cachelib
     SUBDIR += py-caldav
+    SUBDIR += py-channels
     SUBDIR += py-cheroot
     SUBDIR += py-cherrypy
     SUBDIR += py-cinemagoer
diff --git a/www/py-channels/Makefile b/www/py-channels/Makefile
new file mode 100644
index 000000000000..6b674b6e0989
--- /dev/null
+++ b/www/py-channels/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	channels
+PORTVERSION=	4.0.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+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
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asgiref>=3.5.0<4:www/py-asgiref@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-channels/distinfo b/www/py-channels/distinfo
new file mode 100644
index 000000000000..5b1a85e8267d
--- /dev/null
+++ b/www/py-channels/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1696904100
+SHA256 (channels-4.0.0.tar.gz) = 0ce53507a7da7b148eaa454526e0e05f7da5e5d1c23440e4886cf146981d8420
+SIZE (channels-4.0.0.tar.gz) = 24446
diff --git a/www/py-channels/pkg-descr b/www/py-channels/pkg-descr
new file mode 100644
index 000000000000..01296180bc27
--- /dev/null
+++ b/www/py-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.



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