commit:     22257699f838ccc66ae62750f347cb4501250998
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May 10 17:04:11 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May 10 17:04:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22257699

dev-python/jupyter_core: Restrict tests, need existing installation

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 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/jupyter_core/jupyter_core-4.4.0.ebuild 
b/dev-python/jupyter_core/jupyter_core-4.4.0.ebuild
index a2804624d23..962e95ed8c6 100644
--- a/dev-python/jupyter_core/jupyter_core-4.4.0.ebuild
+++ b/dev-python/jupyter_core/jupyter_core-4.4.0.ebuild
@@ -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

Reply via email to