dev-python/jupyter_core: Restrict tests, need existing installation
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 10 May 2018 17:04:11 +0000 (19:04 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 10 May 2018 17:04:43 +0000 (19:04 +0200)
Tests succeed when package is installed in advance.

Bug: https://bugs.gentoo.org/649538
Package-Manager: Portage-2.3.36, Repoman-2.3.9

dev-python/jupyter_core/jupyter_core-4.4.0.ebuild

index a2804624d23bc87114f92565516badd197617656..962e95ed8c62fae074214dc789e26ac61d99ceea 100644 (file)
@@ -18,7 +18,7 @@ IUSE="doc test"
 
 RDEPEND="
        dev-python/traitlets[${PYTHON_USEDEP}]
-       "
+"
 DEPEND="${RDEPEND}
        !!<dev-python/jupyter-1.0.0-r1
        doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
@@ -28,7 +28,10 @@ DEPEND="${RDEPEND}
                $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' 'python2*')
                >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}]
        )
-       "
+"
+
+# tests require installation of jupyter_core, bug #649538
+RESTRICT="test"
 
 python_prepare_all() {
        # Prevent un-needed download during build