dev-python/characteristic: Add RESTRICT="!test? ( test )"
authorPatrick McLean <patrick.mclean@sony.com>
Tue, 3 Dec 2019 19:10:17 +0000 (11:10 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Tue, 3 Dec 2019 19:13:39 +0000 (11:13 -0800)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-python/characteristic/characteristic-14.3.0-r1.ebuild
dev-python/characteristic/characteristic-14.3.0-r2.ebuild

index a3a39944ebe79ebf29b019f649739fcd0f35f22c..ca90563a2e66e990f3127252611ee94e0db69a2e 100644 (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
index 6a8425596f9de736af10a528db11e365d2a0bca1..d11fc76b6bd150b3cf4e2db94d0a00464b903de2 100644 (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