dev-python/fields: RESTRICT="!test? ( test )"

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2019-12-03 11:13:25 -08:00
committed by Patrick McLean
parent 4a8fad9d2e
commit 3aa09b6805
2 changed files with 4 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/characteristic[${PYTHON_USEDEP}] )"
RESTRICT="!test? ( test )"
python_prepare_all() {
sed -i -e "/--benchmark-disable/d" setup.cfg || die
rm -rf tests/test_perf.py || die