commit:     a8d53151bf1aa7b49945e25c990881a71e9229f2
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 18 07:05:59 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 18 07:06:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d53151

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 <AT> gentoo.org>

 dev-python/httpx/httpx-0.18.2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/httpx/httpx-0.18.2.ebuild 
b/dev-python/httpx/httpx-0.18.2.ebuild
index 3260f0a90bf..4504b1b31c9 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
 }
 

Reply via email to