Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbconvert/
Date: Sat, 16 Oct 2021 09:46:16
Message-Id: 1634377559.8f990f2f3294f9c05768cc220a4161aaf95707b3.sam@gentoo
1 commit: 8f990f2f3294f9c05768cc220a4161aaf95707b3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 16 09:28:25 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 16 09:45:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f990f2f
7
8 dev-python/nbconvert: avoid inkscape test dependency on hppa
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-python/nbconvert/nbconvert-6.0.7.ebuild | 4 +++-
13 dev-python/nbconvert/nbconvert-6.2.0.ebuild | 4 +++-
14 2 files changed, 6 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-python/nbconvert/nbconvert-6.0.7.ebuild b/dev-python/nbconvert/nbconvert-6.0.7.ebuild
17 index 87597d4755d..5dec6fb5196 100644
18 --- a/dev-python/nbconvert/nbconvert-6.0.7.ebuild
19 +++ b/dev-python/nbconvert/nbconvert-6.0.7.ebuild
20 @@ -30,13 +30,15 @@ RDEPEND="
21 dev-python/testpath[${PYTHON_USEDEP}]
22 www-servers/tornado[${PYTHON_USEDEP}]
23 "
24 +# Skip inkscape on hppa b/c tests should skip it gracefully if not around
25 +# It's a heavy dependency.
26 BDEPEND="
27 test? (
28 dev-python/pebble[${PYTHON_USEDEP}]
29 dev-python/ipykernel[${PYTHON_USEDEP}]
30 dev-python/ipywidgets[${PYTHON_USEDEP}]
31 >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}]
32 - media-gfx/inkscape
33 + !hppa? ( media-gfx/inkscape )
34 )
35 "
36
37
38 diff --git a/dev-python/nbconvert/nbconvert-6.2.0.ebuild b/dev-python/nbconvert/nbconvert-6.2.0.ebuild
39 index 7278542508d..b95596254e0 100644
40 --- a/dev-python/nbconvert/nbconvert-6.2.0.ebuild
41 +++ b/dev-python/nbconvert/nbconvert-6.2.0.ebuild
42 @@ -30,13 +30,15 @@ RDEPEND="
43 dev-python/testpath[${PYTHON_USEDEP}]
44 www-servers/tornado[${PYTHON_USEDEP}]
45 "
46 +# Skip inkscape on hppa b/c tests should skip it gracefully if not around
47 +# It's a heavy dependency.
48 BDEPEND="
49 test? (
50 dev-python/pebble[${PYTHON_USEDEP}]
51 dev-python/ipykernel[${PYTHON_USEDEP}]
52 dev-python/ipywidgets[${PYTHON_USEDEP}]
53 >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}]
54 - media-gfx/inkscape
55 + !hppa? ( media-gfx/inkscape )
56 )
57 "