pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www HTTP client/server for asyncio (PEP 3156).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dd59703e51b
branches:  trunk
changeset: 365428:9dd59703e51b
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 16 19:04:16 2017 +0000

description:
HTTP client/server for asyncio (PEP 3156).

Features:
* Supports both Client and HTTP Server.
* Supports both Server WebSockets and Client WebSockets out-of-the-box.
* Web-server has Middlewares, Signals and pluggable routing.

diffstat:

 www/Makefile            |    3 +-
 www/py-aiohttp/DESCR    |    6 ++
 www/py-aiohttp/Makefile |   24 ++++++++
 www/py-aiohttp/PLIST    |  133 ++++++++++++++++++++++++++++++++++++++++++++++++
 www/py-aiohttp/distinfo |    6 ++
 5 files changed, 171 insertions(+), 1 deletions(-)

diffs (202 lines):

diff -r b35342d16e23 -r 9dd59703e51b www/Makefile
--- a/www/Makefile      Sun Jul 16 16:51:48 2017 +0000
+++ b/www/Makefile      Sun Jul 16 19:04:16 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1257 2017/07/16 09:41:18 adam Exp $
+# $NetBSD: Makefile,v 1.1258 2017/07/16 19:04:16 adam Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -602,6 +602,7 @@
 SUBDIR+=       py-WSGIProxy2
 SUBDIR+=       py-WebOb
 SUBDIR+=       py-WebTest
+SUBDIR+=       py-aiohttp
 SUBDIR+=       py-asgiref
 SUBDIR+=       py-autobahn
 SUBDIR+=       py-beautifulsoup
