From owner-svn-ports-all@freebsd.org Mon May 25 18:00:34 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1A3A032D941; Mon, 25 May 2020 18:00:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49W4dF7158z4FmV; Mon, 25 May 2020 18:00:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EBB6015AF1; Mon, 25 May 2020 18:00:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04PI0Xww033597; Mon, 25 May 2020 18:00:33 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04PI0XNx033591; Mon, 25 May 2020 18:00:33 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202005251800.04PI0XNx033591@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 25 May 2020 18:00:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536488 - in head/www: . py-httpcore X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . py-httpcore X-SVN-Commit-Revision: 536488 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2020 18:00:34 -0000 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 +# $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 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