pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-daphne



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

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-daphne/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-daphne/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-daphne/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-daphne/Makefile
diff -u pkgsrc/www/py-daphne/Makefile:1.4 pkgsrc/www/py-daphne/Makefile:1.5
--- pkgsrc/www/py-daphne/Makefile:1.4   Wed Jan 10 08:36:54 2018
+++ pkgsrc/www/py-daphne/Makefile       Wed Feb 14 14:21:33 2018
@@ -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 @@ HOMEPAGE=   https://github.com/django/daph
 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"

Index: pkgsrc/www/py-daphne/PLIST
diff -u pkgsrc/www/py-daphne/PLIST:1.1 pkgsrc/www/py-daphne/PLIST:1.2
--- pkgsrc/www/py-daphne/PLIST:1.1      Wed Jun 21 19:09:21 2017
+++ pkgsrc/www/py-daphne/PLIST  Wed Feb 14 14:21:33 2018
@@ -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}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@@ -16,42 +16,18 @@ ${PYSITELIB}/daphne/access.pyo
 ${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

Index: pkgsrc/www/py-daphne/distinfo
diff -u pkgsrc/www/py-daphne/distinfo:1.2 pkgsrc/www/py-daphne/distinfo:1.3
--- pkgsrc/www/py-daphne/distinfo:1.2   Wed Jan 10 08:36:54 2018
+++ pkgsrc/www/py-daphne/distinfo       Wed Feb 14 14:21:33 2018
@@ -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