diff -r b35342d16e23 -r 9dd59703e51b www/py-aiohttp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-aiohttp/DESCR      Sun Jul 16 19:04:16 2017 +0000
@@ -0,0 +1,6 @@
+HTTP client/server for asyncio (PEP 3156).
+
+Features:
+* Supports both Client and HTTP Server.
+* Supports both Server WebSockets and Client WebSockets out-of-the-box.
+* Web-server has Middlewares, Signals and pluggable routing.
diff -r b35342d16e23 -r 9dd59703e51b www/py-aiohttp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-aiohttp/Makefile   Sun Jul 16 19:04:16 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/07/16 19:04:16 adam Exp $
+
+DISTNAME=      aiohttp-2.2.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aiohttp/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aio-libs/aiohttp/
+COMMENT=       Async http client/server framework
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
+DEPENDS+=      ${PYPKGPREFIX}-multidict>=2.1.4:../../databases/py-multidict
+DEPENDS+=      ${PYPKGPREFIX}-async-timeout>=1.2.0:../../devel/py-async-timeout
+DEPENDS+=      ${PYPKGPREFIX}-yarl>=0.11:../../www/py-yarl
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+USE_LANGUAGES=         c
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b35342d16e23 -r 9dd59703e51b www/py-aiohttp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-aiohttp/PLIST      Sun Jul 16 19:04:16 2017 +0000
@@ -0,0 +1,133 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/16 19:04:16 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/aiohttp/__init__.py
+${PYSITELIB}/aiohttp/__init__.pyc
+${PYSITELIB}/aiohttp/__init__.pyo
+${PYSITELIB}/aiohttp/_cparser.pxd
+${PYSITELIB}/aiohttp/_frozenlist.c
+${PYSITELIB}/aiohttp/_frozenlist.pyx
+${PYSITELIB}/aiohttp/_frozenlist.so
+${PYSITELIB}/aiohttp/_http_parser.c
+${PYSITELIB}/aiohttp/_http_parser.pyx
+${PYSITELIB}/aiohttp/_http_parser.so
+${PYSITELIB}/aiohttp/_websocket.c
+${PYSITELIB}/aiohttp/_websocket.pyx
+${PYSITELIB}/aiohttp/_websocket.so
+${PYSITELIB}/aiohttp/abc.py
+${PYSITELIB}/aiohttp/abc.pyc
+${PYSITELIB}/aiohttp/abc.pyo
+${PYSITELIB}/aiohttp/backport_cookies.py
+${PYSITELIB}/aiohttp/backport_cookies.pyc
+${PYSITELIB}/aiohttp/backport_cookies.pyo
+${PYSITELIB}/aiohttp/client.py
+${PYSITELIB}/aiohttp/client.pyc
+${PYSITELIB}/aiohttp/client.pyo
+${PYSITELIB}/aiohttp/client_exceptions.py
+${PYSITELIB}/aiohttp/client_exceptions.pyc
+${PYSITELIB}/aiohttp/client_exceptions.pyo
+${PYSITELIB}/aiohttp/client_proto.py
+${PYSITELIB}/aiohttp/client_proto.pyc
+${PYSITELIB}/aiohttp/client_proto.pyo
+${PYSITELIB}/aiohttp/client_reqrep.py
+${PYSITELIB}/aiohttp/client_reqrep.pyc
+${PYSITELIB}/aiohttp/client_reqrep.pyo
+${PYSITELIB}/aiohttp/client_ws.py
+${PYSITELIB}/aiohttp/client_ws.pyc
+${PYSITELIB}/aiohttp/client_ws.pyo
+${PYSITELIB}/aiohttp/connector.py
+${PYSITELIB}/aiohttp/connector.pyc
+${PYSITELIB}/aiohttp/connector.pyo
+${PYSITELIB}/aiohttp/cookiejar.py
+${PYSITELIB}/aiohttp/cookiejar.pyc
+${PYSITELIB}/aiohttp/cookiejar.pyo
+${PYSITELIB}/aiohttp/formdata.py
+${PYSITELIB}/aiohttp/formdata.pyc
+${PYSITELIB}/aiohttp/formdata.pyo
+${PYSITELIB}/aiohttp/frozenlist.py
+${PYSITELIB}/aiohttp/frozenlist.pyc
+${PYSITELIB}/aiohttp/frozenlist.pyo
+${PYSITELIB}/aiohttp/hdrs.py
+${PYSITELIB}/aiohttp/hdrs.pyc
+${PYSITELIB}/aiohttp/hdrs.pyo
+${PYSITELIB}/aiohttp/helpers.py
+${PYSITELIB}/aiohttp/helpers.pyc
+${PYSITELIB}/aiohttp/helpers.pyo
+${PYSITELIB}/aiohttp/http.py
+${PYSITELIB}/aiohttp/http.pyc
+${PYSITELIB}/aiohttp/http.pyo
+${PYSITELIB}/aiohttp/http_exceptions.py
+${PYSITELIB}/aiohttp/http_exceptions.pyc
+${PYSITELIB}/aiohttp/http_exceptions.pyo
+${PYSITELIB}/aiohttp/http_parser.py
+${PYSITELIB}/aiohttp/http_parser.pyc
+${PYSITELIB}/aiohttp/http_parser.pyo
+${PYSITELIB}/aiohttp/http_websocket.py
+${PYSITELIB}/aiohttp/http_websocket.pyc
+${PYSITELIB}/aiohttp/http_websocket.pyo
+${PYSITELIB}/aiohttp/http_writer.py
+${PYSITELIB}/aiohttp/http_writer.pyc
+${PYSITELIB}/aiohttp/http_writer.pyo
+${PYSITELIB}/aiohttp/log.py
+${PYSITELIB}/aiohttp/log.pyc
+${PYSITELIB}/aiohttp/log.pyo
+${PYSITELIB}/aiohttp/multipart.py
+${PYSITELIB}/aiohttp/multipart.pyc
+${PYSITELIB}/aiohttp/multipart.pyo
+${PYSITELIB}/aiohttp/payload.py
+${PYSITELIB}/aiohttp/payload.pyc
+${PYSITELIB}/aiohttp/payload.pyo
+${PYSITELIB}/aiohttp/payload_streamer.py
+${PYSITELIB}/aiohttp/payload_streamer.pyc
+${PYSITELIB}/aiohttp/payload_streamer.pyo
+${PYSITELIB}/aiohttp/pytest_plugin.py
+${PYSITELIB}/aiohttp/pytest_plugin.pyc
+${PYSITELIB}/aiohttp/pytest_plugin.pyo
+${PYSITELIB}/aiohttp/resolver.py
+${PYSITELIB}/aiohttp/resolver.pyc
+${PYSITELIB}/aiohttp/resolver.pyo
+${PYSITELIB}/aiohttp/signals.py
+${PYSITELIB}/aiohttp/signals.pyc
+${PYSITELIB}/aiohttp/signals.pyo
+${PYSITELIB}/aiohttp/streams.py
+${PYSITELIB}/aiohttp/streams.pyc
+${PYSITELIB}/aiohttp/streams.pyo
+${PYSITELIB}/aiohttp/test_utils.py
+${PYSITELIB}/aiohttp/test_utils.pyc
+${PYSITELIB}/aiohttp/test_utils.pyo
+${PYSITELIB}/aiohttp/web.py
+${PYSITELIB}/aiohttp/web.pyc
+${PYSITELIB}/aiohttp/web.pyo
+${PYSITELIB}/aiohttp/web_exceptions.py
+${PYSITELIB}/aiohttp/web_exceptions.pyc
+${PYSITELIB}/aiohttp/web_exceptions.pyo
+${PYSITELIB}/aiohttp/web_fileresponse.py
+${PYSITELIB}/aiohttp/web_fileresponse.pyc
+${PYSITELIB}/aiohttp/web_fileresponse.pyo
+${PYSITELIB}/aiohttp/web_middlewares.py
+${PYSITELIB}/aiohttp/web_middlewares.pyc
+${PYSITELIB}/aiohttp/web_middlewares.pyo
+${PYSITELIB}/aiohttp/web_protocol.py
+${PYSITELIB}/aiohttp/web_protocol.pyc
+${PYSITELIB}/aiohttp/web_protocol.pyo
+${PYSITELIB}/aiohttp/web_request.py
+${PYSITELIB}/aiohttp/web_request.pyc
+${PYSITELIB}/aiohttp/web_request.pyo
+${PYSITELIB}/aiohttp/web_response.py
+${PYSITELIB}/aiohttp/web_response.pyc
+${PYSITELIB}/aiohttp/web_response.pyo
+${PYSITELIB}/aiohttp/web_server.py
+${PYSITELIB}/aiohttp/web_server.pyc
+${PYSITELIB}/aiohttp/web_server.pyo
+${PYSITELIB}/aiohttp/web_urldispatcher.py
+${PYSITELIB}/aiohttp/web_urldispatcher.pyc
+${PYSITELIB}/aiohttp/web_urldispatcher.pyo
+${PYSITELIB}/aiohttp/web_ws.py
+${PYSITELIB}/aiohttp/web_ws.pyc
+${PYSITELIB}/aiohttp/web_ws.pyo
+${PYSITELIB}/aiohttp/worker.py
+${PYSITELIB}/aiohttp/worker.pyc
+${PYSITELIB}/aiohttp/worker.pyo
diff -r b35342d16e23 -r 9dd59703e51b www/py-aiohttp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-aiohttp/distinfo   Sun Jul 16 19:04:16 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/16 19:04:16 adam Exp $
+
+SHA1 (aiohttp-2.2.3.tar.gz) = db0758ccc4d365f579c8720c7e8843ec87d5bb23
+RMD160 (aiohttp-2.2.3.tar.gz) = 0e52560b95ee09ef91b3d2fb537534f475380d91
+SHA512 (aiohttp-2.2.3.tar.gz) = 3bc2663a010cdd299a99a61cfc4107ca4d8e87c418b0c9868a99f2fe3343c0fee386f28ba44c35ccfe11a5c73f457951251777dc8b23fe198a1b1ac60bb87c63
+Size (aiohttp-2.2.3.tar.gz) = 787819 bytes



Home | Main Index | Thread Index | Old Index