devel/py-geventhttpclient: Add py-geventhttpclient 2.0.2

geventhttpclient is a high performance, concurrent HTTP client library for
python using gevent.

geventhttpclient uses a fast http parser, written in C.

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.
This commit is contained in:
Po-Chuan Hsieh 2022-10-09 23:19:07 +08:00
parent 378064ea84
commit 3e980b25c9
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 41 additions and 0 deletions

View File

@ -4583,6 +4583,7 @@
SUBDIR += py-geojson
SUBDIR += py-get-reader
SUBDIR += py-gevent
SUBDIR += py-geventhttpclient
SUBDIR += py-git-semver
SUBDIR += py-git-up
SUBDIR += py-git-url-parse

View File

@ -0,0 +1,25 @@
PORTNAME= geventhttpclient
PORTVERSION= 2.0.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Http client library for gevent
WWW= https://github.com/geventhttpclient/geventhttpclient
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gevent>=0.13:devel/py-gevent@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1665073070
SHA256 (geventhttpclient-2.0.2.tar.gz) = 8135a85200b170def7293d01dd1557931fcd1bec1ac78c52ad7cedd22368b9ba
SIZE (geventhttpclient-2.0.2.tar.gz) = 73821

View File

@ -0,0 +1,12 @@
geventhttpclient is a high performance, concurrent HTTP client library for
python using gevent.
geventhttpclient uses a fast http parser, written in C.
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.