summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-06-03 14:18:43 +0000
committeradam <adam@pkgsrc.org>2020-06-03 14:18:43 +0000
commit6b9259b33b554661fd77b106c8cd718a9c2cc1eb (patch)
tree4eb43b4b0614e469fe9a80df0885aae325ff6257 /www
parent2e63680b827029afab2af51a90164e83e98dfe32 (diff)
downloadpkgsrc-6b9259b33b554661fd77b106c8cd718a9c2cc1eb.tar.gz
py-httpcore: added version 0.9.1
The HTTP Core package provides a minimal low-level HTTP client, which does one thing only. Sending HTTP requests. It does not provide any high level model abstractions over the API, does not handle redirects, multipart uploads, building authentication headers, transparent HTTP caching, URL parsing, session cookie handling, content or charset decoding, handling JSON, environment based configuration defaults, or any of that Jazz. Some things HTTP Core does do: * Sending HTTP requests. * Provides both sync and async interfaces. * Supports HTTP/1.1 and HTTP/2. * Async backend support for asyncio and trio. * Automatic connection pooling. * HTTP(S) proxy support.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile3
-rw-r--r--www/py-httpcore/DESCR16
-rw-r--r--www/py-httpcore/Makefile22
-rw-r--r--www/py-httpcore/PLIST83
-rw-r--r--www/py-httpcore/distinfo6
5 files changed, 129 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile
index 86e60d5e7e9..2574f905e1c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1459 2020/05/28 11:39:40 nia Exp $
+# $NetBSD: Makefile,v 1.1460 2020/06/03 14:18:43 adam Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -746,6 +746,7 @@ SUBDIR+= py-hstspreload
SUBDIR+= py-http-parser
SUBDIR+= py-http_ece
SUBDIR+= py-httpbin
+SUBDIR+= py-httpcore
SUBDIR+= py-httpie
SUBDIR+= py-httplib2
SUBDIR+= py-httptools
diff --git a/www/py-httpcore/DESCR b/www/py-httpcore/DESCR
new file mode 100644
index 00000000000..f36ef4c2f56
--- /dev/null
+++ b/www/py-httpcore/DESCR
@@ -0,0 +1,16 @@
+The HTTP Core package provides a minimal low-level HTTP client, which does one
+thing only. Sending HTTP requests.
+
+It does not provide any high level model abstractions over the API, does not
+handle redirects, multipart uploads, building authentication headers,
+transparent HTTP caching, URL parsing, session cookie handling, content or
+charset decoding, handling JSON, environment based configuration defaults, or
+any of that Jazz.
+
+Some things HTTP Core does do:
+* Sending HTTP requests.
+* Provides both sync and async interfaces.
+* Supports HTTP/1.1 and HTTP/2.
+* Async backend support for asyncio and trio.
+* Automatic connection pooling.
+* HTTP(S) proxy support.
diff --git a/www/py-httpcore/Makefile b/www/py-httpcore/Makefile
new file mode 100644
index 00000000000..b8bc72809f5
--- /dev/null
+++ b/www/py-httpcore/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/06/03 14:18:43 adam Exp $
+
+DISTNAME= httpcore-0.9.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpcore/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/encode/httpcore
+COMMENT= Minimal low-level HTTP client
+LICENSE= modified-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-h11>=0.8.0:../../www/py-h11
+DEPENDS+= ${PYPKGPREFIX}-h2>=3.0:../../www/py-h2
+DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.0.0:../../misc/py-sniffio
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-httpcore/PLIST b/www/py-httpcore/PLIST
new file mode 100644
index 00000000000..bc77e4e987f
--- /dev/null
+++ b/www/py-httpcore/PLIST
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/03 14:18:43 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/httpcore/__init__.py
+${PYSITELIB}/httpcore/__init__.pyc
+${PYSITELIB}/httpcore/__init__.pyo
+${PYSITELIB}/httpcore/_async/__init__.py
+${PYSITELIB}/httpcore/_async/__init__.pyc
+${PYSITELIB}/httpcore/_async/__init__.pyo
+${PYSITELIB}/httpcore/_async/base.py
+${PYSITELIB}/httpcore/_async/base.pyc
+${PYSITELIB}/httpcore/_async/base.pyo
+${PYSITELIB}/httpcore/_async/connection.py
+${PYSITELIB}/httpcore/_async/connection.pyc
+${PYSITELIB}/httpcore/_async/connection.pyo
+${PYSITELIB}/httpcore/_async/connection_pool.py
+${PYSITELIB}/httpcore/_async/connection_pool.pyc
+${PYSITELIB}/httpcore/_async/connection_pool.pyo
+${PYSITELIB}/httpcore/_async/http11.py
+${PYSITELIB}/httpcore/_async/http11.pyc
+${PYSITELIB}/httpcore/_async/http11.pyo
+${PYSITELIB}/httpcore/_async/http2.py
+${PYSITELIB}/httpcore/_async/http2.pyc
+${PYSITELIB}/httpcore/_async/http2.pyo
+${PYSITELIB}/httpcore/_async/http_proxy.py
+${PYSITELIB}/httpcore/_async/http_proxy.pyc
+${PYSITELIB}/httpcore/_async/http_proxy.pyo
+${PYSITELIB}/httpcore/_backends/__init__.py
+${PYSITELIB}/httpcore/_backends/__init__.pyc
+${PYSITELIB}/httpcore/_backends/__init__.pyo
+${PYSITELIB}/httpcore/_backends/asyncio.py
+${PYSITELIB}/httpcore/_backends/asyncio.pyc
+${PYSITELIB}/httpcore/_backends/asyncio.pyo
+${PYSITELIB}/httpcore/_backends/auto.py
+${PYSITELIB}/httpcore/_backends/auto.pyc
+${PYSITELIB}/httpcore/_backends/auto.pyo
+${PYSITELIB}/httpcore/_backends/base.py
+${PYSITELIB}/httpcore/_backends/base.pyc
+${PYSITELIB}/httpcore/_backends/base.pyo
+${PYSITELIB}/httpcore/_backends/sync.py
+${PYSITELIB}/httpcore/_backends/sync.pyc
+${PYSITELIB}/httpcore/_backends/sync.pyo
+${PYSITELIB}/httpcore/_backends/trio.py
+${PYSITELIB}/httpcore/_backends/trio.pyc
+${PYSITELIB}/httpcore/_backends/trio.pyo
+${PYSITELIB}/httpcore/_exceptions.py
+${PYSITELIB}/httpcore/_exceptions.pyc
+${PYSITELIB}/httpcore/_exceptions.pyo
+${PYSITELIB}/httpcore/_sync/__init__.py
+${PYSITELIB}/httpcore/_sync/__init__.pyc
+${PYSITELIB}/httpcore/_sync/__init__.pyo
+${PYSITELIB}/httpcore/_sync/base.py
+${PYSITELIB}/httpcore/_sync/base.pyc
+${PYSITELIB}/httpcore/_sync/base.pyo
+${PYSITELIB}/httpcore/_sync/connection.py
+${PYSITELIB}/httpcore/_sync/connection.pyc
+${PYSITELIB}/httpcore/_sync/connection.pyo
+${PYSITELIB}/httpcore/_sync/connection_pool.py
+${PYSITELIB}/httpcore/_sync/connection_pool.pyc
+${PYSITELIB}/httpcore/_sync/connection_pool.pyo
+${PYSITELIB}/httpcore/_sync/http11.py
+${PYSITELIB}/httpcore/_sync/http11.pyc
+${PYSITELIB}/httpcore/_sync/http11.pyo
+${PYSITELIB}/httpcore/_sync/http2.py
+${PYSITELIB}/httpcore/_sync/http2.pyc
+${PYSITELIB}/httpcore/_sync/http2.pyo
+${PYSITELIB}/httpcore/_sync/http_proxy.py
+${PYSITELIB}/httpcore/_sync/http_proxy.pyc
+${PYSITELIB}/httpcore/_sync/http_proxy.pyo
+${PYSITELIB}/httpcore/_threadlock.py
+${PYSITELIB}/httpcore/_threadlock.pyc
+${PYSITELIB}/httpcore/_threadlock.pyo
+${PYSITELIB}/httpcore/_types.py
+${PYSITELIB}/httpcore/_types.pyc
+${PYSITELIB}/httpcore/_types.pyo
+${PYSITELIB}/httpcore/_utils.py
+${PYSITELIB}/httpcore/_utils.pyc
+${PYSITELIB}/httpcore/_utils.pyo
+${PYSITELIB}/httpcore/py.typed
diff --git a/www/py-httpcore/distinfo b/www/py-httpcore/distinfo
new file mode 100644
index 00000000000..63cb198c655
--- /dev/null
+++ b/www/py-httpcore/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/06/03 14:18:43 adam Exp $
+
+SHA1 (httpcore-0.9.1.tar.gz) = 7a8013ad9010f7eb9cf3473208910b4b54ff6ef3
+RMD160 (httpcore-0.9.1.tar.gz) = 4e2d6d3a552d801c993f9b763ecf46b1a3343546
+SHA512 (httpcore-0.9.1.tar.gz) = 53bb0ece7869bdbe249659f11f7972b14ba00ee97c5692c1fec44febbc8300e9495aa72e3c63291983c75a4e249702655eb7e26f86b1e718e2f34bc6851d1b3e
+Size (httpcore-0.9.1.tar.gz) = 31911 bytes