pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-daphne py-daphne: updated to 2.0.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/6cecc4504485
branches: trunk
changeset: 375552:6cecc4504485
user: adam <adam%pkgsrc.org@localhost>
date: Wed Feb 14 14:21:33 2018 +0000
description:
py-daphne: updated to 2.0.3
2.0.3:
* Unix socket listening no longer errors during startup (introduced in 2.0.2)
* ASGI Applications are now not immediately killed on disconnection but instead
given --application-close-timeout seconds to exit (defaults to 10)
2.0.2:
* WebSockets are no longer closed after the duration of http_timeout
2.0.1:
* Updated logging to correctly route exceptions through the main Daphne logger
2.0.0:
* Major rewrite to the new async-based ASGI specification and to support
Channels 2. Not backwards compatible.
diffstat:
www/py-daphne/Makefile | 12 +++++-------
www/py-daphne/PLIST | 40 ++++++++--------------------------------
www/py-daphne/distinfo | 10 +++++-----
3 files changed, 18 insertions(+), 44 deletions(-)
diffs (113 lines):
diff -r b28dc4bce854 -r 6cecc4504485 www/py-daphne/Makefile
--- a/www/py-daphne/Makefile Wed Feb 14 14:12:03 2018 +0000
+++ b/www/py-daphne/Makefile Wed Feb 14 14:21:33 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2018/01/10 08:36:54 adam Exp $
+# $NetBSD: Makefile,v 1.5 2018/02/14 14:21:33 adam Exp $
-DISTNAME= daphne-1.4.2
+DISTNAME= daphne-2.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/daphne/}
@@ -10,18 +10,16 @@
COMMENT= HTTP, HTTP2 and WebSocket protocol server for ASGI
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-asgiref-[0-9]*:../../www/py-asgiref
+DEPENDS+= ${PYPKGPREFIX}-asgiref>=2.0:../../www/py-asgiref
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
-DEPENDS+= ${PYPKGPREFIX}-twisted>=17.1:../../net/py-twisted
+DEPENDS+= ${PYPKGPREFIX}-twisted>=17.5:../../net/py-twisted
USE_LANGUAGES= # none
-# py-asgiref
PYTHON_VERSIONS_INCOMPATIBLE= 27 34
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/daphne \
- ${DESTDIR}${PREFIX}/bin/daphne-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r b28dc4bce854 -r 6cecc4504485 www/py-daphne/PLIST
--- a/www/py-daphne/PLIST Wed Feb 14 14:12:03 2018 +0000
+++ b/www/py-daphne/PLIST Wed Feb 14 14:21:33 2018 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2017/06/21 19:09:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/02/14 14:21:33 adam Exp $
bin/daphne-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@@ -16,42 +16,18 @@
${PYSITELIB}/daphne/cli.py
${PYSITELIB}/daphne/cli.pyc
${PYSITELIB}/daphne/cli.pyo
+${PYSITELIB}/daphne/endpoints.py
+${PYSITELIB}/daphne/endpoints.pyc
+${PYSITELIB}/daphne/endpoints.pyo
${PYSITELIB}/daphne/http_protocol.py
${PYSITELIB}/daphne/http_protocol.pyc
${PYSITELIB}/daphne/http_protocol.pyo
${PYSITELIB}/daphne/server.py
${PYSITELIB}/daphne/server.pyc
${PYSITELIB}/daphne/server.pyo
-${PYSITELIB}/daphne/tests/__init__.py
-${PYSITELIB}/daphne/tests/__init__.pyc
-${PYSITELIB}/daphne/tests/__init__.pyo
-${PYSITELIB}/daphne/tests/asgi.py
-${PYSITELIB}/daphne/tests/asgi.pyc
-${PYSITELIB}/daphne/tests/asgi.pyo
-${PYSITELIB}/daphne/tests/factories.py
-${PYSITELIB}/daphne/tests/factories.pyc
-${PYSITELIB}/daphne/tests/factories.pyo
-${PYSITELIB}/daphne/tests/http_strategies.py
-${PYSITELIB}/daphne/tests/http_strategies.pyc
-${PYSITELIB}/daphne/tests/http_strategies.pyo
-${PYSITELIB}/daphne/tests/test_endpoints.py
-${PYSITELIB}/daphne/tests/test_endpoints.pyc
-${PYSITELIB}/daphne/tests/test_endpoints.pyo
-${PYSITELIB}/daphne/tests/test_http_request.py
-${PYSITELIB}/daphne/tests/test_http_request.pyc
-${PYSITELIB}/daphne/tests/test_http_request.pyo
-${PYSITELIB}/daphne/tests/test_http_response.py
-${PYSITELIB}/daphne/tests/test_http_response.pyc
-${PYSITELIB}/daphne/tests/test_http_response.pyo
-${PYSITELIB}/daphne/tests/test_utils.py
-${PYSITELIB}/daphne/tests/test_utils.pyc
-${PYSITELIB}/daphne/tests/test_utils.pyo
-${PYSITELIB}/daphne/tests/test_ws.py
-${PYSITELIB}/daphne/tests/test_ws.pyc
-${PYSITELIB}/daphne/tests/test_ws.pyo
-${PYSITELIB}/daphne/tests/testcases.py
-${PYSITELIB}/daphne/tests/testcases.pyc
-${PYSITELIB}/daphne/tests/testcases.pyo
+${PYSITELIB}/daphne/test_application.py
+${PYSITELIB}/daphne/test_application.pyc
+${PYSITELIB}/daphne/test_application.pyo
${PYSITELIB}/daphne/utils.py
${PYSITELIB}/daphne/utils.pyc
${PYSITELIB}/daphne/utils.pyo
diff -r b28dc4bce854 -r 6cecc4504485 www/py-daphne/distinfo
--- a/www/py-daphne/distinfo Wed Feb 14 14:12:03 2018 +0000
+++ b/www/py-daphne/distinfo Wed Feb 14 14:21:33 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/01/10 08:36:54 adam Exp $
+$NetBSD: distinfo,v 1.3 2018/02/14 14:21:33 adam Exp $
-SHA1 (daphne-1.4.2.tar.gz) = 42339342fb1dee34bae313110b62d4f353e50722
-RMD160 (daphne-1.4.2.tar.gz) = 33fcb1f81c0c6b3401445959bf5aba02196a7b02
-SHA512 (daphne-1.4.2.tar.gz) = e3f1b384a89547be53793550e9fbaddac5d360605ddeb4ddfc376e91de16f85a30b7c40411d811454fd03f63346c0625a63bf984e16b2f97a7621aeccd137d67
-Size (daphne-1.4.2.tar.gz) = 28279 bytes
+SHA1 (daphne-2.0.3.tar.gz) = 65c76cbb5a542c18cfc203b227ea42f6aa0d4541
+RMD160 (daphne-2.0.3.tar.gz) = 01b6f393d5b8d6b9bda072e12331432f75dc770d
+SHA512 (daphne-2.0.3.tar.gz) = 44c383009d51648e84e2b318639266d4ca4c31d8317368eb6070b84f56f2b9404aa4af9c36509d797d78a8ce18a4de1158cb1f0780312688901b3c5a416ca901
+Size (daphne-2.0.3.tar.gz) = 17698 bytes
Home |
Main Index |
Thread Index |
Old Index