diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-29 00:45:53 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-12-01 11:31:53 +0100 |
commit | 9d4f780a50d64f19a1ce0c090de98bb04e24f3a3 (patch) | |
tree | c4e459414114e9e3c9f97a735186d6e32caac23e /dev-python/flake8 | |
parent | distutils-r1.eclass: Accept distutils_enable_tests --install (diff) | |
download | gentoo-9d4f780a50d64f19a1ce0c090de98bb04e24f3a3.tar.gz gentoo-9d4f780a50d64f19a1ce0c090de98bb04e24f3a3.tar.bz2 gentoo-9d4f780a50d64f19a1ce0c090de98bb04e24f3a3.zip |
dev-python/flake8: Use distutils_enable_tests --install
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flake8')
-rw-r--r-- | dev-python/flake8/flake8-3.8.3-r1.ebuild | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/dev-python/flake8/flake8-3.8.3-r1.ebuild b/dev-python/flake8/flake8-3.8.3-r1.ebuild index 55e6d64f8d8d..1bfc0de53548 100644 --- a/dev-python/flake8/flake8-3.8.3-r1.ebuild +++ b/dev-python/flake8/flake8-3.8.3-r1.ebuild @@ -38,10 +38,4 @@ BDEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${P}-pytest6.patch" ) distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme -distutils_enable_tests pytest - -python_test() { - # Otherwise some tests fail if the package isn't installed - distutils_install_for_testing - pytest -vv || die "Tests fail with ${EPYTHON}" -} +distutils_enable_tests --install pytest |