app-emulation/cloud-init: restricting tests
authorMatthew Thode <prometheanfire@gentoo.org>
Tue, 24 Oct 2017 18:30:38 +0000 (13:30 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Tue, 24 Oct 2017 18:31:10 +0000 (13:31 -0500)
cloud-init's requires installation to test, distutils_install_for_testing
is normally used, but fails here.  cloud-init's setup.py is hard coding
some paths, which prevent the use of distutils_install_for_testing.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

app-emulation/cloud-init/cloud-init-17.1.ebuild

index e42af05c2a432239590a8fcdbfa6a4da94a41e33..9a77fbe602230987562288061d6a75d03cf46747 100644 (file)
@@ -14,6 +14,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="test"
+RESTRICT="test"
 
 CDEPEND="
        dev-python/jinja[${PYTHON_USEDEP}]
@@ -26,8 +27,6 @@ CDEPEND="
        dev-python/jsonschema[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]
 "
-#      dev-python/prettytable[${PYTHON_USEDEP}]
-#      dev-python/cheetah[$(python_gen_usedep 'python2_7')]
 DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
@@ -40,9 +39,6 @@ DEPEND="
                dev-python/contextlib2[${PYTHON_USEDEP}]
        )
 "
-#              dev-python/pep8[${PYTHON_USEDEP}]
-#              dev-python/flake8[${PYTHON_USEDEP}]
-#              dev-python/hacking[${PYTHON_USEDEP}]
 RDEPEND="
        ${CDEPEND}
        net-analyzer/macchanger