pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-daphne Daphne is a HTTP, HTTP2 and WebSocket pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a153b99ceb9b
branches:  trunk
changeset: 364209:a153b99ceb9b
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 21 19:09:21 2017 +0000

description:
Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed
to power Django Channels.

It supports automatic negotiation of protocols; there's no need for URL
prefixing to determine WebSocket endpoints versus HTTP endpoints.

diffstat:

 www/py-daphne/DESCR    |   5 +++
 www/py-daphne/Makefile |  24 +++++++++++++++++++
 www/py-daphne/PLIST    |  63 ++++++++++++++++++++++++++++++++++++++++++++++++++
 www/py-daphne/distinfo |   6 ++++
 4 files changed, 98 insertions(+), 0 deletions(-)

diffs (114 lines):

diff -r 8446be322bdf -r a153b99ceb9b www/py-daphne/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-daphne/DESCR       Wed Jun 21 19:09:21 2017 +0000
@@ -0,0 +1,5 @@
+Daphne is a HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed
+to power Django Channels.
+
+It supports automatic negotiation of protocols; there's no need for URL
+prefixing to determine WebSocket endpoints versus HTTP endpoints.
diff -r 8446be322bdf -r a153b99ceb9b www/py-daphne/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-daphne/Makefile    Wed Jun 21 19:09:21 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/06/21 19:09:21 adam Exp $
+
+DISTNAME=      daphne-1.3.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/daphne/}
+
+MAINTAINER=    adam%NetBSD.org@localhost
+HOMEPAGE=      http://github.com/django/daphne
+COMMENT=       HTTP, HTTP2 and WebSocket protocol server for ASGI
+LICENSE=       modified-bsd
+
+USE_LANGUAGES=         # empty
+
+DEPENDS+=      ${PYPKGPREFIX}-asgiref-[0-9]*:../../www/py-asgiref
+DEPENDS+=      ${PYPKGPREFIX}-autobahn>=0.18:../../www/py-autobahn
+DEPENDS+=      ${PYPKGPREFIX}-twisted>=17.1:../../net/py-twisted
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/daphne \
+               ${DESTDIR}${PREFIX}/bin/daphne-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8446be322bdf -r a153b99ceb9b www/py-daphne/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-daphne/PLIST       Wed Jun 21 19:09:21 2017 +0000
@@ -0,0 +1,63 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/21 19:09:21 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}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/daphne/__init__.py
+${PYSITELIB}/daphne/__init__.pyc
+${PYSITELIB}/daphne/__init__.pyo
+${PYSITELIB}/daphne/access.py
+${PYSITELIB}/daphne/access.pyc
+${PYSITELIB}/daphne/access.pyo
+${PYSITELIB}/daphne/cli.py
+${PYSITELIB}/daphne/cli.pyc
+${PYSITELIB}/daphne/cli.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/utils.py
+${PYSITELIB}/daphne/utils.pyc
+${PYSITELIB}/daphne/utils.pyo
+${PYSITELIB}/daphne/ws_protocol.py
+${PYSITELIB}/daphne/ws_protocol.pyc
+${PYSITELIB}/daphne/ws_protocol.pyo
+${PYSITELIB}/twisted/plugins/fd_endpoint.py
+${PYSITELIB}/twisted/plugins/fd_endpoint.pyc
+${PYSITELIB}/twisted/plugins/fd_endpoint.pyo
diff -r 8446be322bdf -r a153b99ceb9b www/py-daphne/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-daphne/distinfo    Wed Jun 21 19:09:21 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/21 19:09:21 adam Exp $
+
+SHA1 (daphne-1.3.0.tar.gz) = 8b19c6155e2ed5424505bd032d66e69deedc5980
+RMD160 (daphne-1.3.0.tar.gz) = 242f8be31c045b27a2e753b4786c3018c8510dc3
+SHA512 (daphne-1.3.0.tar.gz) = 2044c004d1cc2111e065a8fdefa834a87491dabe7e4bb35cf7e796bd419706151199074e3f80617a276a9b14d013bb9302bd974a380e6f8245d4da0bb14a5eb2
+Size (daphne-1.3.0.tar.gz) = 27861 bytes



Home | Main Index | Thread Index | Old Index