commit:     8f990f2f3294f9c05768cc220a4161aaf95707b3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 09:28:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 16 09:45:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f990f2f

dev-python/nbconvert: avoid inkscape test dependency on hppa

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/nbconvert/nbconvert-6.0.7.ebuild | 4 +++-
 dev-python/nbconvert/nbconvert-6.2.0.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/nbconvert/nbconvert-6.0.7.ebuild 
b/dev-python/nbconvert/nbconvert-6.0.7.ebuild
index 87597d4755d..5dec6fb5196 100644
--- a/dev-python/nbconvert/nbconvert-6.0.7.ebuild
+++ b/dev-python/nbconvert/nbconvert-6.0.7.ebuild
@@ -30,13 +30,15 @@ RDEPEND="
        dev-python/testpath[${PYTHON_USEDEP}]
        www-servers/tornado[${PYTHON_USEDEP}]
 "
+# Skip inkscape on hppa b/c tests should skip it gracefully if not around
+# It's a heavy dependency.
 BDEPEND="
        test? (
                dev-python/pebble[${PYTHON_USEDEP}]
                dev-python/ipykernel[${PYTHON_USEDEP}]
                dev-python/ipywidgets[${PYTHON_USEDEP}]
                >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}]
-               media-gfx/inkscape
+               !hppa? ( media-gfx/inkscape )
        )
 "
 

diff --git a/dev-python/nbconvert/nbconvert-6.2.0.ebuild 
b/dev-python/nbconvert/nbconvert-6.2.0.ebuild
index 7278542508d..b95596254e0 100644
--- a/dev-python/nbconvert/nbconvert-6.2.0.ebuild
+++ b/dev-python/nbconvert/nbconvert-6.2.0.ebuild
@@ -30,13 +30,15 @@ RDEPEND="
        dev-python/testpath[${PYTHON_USEDEP}]
        www-servers/tornado[${PYTHON_USEDEP}]
 "
+# Skip inkscape on hppa b/c tests should skip it gracefully if not around
+# It's a heavy dependency.
 BDEPEND="
        test? (
                dev-python/pebble[${PYTHON_USEDEP}]
                dev-python/ipykernel[${PYTHON_USEDEP}]
                dev-python/ipywidgets[${PYTHON_USEDEP}]
                >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}]
-               media-gfx/inkscape
+               !hppa? ( media-gfx/inkscape )
        )
 "
 

Reply via email to