summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-06-18 09:05:59 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-06-18 09:06:22 +0200
commita8d53151bf1aa7b49945e25c990881a71e9229f2 (patch)
tree42f3fe2c9b13253c68bc7387963ce89ccec8d36d /dev-python/httpx
parentsys-apps/portage: 3.0.20-r3 revbump (diff)
downloadgentoo-a8d53151bf1aa7b49945e25c990881a71e9229f2.tar.gz
gentoo-a8d53151bf1aa7b49945e25c990881a71e9229f2.tar.bz2
gentoo-a8d53151bf1aa7b49945e25c990881a71e9229f2.zip
dev-python/httpx: skip trio tests
trio is not (yet) packaged, no py3.9 compatible release at the moment Closes: https://bugs.gentoo.org/796515 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/httpx')
-rw-r--r--dev-python/httpx/httpx-0.18.2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/httpx/httpx-0.18.2.ebuild b/dev-python/httpx/httpx-0.18.2.ebuild
index 3260f0a90bf5..4504b1b31c9e 100644
--- a/dev-python/httpx/httpx-0.18.2.ebuild
+++ b/dev-python/httpx/httpx-0.18.2.ebuild
@@ -3,9 +3,13 @@
EAPI=7
+# Docs builder mkdocs not keyworded on all these arches yet
+# DOCS_BUILDER="mkdocs"
+# DOCS_DEPEND="dev-python/mkdocs-material"
+# DOCS_AUTODOC=1
PYTHON_COMPAT=( python3_{8..9} )
-inherit distutils-r1
+inherit distutils-r1 # docs
DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs"
HOMEPAGE="https://www.python-httpx.org/"
@@ -38,6 +42,7 @@ distutils_enable_tests pytest
python_prepare_all() {
# trio is not currently in the tree
sed -i '/^import trio/d' tests/concurrency.py || die
+ sed -i '/pytest.param("trio", marks=pytest.mark.trio)/d' tests/conftest.py || die
distutils-r1_python_prepare_all
}