diff options
author | adam <adam@pkgsrc.org> | 2017-07-14 10:44:59 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-07-14 10:44:59 +0000 |
commit | a05f1de26520c9260c80ae024784a5930d7a572b (patch) | |
tree | dfa8d5a23686f61fa775fc24b95a7480ac5f230d /net/py-geventhttpclient | |
parent | 8a71030b13adbd73a4891a6d416e887d42fc4b58 (diff) | |
download | pkgsrc-a05f1de26520c9260c80ae024784a5930d7a572b.tar.gz |
A high performance, concurrent HTTP client library for python using gevent.
gevent.httplib support was removed in gevent 1.0, geventhttpclient now provides
that missing functionality.
geventhttpclient uses a fast http parser, written in C, originating from nginx,
extracted and modified by Joyent.
geventhttpclient has been specifically designed for high concurrency, streaming
and support HTTP 1.1 persistent connections. More generally it is designed for
efficiently pulling from REST APIs and streaming APIs like Twitter's.
Safe SSL support is provided by default. geventhttpclient depends on the
certifi CA Bundle. This is the same CA Bundle which ships with the Requests
codebase, and is derived from Mozilla Firefox's canonical set.
Diffstat (limited to 'net/py-geventhttpclient')
-rw-r--r-- | net/py-geventhttpclient/DESCR | 15 | ||||
-rw-r--r-- | net/py-geventhttpclient/Makefile | 21 | ||||
-rw-r--r-- | net/py-geventhttpclient/PLIST | 64 | ||||
-rw-r--r-- | net/py-geventhttpclient/distinfo | 6 |
4 files changed, 106 insertions, 0 deletions
diff --git a/net/py-geventhttpclient/DESCR b/net/py-geventhttpclient/DESCR new file mode 100644 index 00000000000..34e13a5f0e9 --- /dev/null +++ b/net/py-geventhttpclient/DESCR @@ -0,0 +1,15 @@ +A high performance, concurrent HTTP client library for python using gevent. + +gevent.httplib support was removed in gevent 1.0, geventhttpclient now provides +that missing functionality. + +geventhttpclient uses a fast http parser, written in C, originating from nginx, +extracted and modified by Joyent. + +geventhttpclient has been specifically designed for high concurrency, streaming +and support HTTP 1.1 persistent connections. More generally it is designed for +efficiently pulling from REST APIs and streaming APIs like Twitter's. + +Safe SSL support is provided by default. geventhttpclient depends on the +certifi CA Bundle. This is the same CA Bundle which ships with the Requests +codebase, and is derived from Mozilla Firefox's canonical set. diff --git a/net/py-geventhttpclient/Makefile b/net/py-geventhttpclient/Makefile new file mode 100644 index 00000000000..16edb52cc13 --- /dev/null +++ b/net/py-geventhttpclient/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2017/07/14 10:44:59 adam Exp $ + +DISTNAME= geventhttpclient-1.3.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= net python +MASTER_SITES= ${MASTER_SITE_PYPI:=g/geventhttpclient/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/gwik/geventhttpclient +COMMENT= HTTP client library for gevent +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-gevent>=0.13:../../net/py-gevent +DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six + +post-extract: + ${RM} -f -r ${WRKSRC}/src/geventhttpclient/tests/__pycache__ + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/py-geventhttpclient/PLIST b/net/py-geventhttpclient/PLIST new file mode 100644 index 00000000000..898453bcb2d --- /dev/null +++ b/net/py-geventhttpclient/PLIST @@ -0,0 +1,64 @@ +@comment $NetBSD: PLIST,v 1.1 2017/07/14 10:44:59 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}/geventhttpclient/__init__.py +${PYSITELIB}/geventhttpclient/__init__.pyc +${PYSITELIB}/geventhttpclient/__init__.pyo +${PYSITELIB}/geventhttpclient/_parser.so +${PYSITELIB}/geventhttpclient/client.py +${PYSITELIB}/geventhttpclient/client.pyc +${PYSITELIB}/geventhttpclient/client.pyo +${PYSITELIB}/geventhttpclient/connectionpool.py +${PYSITELIB}/geventhttpclient/connectionpool.pyc +${PYSITELIB}/geventhttpclient/connectionpool.pyo +${PYSITELIB}/geventhttpclient/header.py +${PYSITELIB}/geventhttpclient/header.pyc +${PYSITELIB}/geventhttpclient/header.pyo +${PYSITELIB}/geventhttpclient/httplib.py +${PYSITELIB}/geventhttpclient/httplib.pyc +${PYSITELIB}/geventhttpclient/httplib.pyo +${PYSITELIB}/geventhttpclient/response.py +${PYSITELIB}/geventhttpclient/response.pyc +${PYSITELIB}/geventhttpclient/response.pyo +${PYSITELIB}/geventhttpclient/tests/oncert.pem +${PYSITELIB}/geventhttpclient/tests/server.crt +${PYSITELIB}/geventhttpclient/tests/server.key +${PYSITELIB}/geventhttpclient/tests/test_client.py +${PYSITELIB}/geventhttpclient/tests/test_client.pyc +${PYSITELIB}/geventhttpclient/tests/test_client.pyo +${PYSITELIB}/geventhttpclient/tests/test_headers.py +${PYSITELIB}/geventhttpclient/tests/test_headers.pyc +${PYSITELIB}/geventhttpclient/tests/test_headers.pyo +${PYSITELIB}/geventhttpclient/tests/test_httplib.py +${PYSITELIB}/geventhttpclient/tests/test_httplib.pyc +${PYSITELIB}/geventhttpclient/tests/test_httplib.pyo +${PYSITELIB}/geventhttpclient/tests/test_keep_alive.py +${PYSITELIB}/geventhttpclient/tests/test_keep_alive.pyc +${PYSITELIB}/geventhttpclient/tests/test_keep_alive.pyo +${PYSITELIB}/geventhttpclient/tests/test_network_failures.py +${PYSITELIB}/geventhttpclient/tests/test_network_failures.pyc +${PYSITELIB}/geventhttpclient/tests/test_network_failures.pyo +${PYSITELIB}/geventhttpclient/tests/test_no_module_ssl.py +${PYSITELIB}/geventhttpclient/tests/test_no_module_ssl.pyc +${PYSITELIB}/geventhttpclient/tests/test_no_module_ssl.pyo +${PYSITELIB}/geventhttpclient/tests/test_parser.py +${PYSITELIB}/geventhttpclient/tests/test_parser.pyc +${PYSITELIB}/geventhttpclient/tests/test_parser.pyo +${PYSITELIB}/geventhttpclient/tests/test_ssl.py +${PYSITELIB}/geventhttpclient/tests/test_ssl.pyc +${PYSITELIB}/geventhttpclient/tests/test_ssl.pyo +${PYSITELIB}/geventhttpclient/tests/test_url.py +${PYSITELIB}/geventhttpclient/tests/test_url.pyc +${PYSITELIB}/geventhttpclient/tests/test_url.pyo +${PYSITELIB}/geventhttpclient/tests/test_useragent.py +${PYSITELIB}/geventhttpclient/tests/test_useragent.pyc +${PYSITELIB}/geventhttpclient/tests/test_useragent.pyo +${PYSITELIB}/geventhttpclient/url.py +${PYSITELIB}/geventhttpclient/url.pyc +${PYSITELIB}/geventhttpclient/url.pyo +${PYSITELIB}/geventhttpclient/useragent.py +${PYSITELIB}/geventhttpclient/useragent.pyc +${PYSITELIB}/geventhttpclient/useragent.pyo diff --git a/net/py-geventhttpclient/distinfo b/net/py-geventhttpclient/distinfo new file mode 100644 index 00000000000..ff8f28c4182 --- /dev/null +++ b/net/py-geventhttpclient/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/07/14 10:44:59 adam Exp $ + +SHA1 (geventhttpclient-1.3.1.tar.gz) = 53dc3c1b4aa7067d7ca25af22ea2cbb3149ac9fe +RMD160 (geventhttpclient-1.3.1.tar.gz) = 85995648524cbc5ba855d2d34ed13e2999481e69 +SHA512 (geventhttpclient-1.3.1.tar.gz) = a50486e1485c449a821176f0aa139cb05a3c7675fb045086e086cc7bb71d6e1d75191fae6972b381e7e69dba89d23c387464503845badd29fa361e03aa866079 +Size (geventhttpclient-1.3.1.tar.gz) = 82598 bytes |