summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-06-21 19:09:21 +0000
committeradam <adam@pkgsrc.org>2017-06-21 19:09:21 +0000
commitbf870dcff82d96719071fc8fbb57d8abdf0af222 (patch)
tree998590e94d5f24870b5a0daac905ef4365740005 /www
parent29043808e7ba91c0a4e02d060e026b88114f2bfb (diff)
downloadpkgsrc-bf870dcff82d96719071fc8fbb57d8abdf0af222.tar.gz
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 (limited to 'www')
-rw-r--r--www/py-daphne/DESCR5
-rw-r--r--www/py-daphne/Makefile24
-rw-r--r--www/py-daphne/PLIST63
-rw-r--r--www/py-daphne/distinfo6
4 files changed, 98 insertions, 0 deletions
diff --git a/www/py-daphne/DESCR b/www/py-daphne/DESCR
new file mode 100644
index 00000000000..e5ae4897595
--- /dev/null
+++ b/www/py-daphne/DESCR
@@ -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 --git a/www/py-daphne/Makefile b/www/py-daphne/Makefile
new file mode 100644
index 00000000000..e5b71562964
--- /dev/null
+++ b/www/py-daphne/Makefile
@@ -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
+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 --git a/www/py-daphne/PLIST b/www/py-daphne/PLIST
new file mode 100644
index 00000000000..d0d95eb1b78
--- /dev/null
+++ b/www/py-daphne/PLIST
@@ -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 --git a/www/py-daphne/distinfo b/www/py-daphne/distinfo
new file mode 100644
index 00000000000..f81bd7982f0
--- /dev/null
+++ b/www/py-daphne/distinfo
@@ -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