Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpx/
Date: Fri, 18 Jun 2021 07:06:29
Message-Id: 1623999982.a8d53151bf1aa7b49945e25c990881a71e9229f2.andrewammerlaan@gentoo
1 commit: a8d53151bf1aa7b49945e25c990881a71e9229f2
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 18 07:05:59 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 18 07:06:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d53151
7
8 dev-python/httpx: skip trio tests
9
10 trio is not (yet) packaged, no py3.9 compatible release at the moment
11
12 Closes: https://bugs.gentoo.org/796515
13 Package-Manager: Portage-3.0.20, Repoman-3.0.3
14 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
15
16 dev-python/httpx/httpx-0.18.2.ebuild | 7 ++++++-
17 1 file changed, 6 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-python/httpx/httpx-0.18.2.ebuild b/dev-python/httpx/httpx-0.18.2.ebuild
20 index 3260f0a90bf..4504b1b31c9 100644
21 --- a/dev-python/httpx/httpx-0.18.2.ebuild
22 +++ b/dev-python/httpx/httpx-0.18.2.ebuild
23 @@ -3,9 +3,13 @@
24
25 EAPI=7
26
27 +# Docs builder mkdocs not keyworded on all these arches yet
28 +# DOCS_BUILDER="mkdocs"
29 +# DOCS_DEPEND="dev-python/mkdocs-material"
30 +# DOCS_AUTODOC=1
31 PYTHON_COMPAT=( python3_{8..9} )
32
33 -inherit distutils-r1
34 +inherit distutils-r1 # docs
35
36 DESCRIPTION="Fully-featured HTTP client which provides sync and async APIs"
37 HOMEPAGE="https://www.python-httpx.org/"
38 @@ -38,6 +42,7 @@ distutils_enable_tests pytest
39 python_prepare_all() {
40 # trio is not currently in the tree
41 sed -i '/^import trio/d' tests/concurrency.py || die
42 + sed -i '/pytest.param("trio", marks=pytest.mark.trio)/d' tests/conftest.py || die
43 distutils-r1_python_prepare_all
44 }