diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-26 14:20:48 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-26 15:36:58 +0100 |
commit | 55ba121828ee329be525d87dcd5a1d520dd8196d (patch) | |
tree | 8c14ba27a3f3bddac358d872a61a874f7374cc92 /dev-python/mypy | |
parent | dev-python/pyqtgraph: Fix PyQt5 USE flags for tests (diff) | |
download | gentoo-55ba121828ee329be525d87dcd5a1d520dd8196d.tar.gz gentoo-55ba121828ee329be525d87dcd5a1d520dd8196d.tar.bz2 gentoo-55ba121828ee329be525d87dcd5a1d520dd8196d.zip |
dev-python/mypy: Try harder to disable C extensions
Closes: https://bugs.gentoo.org/773088
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mypy')
-rw-r--r-- | dev-python/mypy/mypy-0.812-r1.ebuild (renamed from dev-python/mypy/mypy-0.812.ebuild) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-python/mypy/mypy-0.812.ebuild b/dev-python/mypy/mypy-0.812-r1.ebuild index e8bc5be1d05a..3daf7dceb373 100644 --- a/dev-python/mypy/mypy-0.812.ebuild +++ b/dev-python/mypy/mypy-0.812-r1.ebuild @@ -49,12 +49,13 @@ src_unpack() { default rmdir "${S}/mypy/typeshed" || die mv "${WORKDIR}/typeshed-${TYPESHED_COMMIT}" "${S}/mypy/typeshed" || die + + export MYPY_USE_MYPYC=0 } python_test() { # Some mypy/test/testcmdline.py::PythonCmdlineSuite tests # fail with high COLUMNS values local -x COLUMNS=80 - pytest -vv -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || - die "Tests failed with ${EPYTHON}" + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" } |