diff --git a/dev-python/cssutils/cssutils-1.0.1.ebuild b/dev-python/cssutils/cssutils-1.0.1.ebuild index dbfd669743c4d..dce1a69ac3581 100644 --- a/dev-python/cssutils/cssutils-1.0.1.ebuild +++ b/dev-python/cssutils/cssutils-1.0.1.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 + PYTHON_COMPAT=( python{2_7,3_{5,6}} pypy ) inherit distutils-r1 @@ -14,6 +15,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 arm ppc x86" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} diff --git a/dev-python/cssutils/cssutils-1.0.2-r1.ebuild b/dev-python/cssutils/cssutils-1.0.2-r1.ebuild index 92fad59021ea7..5f5efe08343f0 100644 --- a/dev-python/cssutils/cssutils-1.0.2-r1.ebuild +++ b/dev-python/cssutils/cssutils-1.0.2-r1.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy ) inherit distutils-r1 @@ -14,6 +15,7 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 ~arm ~ppc ~x86" IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}