py-channels: updated to 2.3.0 2.3.0: * Adjusted ``AsgiHandler`` HTTP body handling to use a spooled temporary file, rather than reading the whole request body into memory. As a result, ``AsgiRequest.__init__()`` is adjusted to expect a file-like ``stream``, rather than the whole ``body`` as bytes. Test cases instantiating requests directly will likely need to be updated to wrap the provided body in, e.g., `io.BytesIO`.diff -r1.16 -r1.17 pkgsrc/www/py-channels/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.16 2019/05/06 10:26:17 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.17 2019/10/07 20:28:57 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= channels-2.2.0 | 3 | DISTNAME= channels-2.3.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/channels/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=c/channels/} | |
7 | 7 | |||
8 | MAINTAINER= adam@NetBSD.org | 8 | MAINTAINER= adam@NetBSD.org | |
9 | HOMEPAGE= https://github.com/django/channels | 9 | HOMEPAGE= https://github.com/django/channels | |
10 | COMMENT= Brings event-driven capabilities to Django with a channel system | 10 | COMMENT= Brings event-driven capabilities to Django with a channel system | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.0:../../www/py-asgiref | 13 | DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.0:../../www/py-asgiref | |
14 | DEPENDS+= ${PYPKGPREFIX}-daphne>=2.3:../../www/py-daphne | 14 | DEPENDS+= ${PYPKGPREFIX}-daphne>=2.3:../../www/py-daphne | |
15 | DEPENDS+= ${PYPKGPREFIX}-django>=1.11:../../www/py-django | 15 | DEPENDS+= ${PYPKGPREFIX}-django>=1.11:../../www/py-django | |
16 | 16 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2019/05/06 10:26:17 adam Exp $ | 1 | $NetBSD: distinfo,v 1.14 2019/10/07 20:28:57 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (channels-2.2.0.tar.gz) = 13446cb92e4744a2e8acab84a31e663359cf85c6 | 3 | SHA1 (channels-2.3.0.tar.gz) = 48c42bf73f95e7f9785446347b9ab753337cdfa6 | |
4 | RMD160 (channels-2.2.0.tar.gz) = c49633dc43f67fd2bec11607d574faa5d8010f65 | 4 | RMD160 (channels-2.3.0.tar.gz) = 5dead601f7dc85435151b03904c80d02f734d279 | |
5 | SHA512 (channels-2.2.0.tar.gz) = 7ba6976323c445a5e4a25b7acc9bbe07a8be0915ae98662c102b59f290a1ffa35bb8795fe9cacefb1fd8ec439f92215e4ef527bdce8d23cf3ccf2789c5194c98 | 5 | SHA512 (channels-2.3.0.tar.gz) = 0294506a1a60973ad8c7a49884604c8b6880096674d4306bf5d2ff9d6f5709c8bc1f76573fee3564bb65500ced8e8fa8147a8234ea89809eb13a4ec20a667a79 | |
6 | Size (channels-2.2.0.tar.gz) = 29899 bytes | 6 | Size (channels-2.3.0.tar.gz) = 29933 bytes |