Date: Mon, 25 May 2020 18:00:33 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536488 - in head/www: . py-httpcore Message-ID: <202005251800.04PI0XNx033591@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon May 25 18:00:32 2020 New Revision: 536488 URL: https://svnweb.freebsd.org/changeset/ports/536488 Log: Add py-httpcore 0.9.0 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. WWW: https://github.com/encode/httpcore Added: head/www/py-httpcore/ head/www/py-httpcore/Makefile (contents, props changed) head/www/py-httpcore/distinfo (contents, props changed) head/www/py-httpcore/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon May 25 17:36:44 2020 (r536487) +++ head/www/Makefile Mon May 25 18:00:32 2020 (r536488) @@ -1651,6 +1651,7 @@ SUBDIR += py-html5-parser SUBDIR += py-html5lib SUBDIR += py-httmock + SUBDIR += py-httpcore SUBDIR += py-httpie SUBDIR += py-httplib2 SUBDIR += py-httptools Added: head/www/py-httpcore/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-httpcore/Makefile Mon May 25 18:00:32 2020 (r536488) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= httpcore +PORTVERSION= 0.9.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Minimal low-level HTTP client + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h11>=0.8<0.10:net/py-h11@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}h2>=3.0<4:www/py-h2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sniffio>=1.0<2:devel/py-sniffio@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/www/py-httpcore/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-httpcore/distinfo Mon May 25 18:00:32 2020 (r536488) @@ -0,0 +1,3 @@ +TIMESTAMP = 1590421088 +SHA256 (httpcore-0.9.0.tar.gz) = f77ea2e5fecd58d2b049a2efd706788b1808b73c2367479a0f4a49f6e391cba7 +SIZE (httpcore-0.9.0.tar.gz) = 31794 Added: head/www/py-httpcore/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-httpcore/pkg-descr Mon May 25 18:00:32 2020 (r536488) @@ -0,0 +1,18 @@ +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. + +WWW: https://github.com/encode/httpcore
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005251800.04PI0XNx033591>