dev-python/characteristic: Add 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:10:17 -08:00
committed by Patrick McLean
parent 74e52be3a7
commit 80a58571d6
2 changed files with 4 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
RESTRICT="!test? ( test )"
python_prepare_all() {
# Prevent un-needed download during build
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die

View File

@@ -22,6 +22,8 @@ DEPEND="
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
RESTRICT="!test? ( test )"
python_prepare_all() {
# Prevent un-needed download during build
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/conf.py || die