From: Patrick McLean Date: Tue, 3 Dec 2019 19:10:17 +0000 (-0800) Subject: dev-python/characteristic: Add RESTRICT="!test? ( test )" X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=80a58571d612199110847b79431f4a263097e5bf;p=gentoo.git 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 --- diff --git a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild index a3a39944ebe7..ca90563a2e66 100644 --- a/dev-python/characteristic/characteristic-14.3.0-r1.ebuild +++ b/dev-python/characteristic/characteristic-14.3.0-r1.ebuild @@ -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 diff --git a/dev-python/characteristic/characteristic-14.3.0-r2.ebuild b/dev-python/characteristic/characteristic-14.3.0-r2.ebuild index 6a8425596f9d..d11fc76b6bd1 100644 --- a/dev-python/characteristic/characteristic-14.3.0-r2.ebuild +++ b/dev-python/characteristic/characteristic-14.3.0-r2.ebuild @@ -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