From 8ff9f45efed8f3d583ada6360005c43fd5f71c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 25 Jul 2021 12:37:29 +0200 Subject: [PATCH] dev-python/black: Install before testing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/750002 Signed-off-by: Michał Górny --- dev-python/black/black-21.6_beta0.ebuild | 1 + dev-python/black/black-21.7_beta0.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/dev-python/black/black-21.6_beta0.ebuild b/dev-python/black/black-21.6_beta0.ebuild index 0675c52604d40..43103259dffc8 100644 --- a/dev-python/black/black-21.6_beta0.ebuild +++ b/dev-python/black/black-21.6_beta0.ebuild @@ -46,6 +46,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} python_test() { cp "${S}"/src/black_primer/primer.json "${BUILD_DIR}"/lib/black_primer/primer.json || die + distutils_install_for_testing epytest -m "not python2" } diff --git a/dev-python/black/black-21.7_beta0.ebuild b/dev-python/black/black-21.7_beta0.ebuild index 90c10c9ed7aa6..290023b3cca2e 100644 --- a/dev-python/black/black-21.7_beta0.ebuild +++ b/dev-python/black/black-21.7_beta0.ebuild @@ -42,6 +42,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${MY_PV} python_test() { cp "${S}"/src/black_primer/primer.json "${BUILD_DIR}"/lib/black_primer/primer.json || die + distutils_install_for_testing epytest -m "not python2" }