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 A27E2138350 for ; Mon, 9 Mar 2020 17:55:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2A4EE0990; Mon, 9 Mar 2020 17:55:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A676FE0990 for ; Mon, 9 Mar 2020 17:55:32 +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 A995134F33A for ; Mon, 9 Mar 2020 17:55:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8F53175 for ; Mon, 9 Mar 2020 17:55:27 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1583774823.6311e8be48ae102e53e38e923e38df6bc1a24840.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master 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 X-VCS-Directories: dev-python/httpx/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 6311e8be48ae102e53e38e923e38df6bc1a24840 X-VCS-Branch: master Date: Mon, 9 Mar 2020 17:55:27 +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: b2960910-bb9a-42f9-b587-cf5651e3f4c7 X-Archives-Hash: b39a47e3e6296fcce2d345ec312f339f commit: 6311e8be48ae102e53e38e923e38df6bc1a24840 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 17:27:03 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 17:27:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6311e8be dev-python/httpx: Version bump, and enable test and doc Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/httpx/Manifest | 3 +- dev-python/httpx/httpx-0.11.1.ebuild | 47 ++++++++++++++++++++++- dev-python/httpx/httpx-0.12.0.ebuild | 72 ++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+), 2 deletions(-) diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index 6146f31..c6114ba 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1 +1,2 @@ -DIST httpx-0.11.1.tar.gz 65974 BLAKE2B fabf6f8e9b48ad3ccc79c72c42ad007819a065d74c8c0d7225550cc2e223626b896b57378ad989c7f04b17e70d1941873addcec2507afefde0801f4eaa6d3f43 SHA512 0203d348739b450fec1f386778136f8591d0177f58eff68d3887348f1e379bfd7da98b87a80b195d023ce17e1442989a52765704be18088166593211a23b84ad +DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad +DIST httpx-0.12.0.tar.gz 186138 BLAKE2B d350a156e1663a197e2f7ab43531735e08da0d5b68df2d75e8cd2396b82095668318ecc0ca0558736f97f56ad72970ebf36fe34706b3d65e6d59fabd0ba75431 SHA512 a50c6a1686f3224ad906383d6d25cde8006d4514a9d079be06e9c255f4efdc9b1859e5523d39be484c09c930d1cf84feb15374d7d0904a6c1d903b62b7caa9f5 diff --git a/dev-python/httpx/httpx-0.11.1.ebuild b/dev-python/httpx/httpx-0.11.1.ebuild index 0e11ec8..1de54b5 100644 --- a/dev-python/httpx/httpx-0.11.1.ebuild +++ b/dev-python/httpx/httpx-0.11.1.ebuild @@ -10,12 +10,15 @@ inherit distutils-r1 DESCRIPTION="A next generation HTTP client for Python" HOMEPAGE="https://www.python-httpx.org https://github.com/encode/httpx" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" KEYWORDS="~amd64 ~x86" SLOT="0" +IUSE="doc" +REQUIRED_USE="x86? ( !doc )" + RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] dev-python/chardet[${PYTHON_USEDEP}] dev-python/hstspreload[${PYTHON_USEDEP}] @@ -25,3 +28,45 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] dev-python/rfc3986[${PYTHON_USEDEP}] dev-python/sniffio[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}]" + +BDEPEND="doc? ( !x86? ( + dev-python/mkdocs + dev-python/mkautodoc + dev-python/mkdocs-material ) )" + +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}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # 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 + + sed -i -e 's:test_http2_live_request:_&:' \ + tests/dispatch/test_http2.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} diff --git a/dev-python/httpx/httpx-0.12.0.ebuild b/dev-python/httpx/httpx-0.12.0.ebuild new file mode 100644 index 0000000..1de54b5 --- /dev/null +++ b/dev-python/httpx/httpx-0.12.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A next generation HTTP client for Python" +HOMEPAGE="https://www.python-httpx.org + https://github.com/encode/httpx" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="doc" +REQUIRED_USE="x86? ( !doc )" + +RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/hstspreload[${PYTHON_USEDEP}] + dev-python/hyper-h2[${PYTHON_USEDEP}] + dev-python/h11[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/rfc3986[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}]" + +BDEPEND="doc? ( !x86? ( + dev-python/mkdocs + dev-python/mkautodoc + dev-python/mkdocs-material ) )" + +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}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # 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 + + sed -i -e 's:test_http2_live_request:_&:' \ + tests/dispatch/test_http2.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} 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 3FA8E138350 for ; Mon, 9 Mar 2020 17:28:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DB14E08AB; Mon, 9 Mar 2020 17:28:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 46E7BE08AB for ; Mon, 9 Mar 2020 17:28:32 +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 D856C34F32A for ; Mon, 9 Mar 2020 17:28:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D91CB162 for ; Mon, 9 Mar 2020 17:28:27 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1583774823.6311e8be48ae102e53e38e923e38df6bc1a24840.andrewammerlaan@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 X-VCS-Directories: dev-python/httpx/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 6311e8be48ae102e53e38e923e38df6bc1a24840 X-VCS-Branch: dev Date: Mon, 9 Mar 2020 17:28:27 +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: 8396ff21-621c-4d7f-8a57-54f835f9b8e9 X-Archives-Hash: f365cda3f7bf3a745bb67634b99294f0 Message-ID: <20200309172827.mLB4Z8zkSlyuVVwBXBef-77euRbPZw_Ftdh2R3pc3rU@z> commit: 6311e8be48ae102e53e38e923e38df6bc1a24840 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Mar 9 17:27:03 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 9 17:27:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6311e8be dev-python/httpx: Version bump, and enable test and doc Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/httpx/Manifest | 3 +- dev-python/httpx/httpx-0.11.1.ebuild | 47 ++++++++++++++++++++++- dev-python/httpx/httpx-0.12.0.ebuild | 72 ++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+), 2 deletions(-) diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index 6146f31..c6114ba 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1 +1,2 @@ -DIST httpx-0.11.1.tar.gz 65974 BLAKE2B fabf6f8e9b48ad3ccc79c72c42ad007819a065d74c8c0d7225550cc2e223626b896b57378ad989c7f04b17e70d1941873addcec2507afefde0801f4eaa6d3f43 SHA512 0203d348739b450fec1f386778136f8591d0177f58eff68d3887348f1e379bfd7da98b87a80b195d023ce17e1442989a52765704be18088166593211a23b84ad +DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad +DIST httpx-0.12.0.tar.gz 186138 BLAKE2B d350a156e1663a197e2f7ab43531735e08da0d5b68df2d75e8cd2396b82095668318ecc0ca0558736f97f56ad72970ebf36fe34706b3d65e6d59fabd0ba75431 SHA512 a50c6a1686f3224ad906383d6d25cde8006d4514a9d079be06e9c255f4efdc9b1859e5523d39be484c09c930d1cf84feb15374d7d0904a6c1d903b62b7caa9f5 diff --git a/dev-python/httpx/httpx-0.11.1.ebuild b/dev-python/httpx/httpx-0.11.1.ebuild index 0e11ec8..1de54b5 100644 --- a/dev-python/httpx/httpx-0.11.1.ebuild +++ b/dev-python/httpx/httpx-0.11.1.ebuild @@ -10,12 +10,15 @@ inherit distutils-r1 DESCRIPTION="A next generation HTTP client for Python" HOMEPAGE="https://www.python-httpx.org https://github.com/encode/httpx" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" KEYWORDS="~amd64 ~x86" SLOT="0" +IUSE="doc" +REQUIRED_USE="x86? ( !doc )" + RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] dev-python/chardet[${PYTHON_USEDEP}] dev-python/hstspreload[${PYTHON_USEDEP}] @@ -25,3 +28,45 @@ RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] dev-python/rfc3986[${PYTHON_USEDEP}] dev-python/sniffio[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}]" + +BDEPEND="doc? ( !x86? ( + dev-python/mkdocs + dev-python/mkautodoc + dev-python/mkdocs-material ) )" + +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}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # 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 + + sed -i -e 's:test_http2_live_request:_&:' \ + tests/dispatch/test_http2.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +} diff --git a/dev-python/httpx/httpx-0.12.0.ebuild b/dev-python/httpx/httpx-0.12.0.ebuild new file mode 100644 index 0000000..1de54b5 --- /dev/null +++ b/dev-python/httpx/httpx-0.12.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="A next generation HTTP client for Python" +HOMEPAGE="https://www.python-httpx.org + https://github.com/encode/httpx" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="doc" +REQUIRED_USE="x86? ( !doc )" + +RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/hstspreload[${PYTHON_USEDEP}] + dev-python/hyper-h2[${PYTHON_USEDEP}] + dev-python/h11[${PYTHON_USEDEP}] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/rfc3986[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}]" + +BDEPEND="doc? ( !x86? ( + dev-python/mkdocs + dev-python/mkautodoc + dev-python/mkdocs-material ) )" + +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}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/uvicorn[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # 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 + + sed -i -e 's:test_http2_live_request:_&:' \ + tests/dispatch/test_http2.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + mkdocs build || die "failed to make docs" + HTML_DOCS="site" + fi +}