From: Michał Górny Date: Sat, 21 Apr 2018 08:22:45 +0000 (+0200) Subject: dev-python/python-oembed: Restrict tests due to network use X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=39ceb4ab52c7d3c74e24efc73034de71dc2135d4;p=gentoo.git dev-python/python-oembed: Restrict tests due to network use Closes: https://bugs.gentoo.org/430392 --- 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 db632ac17f75..474d5968685b 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}] )"