dev-pyton/mock: Fix CI issue in 3.0.5
authorPatrick McLean <patrick.mclean@sony.com>
Tue, 12 Nov 2019 23:43:57 +0000 (15:43 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Tue, 12 Nov 2019 23:43:57 +0000 (15:43 -0800)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-python/mock/mock-3.0.5.ebuild

index fdd07880dd844563b9d417e92152b39dcb612df7..606fdbcb98f9d5654892501f8d4f66b608ef3814 100644 (file)
@@ -27,6 +27,8 @@ DEPEND="${RDEPEND}
                >=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}]
        )"
 
+RESTRICT="!test? ( test )"
+
 python_test() {
        nosetests --verbose || die "tests fail under ${EPYTHON}"
 }