summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-11-16 11:50:48 +0100
committerMichał Górny <mgorny@gentoo.org>2019-11-16 12:01:36 +0100
commit6456bd4f483d3f3131c48446f44c8fbc64851d42 (patch)
treebc57dd743eae0b115fdadaf80416f6c4a81f0bd5 /dev-python/mock
parentdev-python/genty: Fix MissingTestRestrict (diff)
downloadgentoo-6456bd4f483d3f3131c48446f44c8fbc64851d42.tar.gz
gentoo-6456bd4f483d3f3131c48446f44c8fbc64851d42.tar.bz2
gentoo-6456bd4f483d3f3131c48446f44c8fbc64851d42.zip
dev-python/mock: Fix MissingTestRestrict
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mock')
-rw-r--r--dev-python/mock/mock-1.0.1-r2.ebuild1
-rw-r--r--dev-python/mock/mock-1.3.0-r2.ebuild1
-rw-r--r--dev-python/mock/mock-2.0.0.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/dev-python/mock/mock-1.0.1-r2.ebuild b/dev-python/mock/mock-1.0.1-r2.ebuild
index 31706242291f..bb4bab3138bd 100644
--- a/dev-python/mock/mock-1.0.1-r2.ebuild
+++ b/dev-python/mock/mock-1.0.1-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc test"
+RESTRICT="!test? ( test )"
# dev-python/unittest2 is not required with Python >=3.2.
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
diff --git a/dev-python/mock/mock-1.3.0-r2.ebuild b/dev-python/mock/mock-1.3.0-r2.ebuild
index 67c8c68ec048..ba7cdb49f668 100644
--- a/dev-python/mock/mock-1.3.0-r2.ebuild
+++ b/dev-python/mock/mock-1.3.0-r2.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-1.3[${PYTHON_USEDEP}]
diff --git a/dev-python/mock/mock-2.0.0.ebuild b/dev-python/mock/mock-2.0.0.ebuild
index 4fa375fb9ee8..5981e50dd65d 100644
--- a/dev-python/mock/mock-2.0.0.ebuild
+++ b/dev-python/mock/mock-2.0.0.ebuild
@@ -15,6 +15,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="test"
+RESTRICT="!test? ( test )"
CDEPEND="
>=dev-python/pbr-1.3[${PYTHON_USEDEP}]