summaryrefslogtreecommitdiff
path: root/dev-python/httpx
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-12-04 13:41:07 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-12-04 13:41:07 +0000
commit20cc77db6099f34fd9eb7575f42464fbf5098a4c (patch)
treec14a5fac447a0c5a3c460c7b3fd9359c40d584e7 /dev-python/httpx
parent01bf4bc0976510b38480b774b2dd23fd233d4e7a (diff)
downloadbaldeagleos-repo-20cc77db6099f34fd9eb7575f42464fbf5098a4c.tar.gz
baldeagleos-repo-20cc77db6099f34fd9eb7575f42464fbf5098a4c.tar.xz
baldeagleos-repo-20cc77db6099f34fd9eb7575f42464fbf5098a4c.zip
Adding metadata
Diffstat (limited to 'dev-python/httpx')
-rw-r--r--dev-python/httpx/httpx-0.19.0.ebuild27
1 files changed, 14 insertions, 13 deletions
diff --git a/dev-python/httpx/httpx-0.19.0.ebuild b/dev-python/httpx/httpx-0.19.0.ebuild
index e849dab76d0f..96128c67e4fa 100644
--- a/dev-python/httpx/httpx-0.19.0.ebuild
+++ b/dev-python/httpx/httpx-0.19.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ppc ppc64 sparc x86"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
@@ -41,19 +41,20 @@ BDEPEND="
distutils_enable_tests pytest
+EPYTEST_DESELECT=(
+ # Internet
+ tests/client/test_proxies.py::test_async_proxy_close
+ tests/client/test_proxies.py::test_sync_proxy_close
+ # known to fail, unimportant test
+ "tests/test_decoders.py::test_text_decoder[data3-iso-8859-1]"
+ tests/models/test_responses.py::test_response_no_charset_with_iso_8859_1_content
+)
+
python_prepare_all() {
+ # increase timeout for slower systems
+ sed -e 's/pool=/&10*/' -i tests/test_timeouts.py || die
# trio does not support py3.10
- sed -i '/^import trio/d' tests/concurrency.py || die
- sed -i '/pytest.param("trio", marks=pytest.mark.trio)/d' tests/conftest.py || die
+ sed -e '/^import trio/d' -i tests/concurrency.py || die
+ sed -e '/pytest.param("trio", marks=pytest.mark.trio)/d' -i tests/conftest.py || die
distutils-r1_python_prepare_all
}
-
-python_test() {
- local deselect=(
- # Internet
- tests/client/test_proxies.py::test_async_proxy_close
- tests/client/test_proxies.py::test_sync_proxy_close
- )
-
- epytest ${deselect[@]/#/--deselect }
-}