pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-channels



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Feb 14 14:22:33 UTC 2018

Modified Files:
        pkgsrc/www/py-channels: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-channels/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-channels/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-channels/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-channels/Makefile
diff -u pkgsrc/www/py-channels/Makefile:1.6 pkgsrc/www/py-channels/Makefile:1.7
--- pkgsrc/www/py-channels/Makefile:1.6 Fri Dec  8 20:38:59 2017
+++ pkgsrc/www/py-channels/Makefile     Wed Feb 14 14:22:33 2018
@@ -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 @@ HOMEPAGE=   https://github.com/django/chan
 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"

Index: pkgsrc/www/py-channels/PLIST
diff -u pkgsrc/www/py-channels/PLIST:1.1 pkgsrc/www/py-channels/PLIST:1.2
--- pkgsrc/www/py-channels/PLIST:1.1    Wed Jun 21 19:09:34 2017
+++ pkgsrc/www/py-channels/PLIST        Wed Feb 14 14:22:33 2018
@@ -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/__init__.pyo
 ${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/command
 ${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/static/channels/js
 ${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

Index: pkgsrc/www/py-channels/distinfo
diff -u pkgsrc/www/py-channels/distinfo:1.4 pkgsrc/www/py-channels/distinfo:1.5
--- pkgsrc/www/py-channels/distinfo:1.4 Sat Sep 16 06:51:54 2017
+++ pkgsrc/www/py-channels/distinfo     Wed Feb 14 14:22:33 2018
@@ -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