pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net A high performance, concurrent HTTP client library...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e98ccd29b8ff
branches:  trunk
changeset: 365346:e98ccd29b8ff
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jul 14 10:44:59 2017 +0000

description:
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:

 net/Makefile                     |   3 +-
 net/py-geventhttpclient/DESCR    |  15 +++++++++
 net/py-geventhttpclient/Makefile |  21 +++++++++++++
 net/py-geventhttpclient/PLIST    |  64 ++++++++++++++++++++++++++++++++++++++++
 net/py-geventhttpclient/distinfo |   6 +++
 5 files changed, 108 insertions(+), 1 deletions(-)

diffs (139 lines):

diff -r 557b2df30b31 -r e98ccd29b8ff net/Makefile
--- a/net/Makefile      Fri Jul 14 10:30:25 2017 +0000
+++ b/net/Makefile      Fri Jul 14 10:44:59 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1167 2017/07/09 06:53:06 adam Exp $
+# $NetBSD: Makefile,v 1.1168 2017/07/14 10:44:59 adam Exp $
 #
 
 COMMENT=       Networking tools
@@ -634,6 +634,7 @@
 SUBDIR+=       py-foolscap
 SUBDIR+=       py-gandi.cli
 SUBDIR+=       py-gevent
+SUBDIR+=       py-geventhttpclient
 SUBDIR+=       py-google
 SUBDIR+=       py-google-cloud-sdk
 SUBDIR+=       py-hatop
diff -r 557b2df30b31 -r e98ccd29b8ff net/py-geventhttpclient/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-geventhttpclient/DESCR     Fri Jul 14 10:44:59 2017 +0000
@@ -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 -r 557b2df30b31 -r e98ccd29b8ff net/py-geventhttpclient/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-geventhttpclient/Makefile  Fri Jul 14 10:44:59 2017 +0000
@@ -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@localhost
+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 -r 557b2df30b31 -r e98ccd29b8ff net/py-geventhttpclient/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-geventhttpclient/PLIST     Fri Jul 14 10:44:59 2017 +0000
@@ -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 -r 557b2df30b31 -r e98ccd29b8ff net/py-geventhttpclient/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-geventhttpclient/distinfo  Fri Jul 14 10:44:59 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index