diff --git a/dev-python/httpx/Manifest b/dev-python/httpx/Manifest index d86f565be2..7cd7a928ac 100644 --- a/dev-python/httpx/Manifest +++ b/dev-python/httpx/Manifest @@ -1,3 +1,4 @@ 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.1.tar.gz 176011 BLAKE2B 9bbb8296a3acc6268a6d9cd577825543620ed9b2f577c7ee906f6d95bf3cec206b708b3d16eb9cc2f83d7a2eee32ec6bfced9ce3edb634689a61861d70753ab5 SHA512 f6647f1eaf406da93cf82de13e82a7b8f82af8101d939a33aeab40f17a4595875e2019f4c4591c45702cae99d861b50f4a60dcae4c7feb6ac28f0fde8eae8a87 DIST httpx-0.9.3.tar.gz 170954 BLAKE2B 420993bc556e510d8f0d1ff0f3f200d9dce98c1475d40a1f7f5047cd34600bade5e184485d88642169685bf903dedc46d988e608d1f93f718cdb550801c1bb8e SHA512 171e4ea2a19882c90ced9af995e5ecce1ff27308f95f027ddc7197a599624125d94f70f9f0a0672b6a04db0569f1eaa05a935fd8d43f517335fe26b30dc53d1a diff --git a/dev-python/httpx/httpx-0.13.1.ebuild b/dev-python/httpx/httpx-0.13.1.ebuild new file mode 100644 index 0000000000..910989b9ef --- /dev/null +++ b/dev-python/httpx/httpx-0.13.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +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[${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 +}