From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35FE4138350 for ; Fri, 27 Mar 2020 17:53:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12ECDE1099; Fri, 27 Mar 2020 17:53:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D33C6E1098 for ; Fri, 27 Mar 2020 17:53:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3D5E34F91F for ; Fri, 27 Mar 2020 17:53:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E14E1B1 for ; Fri, 27 Mar 2020 17:53:00 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1585331272.549db11f7b92fe6efe851f8589a08f75eba0104e.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/httpx/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/httpx/Manifest dev-python/httpx/httpx-0.11.1.ebuild dev-python/httpx/httpx-0.12.0.ebuild dev-python/httpx/httpx-0.9.3.ebuild dev-python/httpx/metadata.xml X-VCS-Directories: dev-python/httpx/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 549db11f7b92fe6efe851f8589a08f75eba0104e X-VCS-Branch: dev Date: Fri, 27 Mar 2020 17:53:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a5167a40-3b3d-4269-8edc-99e33406b3b2 X-Archives-Hash: 1b232192bd10d6e1a72b0aef91964041 commit: 549db11f7b92fe6efe851f8589a08f75eba0104e Author: Alessandro Barbieri gmail com> AuthorDate: Fri Mar 27 17:47:52 2020 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Fri Mar 27 17:47:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=549db11f dev-python/httpx: longdescription, homepages Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/httpx/Manifest | 1 + dev-python/httpx/httpx-0.11.1.ebuild | 12 +++--- dev-python/httpx/httpx-0.12.0.ebuild | 12 +++--- .../{httpx-0.11.1.ebuild => httpx-0.9.3.ebuild} | 23 +++++++----- dev-python/httpx/metadata.xml | 43 ++++++++++++++++++++-- 5 files changed, 68 insertions(+), 23 deletions(-) diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index c6114ba..1a91ccb 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1,2 +1,3 @@ DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad DIST httpx-0.12.0.tar.gz 186138 BLAKE2B d350a156e1663a197e2f7ab43531735e08da0d5b68df2d75e8cd2396b82095668318ecc0ca0558736f97f56ad72970ebf36fe34706b3d65e6d59fabd0ba75431 SHA512 a50c6a1686f3224ad906383d6d25cde8006d4514a9d079be06e9c255f4efdc9b1859e5523d39be484c09c930d1cf84feb15374d7d0904a6c1d903b62b7caa9f5 +DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a diff --git a/dev-python/httpx/httpx-0.11.1.ebuild b/dev-python/httpx/httpx-0.11.1.ebuild index e3e5ce2..73e9708 100644 --- a/dev-python/httpx/httpx-0.11.1.ebuild +++ b/dev-python/httpx/httpx-0.11.1.ebuild @@ -3,13 +3,16 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 DESCRIPTION="A next generation HTTP client for Python" -HOMEPAGE="https://www.python-httpx.org - https://github.com/encode/httpx" +HOMEPAGE=" + https://www.python-httpx.org + https://github.com/encode/httpx + https://pypi.org/project/httpx +" SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" @@ -38,7 +41,6 @@ DEPEND="test? ( dev-python/brotlipy[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] dev-python/isort[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] dev-python/mypy[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/trio[${PYTHON_USEDEP}] @@ -54,7 +56,7 @@ python_prepare_all() { # requires internet connection sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ -e 's:test_start_tls_on_uds_socket_stream:_&:' \ - tests/test_concurrency.py || die + tests/test_concurrency.py || die sed -i -e 's:test_http2_live_request:_&:' \ tests/dispatch/test_http2.py || die diff --git a/dev-python/httpx/httpx-0.12.0.ebuild b/dev-python/httpx/httpx-0.12.0.ebuild index e3e5ce2..73e9708 100644 --- a/dev-python/httpx/httpx-0.12.0.ebuild +++ b/dev-python/httpx/httpx-0.12.0.ebuild @@ -3,13 +3,16 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 DESCRIPTION="A next generation HTTP client for Python" -HOMEPAGE="https://www.python-httpx.org - https://github.com/encode/httpx" +HOMEPAGE=" + https://www.python-httpx.org + https://github.com/encode/httpx + https://pypi.org/project/httpx +" SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" @@ -38,7 +41,6 @@ DEPEND="test? ( dev-python/brotlipy[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] dev-python/isort[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] dev-python/mypy[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/trio[${PYTHON_USEDEP}] @@ -54,7 +56,7 @@ python_prepare_all() { # requires internet connection sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ -e 's:test_start_tls_on_uds_socket_stream:_&:' \ - tests/test_concurrency.py || die + tests/test_concurrency.py || die sed -i -e 's:test_http2_live_request:_&:' \ tests/dispatch/test_http2.py || die diff --git a/dev-python/httpx/httpx-0.11.1.ebuild b/dev-python/httpx/httpx-0.9.3.ebuild similarity index 82% copy from dev-python/httpx/httpx-0.11.1.ebuild copy to dev-python/httpx/httpx-0.9.3.ebuild index e3e5ce2..0a31dfc 100644 --- a/dev-python/httpx/httpx-0.11.1.ebuild +++ b/dev-python/httpx/httpx-0.9.3.ebuild @@ -3,13 +3,16 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 DESCRIPTION="A next generation HTTP client for Python" -HOMEPAGE="https://www.python-httpx.org - https://github.com/encode/httpx" +HOMEPAGE=" + https://www.python-httpx.org + https://github.com/encode/httpx + https://pypi.org/project/httpx +" SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" @@ -28,17 +31,19 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] dev-python/sniffio[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}]" -BDEPEND="doc? ( - dev-python/mkdocs - dev-python/mkautodoc - dev-python/mkdocs-material )" +BDEPEND=" + doc? ( + dev-python/mkautodoc[${PYTHON_USEDEP}] + dev-python/mkdocs[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + ) +" DEPEND="test? ( dev-python/attrs[${PYTHON_USEDEP}] dev-python/brotlipy[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] dev-python/isort[${PYTHON_USEDEP}] - dev-python/flake8[${PYTHON_USEDEP}] dev-python/mypy[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/trio[${PYTHON_USEDEP}] @@ -54,7 +59,7 @@ python_prepare_all() { # requires internet connection sed -i -e 's:test_start_tls_on_tcp_socket_stream:_&:' \ -e 's:test_start_tls_on_uds_socket_stream:_&:' \ - tests/test_concurrency.py || die + tests/test_concurrency.py || die sed -i -e 's:test_http2_live_request:_&:' \ tests/dispatch/test_http2.py || die diff --git a/dev-python/httpx/metadata.xml b/dev-python/httpx/metadata.xml index 628ab20..dbf80c1 100644 --- a/dev-python/httpx/metadata.xml +++ b/dev-python/httpx/metadata.xml @@ -2,8 +2,43 @@ - - andrewammerlaan@riseup.net - Andrew Ammerlaan - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + +Features + +HTTPX builds on the well-established usability of requests, and gives you: + + A broadly requests-compatible API. + Standard synchronous interface, but with async support if you need it. + HTTP/1.1 and HTTP/2 support. + Ability to make requests directly to WSGI applications or ASGI applications. + Strict timeouts everywhere. + Fully type annotated. + 99% test coverage. + +Plus all the standard features of requests... + + International Domains and URLs + Keep-Alive & Connection Pooling + Sessions with Cookie Persistence + Browser-style SSL Verification + Basic/Digest Authentication + Elegant Key/Value Cookies + Automatic Decompression + Automatic Content Decoding + Unicode Response Bodies + Multipart File Uploads + HTTP(S) Proxy Support + Connection Timeouts + Streaming Downloads + .netrc Support + Chunked Requests + + + encode/httpx + httpx +