git: 3e980b25c98a - main - devel/py-geventhttpclient: Add py-geventhttpclient 2.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Oct 2022 15:38:54 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3e980b25c98ad905dcf0a2168ae019328271c317
commit 3e980b25c98ad905dcf0a2168ae019328271c317
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-10-09 15:19:07 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:37:43 +0000
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.
---
devel/Makefile | 1 +
devel/py-geventhttpclient/Makefile | 25 +++++++++++++++++++++++++
devel/py-geventhttpclient/distinfo | 3 +++
devel/py-geventhttpclient/pkg-descr | 12 ++++++++++++
4 files changed, 41 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 6408a48bd647..ce75868ae15d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-geventhttpclient/Makefile b/devel/py-geventhttpclient/Makefile
new file mode 100644
index 000000000000..6886ccfe55ce
--- /dev/null
+++ b/devel/py-geventhttpclient/Makefile
@@ -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>
diff --git a/devel/py-geventhttpclient/distinfo b/devel/py-geventhttpclient/distinfo
new file mode 100644
index 000000000000..15b58a074c21
--- /dev/null
+++ b/devel/py-geventhttpclient/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1665073070
+SHA256 (geventhttpclient-2.0.2.tar.gz) = 8135a85200b170def7293d01dd1557931fcd1bec1ac78c52ad7cedd22368b9ba
+SIZE (geventhttpclient-2.0.2.tar.gz) = 73821
diff --git a/devel/py-geventhttpclient/pkg-descr b/devel/py-geventhttpclient/pkg-descr
new file mode 100644
index 000000000000..e85c96a0942e
--- /dev/null
+++ b/devel/py-geventhttpclient/pkg-descr
@@ -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.