pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-channels py-channels: updated to 2.0.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad59bd509969
branches: trunk
changeset: 375553:ad59bd509969
user: adam <adam%pkgsrc.org@localhost>
date: Wed Feb 14 14:22:33 2018 +0000
description:
py-channels: updated to 2.0.2
2.0.2:
* SyncConsumer now terminates old database connections, and there is a new
database_sync_to_async wrapper to allow async connections to do the same.
2.0.1:
* AsyncWebsocketConsumer and AsyncJsonWebsocketConsumer classes added
* OriginValidator and AllowedHostsOriginValidator ASGI middleware is now available
* URLRouter now correctly resolves long lists of URLs
2.0.0:
* Major backwards-incompatible rewrite to move to an asyncio base and remove
the requirement to transport data over the network, as well as overhauled
generic consumers, test helpers, routing and more.
diffstat:
www/py-channels/Makefile | 13 ++--
www/py-channels/PLIST | 110 +++++++++++++---------------------------------
www/py-channels/distinfo | 10 ++--
3 files changed, 42 insertions(+), 91 deletions(-)
diffs (201 lines):
diff -r 6cecc4504485 -r ad59bd509969 www/py-channels/Makefile
--- a/www/py-channels/Makefile Wed Feb 14 14:21:33 2018 +0000
+++ b/www/py-channels/Makefile Wed Feb 14 14:22:33 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2017/12/08 20:38:59 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2018/02/14 14:22:33 adam Exp $
-DISTNAME= channels-1.1.8
+DISTNAME= channels-2.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/channels/}
@@ -10,13 +10,12 @@
COMMENT= Brings event-driven capabilities to Django with a channel system
LICENSE= modified-bsd
-USE_LANGUAGES= # empty
+DEPENDS+= ${PYPKGPREFIX}-django>=1.11:../../www/py-django
+DEPENDS+= ${PYPKGPREFIX}-asgiref>=2.1:../../www/py-asgiref
+DEPENDS+= ${PYPKGPREFIX}-daphne>=2.0:../../www/py-daphne
-DEPENDS+= ${PYPKGPREFIX}-django>=1.8:../../www/py-django
-DEPENDS+= ${PYPKGPREFIX}-asgiref>=1.1:../../www/py-asgiref
-DEPENDS+= ${PYPKGPREFIX}-daphne>=1.3:../../www/py-daphne
+USE_LANGUAGES= # none
-# py-asgiref
PYTHON_VERSIONS_INCOMPATIBLE= 27 34
.include "../../lang/python/egg.mk"
diff -r 6cecc4504485 -r ad59bd509969 www/py-channels/PLIST
--- a/www/py-channels/PLIST Wed Feb 14 14:21:33 2018 +0000
+++ b/www/py-channels/PLIST Wed Feb 14 14:22:33 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/06/21 19:09:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/02/14 14:22:33 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -10,69 +10,33 @@
${PYSITELIB}/channels/apps.py
${PYSITELIB}/channels/apps.pyc
${PYSITELIB}/channels/apps.pyo
-${PYSITELIB}/channels/asgi.py
-${PYSITELIB}/channels/asgi.pyc
-${PYSITELIB}/channels/asgi.pyo
${PYSITELIB}/channels/auth.py
${PYSITELIB}/channels/auth.pyc
${PYSITELIB}/channels/auth.pyo
-${PYSITELIB}/channels/binding/__init__.py
-${PYSITELIB}/channels/binding/__init__.pyc
-${PYSITELIB}/channels/binding/__init__.pyo
-${PYSITELIB}/channels/binding/base.py
-${PYSITELIB}/channels/binding/base.pyc
-${PYSITELIB}/channels/binding/base.pyo
-${PYSITELIB}/channels/binding/websockets.py
-${PYSITELIB}/channels/binding/websockets.pyc
-${PYSITELIB}/channels/binding/websockets.pyo
-${PYSITELIB}/channels/channel.py
-${PYSITELIB}/channels/channel.pyc
-${PYSITELIB}/channels/channel.pyo
-${PYSITELIB}/channels/delay/__init__.py
-${PYSITELIB}/channels/delay/__init__.pyc
-${PYSITELIB}/channels/delay/__init__.pyo
-${PYSITELIB}/channels/delay/apps.py
-${PYSITELIB}/channels/delay/apps.pyc
-${PYSITELIB}/channels/delay/apps.pyo
-${PYSITELIB}/channels/delay/management/__init__.py
-${PYSITELIB}/channels/delay/management/__init__.pyc
-${PYSITELIB}/channels/delay/management/__init__.pyo
-${PYSITELIB}/channels/delay/management/commands/__init__.py
-${PYSITELIB}/channels/delay/management/commands/__init__.pyc
-${PYSITELIB}/channels/delay/management/commands/__init__.pyo
-${PYSITELIB}/channels/delay/management/commands/rundelay.py
-${PYSITELIB}/channels/delay/management/commands/rundelay.pyc
-${PYSITELIB}/channels/delay/management/commands/rundelay.pyo
-${PYSITELIB}/channels/delay/migrations/0001_initial.py
-${PYSITELIB}/channels/delay/migrations/0001_initial.pyc
-${PYSITELIB}/channels/delay/migrations/0001_initial.pyo
-${PYSITELIB}/channels/delay/migrations/__init__.py
-${PYSITELIB}/channels/delay/migrations/__init__.pyc
-${PYSITELIB}/channels/delay/migrations/__init__.pyo
-${PYSITELIB}/channels/delay/models.py
-${PYSITELIB}/channels/delay/models.pyc
-${PYSITELIB}/channels/delay/models.pyo
-${PYSITELIB}/channels/delay/worker.py
-${PYSITELIB}/channels/delay/worker.pyc
-${PYSITELIB}/channels/delay/worker.pyo
+${PYSITELIB}/channels/consumer.py
+${PYSITELIB}/channels/consumer.pyc
+${PYSITELIB}/channels/consumer.pyo
+${PYSITELIB}/channels/db.py
+${PYSITELIB}/channels/db.pyc
+${PYSITELIB}/channels/db.pyo
${PYSITELIB}/channels/exceptions.py
${PYSITELIB}/channels/exceptions.pyc
${PYSITELIB}/channels/exceptions.pyo
${PYSITELIB}/channels/generic/__init__.py
${PYSITELIB}/channels/generic/__init__.pyc
${PYSITELIB}/channels/generic/__init__.pyo
-${PYSITELIB}/channels/generic/base.py
-${PYSITELIB}/channels/generic/base.pyc
-${PYSITELIB}/channels/generic/base.pyo
-${PYSITELIB}/channels/generic/websockets.py
-${PYSITELIB}/channels/generic/websockets.pyc
-${PYSITELIB}/channels/generic/websockets.pyo
+${PYSITELIB}/channels/generic/websocket.py
+${PYSITELIB}/channels/generic/websocket.pyc
+${PYSITELIB}/channels/generic/websocket.pyo
${PYSITELIB}/channels/hacks.py
${PYSITELIB}/channels/hacks.pyc
${PYSITELIB}/channels/hacks.pyo
-${PYSITELIB}/channels/handler.py
-${PYSITELIB}/channels/handler.pyc
-${PYSITELIB}/channels/handler.pyo
+${PYSITELIB}/channels/http.py
+${PYSITELIB}/channels/http.pyc
+${PYSITELIB}/channels/http.pyo
+${PYSITELIB}/channels/layers.py
+${PYSITELIB}/channels/layers.pyc
+${PYSITELIB}/channels/layers.pyo
${PYSITELIB}/channels/log.py
${PYSITELIB}/channels/log.pyc
${PYSITELIB}/channels/log.pyo
@@ -88,21 +52,15 @@
${PYSITELIB}/channels/management/commands/runworker.py
${PYSITELIB}/channels/management/commands/runworker.pyc
${PYSITELIB}/channels/management/commands/runworker.pyo
-${PYSITELIB}/channels/message.py
-${PYSITELIB}/channels/message.pyc
-${PYSITELIB}/channels/message.pyo
-${PYSITELIB}/channels/package_checks.py
-${PYSITELIB}/channels/package_checks.pyc
-${PYSITELIB}/channels/package_checks.pyo
${PYSITELIB}/channels/routing.py
${PYSITELIB}/channels/routing.pyc
${PYSITELIB}/channels/routing.pyo
${PYSITELIB}/channels/security/__init__.py
${PYSITELIB}/channels/security/__init__.pyc
${PYSITELIB}/channels/security/__init__.pyo
-${PYSITELIB}/channels/security/websockets.py
-${PYSITELIB}/channels/security/websockets.pyc
-${PYSITELIB}/channels/security/websockets.pyo
+${PYSITELIB}/channels/security/websocket.py
+${PYSITELIB}/channels/security/websocket.pyc
+${PYSITELIB}/channels/security/websocket.pyo
${PYSITELIB}/channels/sessions.py
${PYSITELIB}/channels/sessions.pyc
${PYSITELIB}/channels/sessions.pyo
@@ -113,24 +71,18 @@
${PYSITELIB}/channels/staticfiles.py
${PYSITELIB}/channels/staticfiles.pyc
${PYSITELIB}/channels/staticfiles.pyo
-${PYSITELIB}/channels/test/__init__.py
-${PYSITELIB}/channels/test/__init__.pyc
-${PYSITELIB}/channels/test/__init__.pyo
-${PYSITELIB}/channels/test/base.py
-${PYSITELIB}/channels/test/base.pyc
-${PYSITELIB}/channels/test/base.pyo
-${PYSITELIB}/channels/test/http.py
-${PYSITELIB}/channels/test/http.pyc
-${PYSITELIB}/channels/test/http.pyo
-${PYSITELIB}/channels/test/liveserver.py
-${PYSITELIB}/channels/test/liveserver.pyc
-${PYSITELIB}/channels/test/liveserver.pyo
-${PYSITELIB}/channels/test/websocket.py
-${PYSITELIB}/channels/test/websocket.pyc
-${PYSITELIB}/channels/test/websocket.pyo
-${PYSITELIB}/channels/tests/__init__.py
-${PYSITELIB}/channels/tests/__init__.pyc
-${PYSITELIB}/channels/tests/__init__.pyo
+${PYSITELIB}/channels/testing/__init__.py
+${PYSITELIB}/channels/testing/__init__.pyc
+${PYSITELIB}/channels/testing/__init__.pyo
+${PYSITELIB}/channels/testing/http.py
+${PYSITELIB}/channels/testing/http.pyc
+${PYSITELIB}/channels/testing/http.pyo
+${PYSITELIB}/channels/testing/live.py
+${PYSITELIB}/channels/testing/live.pyc
+${PYSITELIB}/channels/testing/live.pyo
+${PYSITELIB}/channels/testing/websocket.py
+${PYSITELIB}/channels/testing/websocket.pyc
+${PYSITELIB}/channels/testing/websocket.pyo
${PYSITELIB}/channels/utils.py
${PYSITELIB}/channels/utils.pyc
${PYSITELIB}/channels/utils.pyo
diff -r 6cecc4504485 -r ad59bd509969 www/py-channels/distinfo
--- a/www/py-channels/distinfo Wed Feb 14 14:21:33 2018 +0000
+++ b/www/py-channels/distinfo Wed Feb 14 14:22:33 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2017/09/16 06:51:54 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/02/14 14:22:33 adam Exp $
-SHA1 (channels-1.1.8.tar.gz) = 0f0a8bf054cf90d871b1b402c982126e95ddb797
-RMD160 (channels-1.1.8.tar.gz) = 9f12e7a3a646a6f61f88fa883a571e9dfc067888
-SHA512 (channels-1.1.8.tar.gz) = 055f2a8d26473698eece8b2e1f19813e52cdf2cb91b7934fa4be5e5f3abf4344556c6532c87c2c66ed793eff511ebf1d770cad8bc9d571a3fd11b26aaa2dab79
-Size (channels-1.1.8.tar.gz) = 43760 bytes
+SHA1 (channels-2.0.2.tar.gz) = d286f3058a45c4526660b0022111e06c2b20d3c6
+RMD160 (channels-2.0.2.tar.gz) = cfcf2d5fb65c1a29a307546af08675136fe5bf54
+SHA512 (channels-2.0.2.tar.gz) = 07dbc471d3dd6ebee611a69e853ec2e41b87823f69f6c5b8ecf30a8ff3d67af0fa6701feb859ab4b8a1ebd170ddf6a3416cddfc857321ee5de97b64e8c7ace58
+Size (channels-2.0.2.tar.gz) = 27057 bytes
Home |
Main Index |
Thread Index |
Old Index