diff --git a/dev-python/snakeoil/snakeoil-0.7.5.ebuild b/dev-python/snakeoil/snakeoil-0.7.5.ebuild index fa95be1778c48..5a750a2759452 100644 --- a/dev-python/snakeoil/snakeoil-0.7.5.ebuild +++ b/dev-python/snakeoil/snakeoil-0.7.5.ebuild @@ -20,6 +20,7 @@ HOMEPAGE="https://github.com/pkgcore/snakeoil" LICENSE="BSD" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/mock[${PYTHON_USEDEP}] )"