diff options
author | adam <adam@pkgsrc.org> | 2018-08-19 10:53:11 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-08-19 10:53:11 +0000 |
commit | 46a4d6d6ca020351b6a13827b754318bddc56ca8 (patch) | |
tree | dfbb9528c27bf4f8ccf4d76f5a58c07405e06f68 | |
parent | ebb5f78445c5711abd2fb553af1169f81a59a3e1 (diff) | |
download | pkgsrc-46a4d6d6ca020351b6a13827b754318bddc56ca8.tar.gz |
py-daphne: updated to 2.2.2
2.2.2:
* X-Forwarded-Proto support is now present and enabled if you turn on the
--proxy-headers flag
* ASGI applications are no longer instantiated in a thread (the ASGI spec
was finalised to say all constructors must be non-blocking on the main thread)
2.2.1:
* Python 3.7 compatability is flagged and ensured by using Twisted 18.7 and
above as a dependency.
* The send() awaitable in applications no longer blocks if the connection is
closed.
* Fixed a race condition where applications would be cleaned up before they
had even started.
-rw-r--r-- | www/py-daphne/Makefile | 13 | ||||
-rw-r--r-- | www/py-daphne/distinfo | 10 |
2 files changed, 11 insertions, 12 deletions
diff --git a/www/py-daphne/Makefile b/www/py-daphne/Makefile index efbf8908d51..1a060de1dec 100644 --- a/www/py-daphne/Makefile +++ b/www/py-daphne/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.11 2018/06/14 07:55:00 adam Exp $ +# $NetBSD: Makefile,v 1.12 2018/08/19 10:53:11 adam Exp $ -DISTNAME= daphne-2.2.0 +DISTNAME= daphne-2.2.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=d/daphne/} @@ -10,15 +10,14 @@ HOMEPAGE= https://github.com/django/daphne COMMENT= HTTP, HTTP2 and WebSocket protocol server for ASGI LICENSE= modified-bsd +DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn +DEPENDS+= ${PYPKGPREFIX}-twisted>=18.7:../../net/py-twisted +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner + USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 34 -DEPENDS+= ${PYPKGPREFIX}-asgiref>=2.0:../../www/py-asgiref -DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn -DEPENDS+= ${PYPKGPREFIX}-twisted>=17.5:../../net/py-twisted -BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner - post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-daphne/distinfo b/www/py-daphne/distinfo index e6cfcba8906..a7587e4c6c7 100644 --- a/www/py-daphne/distinfo +++ b/www/py-daphne/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2018/06/14 07:55:00 adam Exp $ +$NetBSD: distinfo,v 1.8 2018/08/19 10:53:11 adam Exp $ -SHA1 (daphne-2.2.0.tar.gz) = ac8753155dd8810b96a68fa6902d4e77318d0c0d -RMD160 (daphne-2.2.0.tar.gz) = 4aad3f90f155a6d631c77cbfc8a84298e4400a27 -SHA512 (daphne-2.2.0.tar.gz) = 46f5e0f2d8c73701f679c80926b5d17cc1d2a5f9587a962c0496c0e291e89ff33fd722e8d1163fbc9b24b882ebbed92ccee0e3d424a679b375dc121036560f8e -Size (daphne-2.2.0.tar.gz) = 19727 bytes +SHA1 (daphne-2.2.2.tar.gz) = 91ab4b11355f5eeeb490a86d30d9da6a164195c5 +RMD160 (daphne-2.2.2.tar.gz) = be0283f6f3e7009a19412201fa8b235318b6263b +SHA512 (daphne-2.2.2.tar.gz) = 08ba6a09d48971f9dafa49bc199c7831897c58fec589a9e1e2d994074cc1bdeeb6bc7dbaec0c2d25cfc07bf56778eaf229873fec7eca66d1a3b0cc99ec11bd26 +Size (daphne-2.2.2.tar.gz) = 20053 bytes |