diff options
author | 2020-08-14 20:10:55 +0200 | |
---|---|---|
committer | 2020-08-14 20:10:55 +0200 | |
commit | 6cd2db14ca26f3b64c1e297dbd81a83cc7438778 (patch) | |
tree | 8ab4b51af9595ccae54341acd0026f8764ca5647 /dev-python | |
parent | dev-python/httpcore: version bump, drop py3.6 (diff) | |
download | guru-6cd2db14ca26f3b64c1e297dbd81a83cc7438778.tar.gz guru-6cd2db14ca26f3b64c1e297dbd81a83cc7438778.tar.bz2 guru-6cd2db14ca26f3b64c1e297dbd81a83cc7438778.zip |
dev-python/httpx: add py3.8
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/httpx/Manifest | 1 | ||||
-rw-r--r-- | dev-python/httpx/httpx-0.14.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index da415e9d0..7d31a3518 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1,4 +1,5 @@ DIST httpx-0.11.1.tar.gz 177579 BLAKE2B a5722e997a79fd9b5c701a862abb4bf70458bf57057d2a9fb9a2dccdbbca2f4f54bf59e91437ed8ff452737a3b01d69dbf4efe3ef03d49e240bc5bf54e51ebea SHA512 4da80a0232092d2423fd95d4549df79d9885e6ce34af0480f1d5a4904c9ca0fdb725b600f603c482179ea3b7c6ee5b584a70b8c0722918ba28f1bcc5c48201ad DIST httpx-0.12.1.tar.gz 186169 BLAKE2B 1b118081e55a5424eafdcf756cae8c1e9d72857d4fc24472cf118e4130bcb814e307f6fae52c0de61d89303cb1a876c8cda60fb98e138745a74712a1e7f2da08 SHA512 fe978a16f945e17a27815bc65f2adf36bd2a70b6e5e3c0ee8df83172d041c3084eaf99b10f7e015fc4a3de00ed081e83a54275256f9e85bf7cd32d553b316883 DIST httpx-0.13.3.tar.gz 176199 BLAKE2B d3a56c2386841909668e34eaa78d202f91ad900230b9d1d4254bfa08312312d020e081aea2839dbb57d85fa26ccfc3f093404801c4dd5c47051f3c9fd2746552 SHA512 54cdee16e8253c221c3298817ccf63a4a0d6755a86feea2aa5a2efe9af44eb1eb0a578b21f593fe28fceace17b0a0badb52a66965c35bf456ea57dd3b905ebbe +DIST httpx-0.14.0.tar.gz 808584 BLAKE2B 93cc96ba3862f4119bcd67dde7539aee6ecffe504f533b38ad698fe9159b18b5333719b25df739d5b3073d7e423e9798016f08b677869d4816357c986657f126 SHA512 1a49a2f112a324e6a4b4cd76a6c13bf53ab96332356c8fafa71bd37a4e6bc5f888df0c85937ac0287d7cd21f3eadb18b18155e8911550cfe48946b283309c22c DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a diff --git a/dev-python/httpx/httpx-0.14.0.ebuild b/dev-python/httpx/httpx-0.14.0.ebuild new file mode 100644 index 000000000..e10a7e8b2 --- /dev/null +++ b/dev-python/httpx/httpx-0.14.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +DOCBUILDER="mkdocs" +DOCDEPEND="dev-python/mkdocs-material" +AUTODOC=1 + +inherit distutils-r1 docs + +DESCRIPTION="A next generation HTTP client for Python" +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" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="dev-python/certifi[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/hstspreload[${PYTHON_USEDEP}] + ~dev-python/httpcore-0.10.1[${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}] +" + +DEPEND="test? ( + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/brotlipy[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/isort[${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 + + distutils-r1_python_prepare_all +} |