diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest index 60b92b6aaf..9fc05bcad0 100644 --- a/dev-python/httpcore/Manifest +++ b/dev-python/httpcore/Manifest @@ -1 +1,2 @@ DIST httpcore-0.7.0.tar.gz 27932 BLAKE2B f3258a9f83a37bcf62422c6f6c5a911712afa1038378ef64aeda45c9b3e700d0e809e3526f2bc33633ce4dc827465d99298597a8b26b6cb13696f9663fcd5a87 SHA512 f5419ebbe6ff42e782bea127ca778de1d42637a15e0152d69e6b58ca7e3687d560a4b132781390a853595ec7d18a0fa567d5b752debbb7be7f5cc822a5eac3fd +DIST httpcore-0.9.0.tar.gz 35349 BLAKE2B 8d543a9b8c0298a0c558ae0045dec82bdf3267acd1d683339a70fb5b8807a5c4600963a9b6c2634081f0d2c8a85015124d3ebdc58250f8a8e67c40d5a3a93d10 SHA512 b4369b8d9581521f68842431513c836ca6b2e08da54342fb7530f68e8e3bb906868858943243945c7591da175f760fcc291d2cba50b1cdb939f34bca962c80fc diff --git a/dev-python/httpcore/httpcore-0.9.0.ebuild b/dev-python/httpcore/httpcore-0.9.0.ebuild new file mode 100644 index 0000000000..7e0dad5a1f --- /dev/null +++ b/dev-python/httpcore/httpcore-0.9.0.ebuild @@ -0,0 +1,48 @@ +# 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 minimal HTTP client" +HOMEPAGE=" + https://github.com/encode/httpcore + https://pypi.org/project/httpcore +" +SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Temporary failure in name resolution +# requires masked mitmproxy +RESTRICT="test" + +RDEPEND=" + dev-python/h11[${PYTHON_USEDEP}] + dev-python/hyper-h2[${PYTHON_USEDEP}] + dev-python/sniffio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] +" + +DEPEND=" + ${RDEPEND} + test? ( + dev-python/autoflake[${PYTHON_USEDEP}] + dev-python/black[${PYTHON_USEDEP}] + dev-python/isort[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-trio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest