1 |
commit: 3ce5349650f0872538d90c08fa0aa486f15f7425 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 27 04:39:36 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 27 06:10:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce53496 |
7 |
|
8 |
dev-python/nbconvert: Remove old |
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.4.5.ebuild | 73 ----------------------------- |
14 |
2 files changed, 74 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest |
17 |
index 4919c7561e43..272b192caddc 100644 |
18 |
--- a/dev-python/nbconvert/Manifest |
19 |
+++ b/dev-python/nbconvert/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST nbconvert-6.4.5.tar.gz 906309 BLAKE2B 5aee22eb9ce6bb36e04cc3b3db5460041b0a2dfb4afeb1e4787e941d6815f22b7621104ca6d14cb0977c5d09f9a0fade8a5787416b5f55ca1b09149730560bf7 SHA512 9a32eceaff065016baea9fc79478aeb8981f55a2cd47889e640815f2bf924df201d9ce72a4b615d533bcadbd681900678d30de61f777ae4f12bd9fce62d73622 |
22 |
DIST nbconvert-6.5.0.tar.gz 908377 BLAKE2B a91c6c93e9e33f90c5c7f19743e20aa6cf88e5dd29be4ee777744d96037dddd15294858776c8391d79f5436e929fb1b623a3f11f6c4cbcf60728dba2204b6e2e SHA512 4e0d26d581435525f819c05207890cc7cbeaff786a16c354f0356c9bc50111a724a92b7e15445a0cf0ebf1e1c2f0ff064a2c8722267f66dd8677ad82b5e61714 |
23 |
|
24 |
diff --git a/dev-python/nbconvert/nbconvert-6.4.5.ebuild b/dev-python/nbconvert/nbconvert-6.4.5.ebuild |
25 |
deleted file mode 100644 |
26 |
index da5877b38a2e..000000000000 |
27 |
--- a/dev-python/nbconvert/nbconvert-6.4.5.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,73 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{8..10} ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="Converting Jupyter Notebooks" |
41 |
-HOMEPAGE="https://nbconvert.readthedocs.io/" |
42 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="BSD" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- dev-python/beautifulsoup4[${PYTHON_USEDEP}] |
50 |
- dev-python/bleach[${PYTHON_USEDEP}] |
51 |
- dev-python/defusedxml[${PYTHON_USEDEP}] |
52 |
- >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] |
53 |
- dev-python/jinja[${PYTHON_USEDEP}] |
54 |
- dev-python/jupyter_core[${PYTHON_USEDEP}] |
55 |
- dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] |
56 |
- >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] |
57 |
- >=dev-python/mistune-0.8.1[${PYTHON_USEDEP}] |
58 |
- <dev-python/mistune-2[${PYTHON_USEDEP}] |
59 |
- dev-python/nbclient[${PYTHON_USEDEP}] |
60 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
61 |
- >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] |
62 |
- dev-python/pygments[${PYTHON_USEDEP}] |
63 |
- >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] |
64 |
- dev-python/testpath[${PYTHON_USEDEP}] |
65 |
- www-servers/tornado[${PYTHON_USEDEP}] |
66 |
-" |
67 |
-BDEPEND=" |
68 |
- test? ( |
69 |
- dev-python/pebble[${PYTHON_USEDEP}] |
70 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
71 |
- dev-python/ipywidgets[${PYTHON_USEDEP}] |
72 |
- >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] |
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 EPYTEST_DESELECT=( |
86 |
- # Missing pyppeteer for now |
87 |
- # TODO: Doesn't skip? |
88 |
- nbconvert/exporters/tests/test_webpdf.py |
89 |
- # Needs pyppeteer too |
90 |
- 'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' |
91 |
- ) |
92 |
- |
93 |
- epytest --pyargs nbconvert |
94 |
-} |
95 |
- |
96 |
-pkg_postinst() { |
97 |
- if ! has_version app-text/pandoc ; then |
98 |
- einfo "Pandoc is required for converting to formats other than Python," |
99 |
- einfo "HTML, and Markdown. If you need this functionality, install" |
100 |
- einfo "app-text/pandoc." |
101 |
- fi |
102 |
-} |