1 |
commit: 6abb9e0d45aea487498a13f16b1a4c54625c058a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 20:57:45 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 21:21:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abb9e0d |
7 |
|
8 |
dev-python/nbconvert: Bump to 6.0.7 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/nbconvert/Manifest | 1 + |
13 |
dev-python/nbconvert/nbconvert-6.0.7.ebuild | 73 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest |
17 |
index 3809b6a6622..ecf7bbc3ada 100644 |
18 |
--- a/dev-python/nbconvert/Manifest |
19 |
+++ b/dev-python/nbconvert/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST nbconvert-6.0.3.tar.gz 848214 BLAKE2B 4265486536cfe0cf220b8080374726cc68be4 |
21 |
DIST nbconvert-6.0.4.tar.gz 841651 BLAKE2B 080f60103709bd6ddb8258750a51e7bf8891adb1eb2921619cfbb0e774a585f3d3722758d8895f67a76e2705a15a0b35ffcb7c59842ec986a13315e5b10f4eca SHA512 46c2d250e25ad0e2fee0be0fefacc198687acd7ffcb4205bb8cf0ed263e90878cf659f352d551911b0025cb150302ea9ffd67b9453ec23fc5821908f7b56dd75 |
22 |
DIST nbconvert-6.0.5.tar.gz 841650 BLAKE2B 7f8bb3849374284c90bd7b17c27a313c69694e42d4fd7b5913d3b210a15f17b89ffca8436ce31fa5bfc2b586feb536522106522f3d1741ad0fb6c2995a2e562e SHA512 79164546164eada6998bd6898833dfbada0a1476af8796bea40794f6caf121d0b9560f0f50e3d477357e977222a3b75f3de85ccfa03c4aec93be75801cf6f97c |
23 |
DIST nbconvert-6.0.6.tar.gz 888348 BLAKE2B 7662437e1436a4ee9694bc05b8472b64d0773c38cc5fda3372ce9009f5d6d20e2ffb28c4baf3442cbc88414ce97870cf15a102ee609f4aae2c951d3f7ac5202f SHA512 2be6a65ed86dd10fc4fd08536db304dc359da1af66c4f907753a419b8d9caec08274c07d110a060bdae5626bb48a4f6d209e423b8eacee420d3a4c6ef0f6bbf5 |
24 |
+DIST nbconvert-6.0.7.tar.gz 896833 BLAKE2B 1b5b39144509aa9f61dc1e9675b112d69ed2e2f9859f3ce7ccfac517d89fff0010062c03ded1c3db571c84dd8d4f8ba12e4851245f370d2e671d24921dd50ab6 SHA512 3c78fa4d777a79a08606a39bb31f6b329dc9d28c1ef2ea9f3253746dce853a295e8fe85b14c65b04762aa5acd5facc879232a375875a2ca6dc9477cc1ab88786 |
25 |
|
26 |
diff --git a/dev-python/nbconvert/nbconvert-6.0.7.ebuild b/dev-python/nbconvert/nbconvert-6.0.7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..58b0853ec91 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/nbconvert/nbconvert-6.0.7.ebuild |
31 |
@@ -0,0 +1,73 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python3_{7..9} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Converting Jupyter Notebooks" |
43 |
+HOMEPAGE="https://nbconvert.readthedocs.io/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/bleach[${PYTHON_USEDEP}] |
52 |
+ dev-python/defusedxml[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] |
54 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
55 |
+ dev-python/jupyter_core[${PYTHON_USEDEP}] |
56 |
+ dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/mistune-0.7.4[${PYTHON_USEDEP}] |
58 |
+ dev-python/nbclient[${PYTHON_USEDEP}] |
59 |
+ dev-python/nbformat[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] |
61 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] |
63 |
+ dev-python/testpath[${PYTHON_USEDEP}] |
64 |
+ www-servers/tornado[${PYTHON_USEDEP}] |
65 |
+" |
66 |
+BDEPEND=" |
67 |
+ test? ( |
68 |
+ dev-python/pebble[${PYTHON_USEDEP}] |
69 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
70 |
+ dev-python/ipywidgets[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] |
72 |
+ media-gfx/inkscape |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+distutils_enable_tests pytest |
77 |
+ |
78 |
+src_test() { |
79 |
+ mkdir -p "${HOME}/.local" || die |
80 |
+ cp -r share "${HOME}/.local/" || die |
81 |
+ distutils-r1_src_test |
82 |
+} |
83 |
+ |
84 |
+python_test() { |
85 |
+ local deselect=( |
86 |
+ # Missing pyppeteer for now |
87 |
+ # TODO: Doesn't skip? |
88 |
+ --deselect exporters/tests/test_webpdf.py |
89 |
+ # Needs pyppeteer too |
90 |
+ --deselect 'tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' |
91 |
+ ) |
92 |
+ |
93 |
+ distutils_install_for_testing bdist_egg |
94 |
+ cd "${TEST_DIR}"/lib || die |
95 |
+ pytest -vv "${deselect[@]}" --pyargs nbconvert || die "Tests failed with ${EPYTHON}" |
96 |
+} |
97 |
+ |
98 |
+pkg_postinst() { |
99 |
+ if ! has_version app-text/pandoc ; then |
100 |
+ einfo "Pandoc is required for converting to formats other than Python," |
101 |
+ einfo "HTML, and Markdown. If you need this functionality, install" |
102 |
+ einfo "app-text/pandoc." |
103 |
+ fi |
104 |
+} |