From 39ceb4ab52c7d3c74e24efc73034de71dc2135d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 21 Apr 2018 10:22:45 +0200 Subject: [PATCH] dev-python/python-oembed: Restrict tests due to network use Closes: https://bugs.gentoo.org/430392 --- dev-python/python-oembed/python-oembed-0.2.4.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-python/python-oembed/python-oembed-0.2.4.ebuild b/dev-python/python-oembed/python-oembed-0.2.4.ebuild index db632ac17f759..474d5968685b8 100644 --- a/dev-python/python-oembed/python-oembed-0.2.4.ebuild +++ b/dev-python/python-oembed/python-oembed-0.2.4.ebuild @@ -14,6 +14,9 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" +# all tests access network, also assume that localhost will have +# no HTTP server running (which is extremely silly) +RESTRICT="test" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )"