aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-08-14 20:07:36 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-08-14 20:07:36 +0200
commit00ba53b30968ea8ce8faabee0499d9bcd06f2db4 (patch)
treee5ca2b88524248131f2078fd3b31ea3bbd9f5678 /dev-python
parentdev-python/httpx: add py3.8 (diff)
downloadguru-00ba53b30968ea8ce8faabee0499d9bcd06f2db4.tar.gz
guru-00ba53b30968ea8ce8faabee0499d9bcd06f2db4.tar.bz2
guru-00ba53b30968ea8ce8faabee0499d9bcd06f2db4.zip
dev-python/httpcore: version bump, drop py3.6
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/httpcore/Manifest1
-rw-r--r--dev-python/httpcore/httpcore-0.10.1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
index 579b3b55..5317da8a 100644
--- a/dev-python/httpcore/Manifest
+++ b/dev-python/httpcore/Manifest
@@ -1,2 +1,3 @@
+DIST httpcore-0.10.1.tar.gz 42164 BLAKE2B 939dac21235f56e0d39ee4cbe7dca9f686fb086598c35d5335532baaa4fb36e904f9cb9676ba8c412deb5f560a1b379d599993148fda11e74a18a37743613ee5 SHA512 1eddc62f0b2a0c48166de0d2f1717de7db2dd1e1ae959d07ed74e19e098fb5470c4a94348d33614226671870edf134288808aea332abb71f776bb733ff26053f
DIST httpcore-0.7.0.tar.gz 27932 BLAKE2B f3258a9f83a37bcf62422c6f6c5a911712afa1038378ef64aeda45c9b3e700d0e809e3526f2bc33633ce4dc827465d99298597a8b26b6cb13696f9663fcd5a87 SHA512 f5419ebbe6ff42e782bea127ca778de1d42637a15e0152d69e6b58ca7e3687d560a4b132781390a853595ec7d18a0fa567d5b752debbb7be7f5cc822a5eac3fd
DIST httpcore-0.9.1.tar.gz 35371 BLAKE2B 8f7416c1e726892b152e7e9623790ac1e70b9142f45028b23df25f1d54b6f113f1a79839ec2a7d90b196197d53c880847526c2e47e07d52a0e104a9e2849bccf SHA512 5105ff0c19b8a4a34080e79aa1d191199131450e658fbe0949b091e5acfb9cd8b11033757a3bd7dd1490e5fb61352eb44d086babd70d22be33479befd16745fd
diff --git a/dev-python/httpcore/httpcore-0.10.1.ebuild b/dev-python/httpcore/httpcore-0.10.1.ebuild
new file mode 100644
index 00000000..0f7154b5
--- /dev/null
+++ b/dev-python/httpcore/httpcore-0.10.1.ebuild
@@ -0,0 +1,47 @@
+# 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 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/isort[${PYTHON_USEDEP}]
+ dev-python/mypy[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-trio[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest