1 |
commit: 4657d62de2cb921fe5a957d2ed0b9050231fc128 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 6 07:37:52 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 6 07:59:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4657d62d |
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.5.3.ebuild | 84 ----------------------------- |
14 |
2 files changed, 85 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest |
17 |
index 30d9ecc995ca..fc167936b1bd 100644 |
18 |
--- a/dev-python/nbconvert/Manifest |
19 |
+++ b/dev-python/nbconvert/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST nbconvert-6.5.3.tar.gz 910597 BLAKE2B a6336f2227098caf1d59aafa770fc3dd3466160329d5344dc760425cdde7ca35ad8d1e8839fe3189d1623a682a61ea3feedb7fdfdb2ec349e6ec890d873a936a SHA512 a991d8a66fe7a244d3943974d93eb13769016843d37f6c9dcf4ba84dd16511364f45b5020060bf2c10d35fe52b4df4b678d045eedc883d3156a6cb689a977525 |
22 |
DIST nbconvert-7.1.0.tar.gz 816516 BLAKE2B c24766716212247dee90ca91a5dbcc65ae2d47b566029eb04e14e65ef94e16f6d7700ea4cc820584bc3b498553196bb5600151a30378ec82f91bf4dde68a5e77 SHA512 5d6e1c09637765e171336528219669a9279a68f3845cb0503b79129b50550f7b5a08526a30de67da6ca132ee5d911743c5afd46773598d6045f3007167f93d5b |
23 |
|
24 |
diff --git a/dev-python/nbconvert/nbconvert-6.5.3.ebuild b/dev-python/nbconvert/nbconvert-6.5.3.ebuild |
25 |
deleted file mode 100644 |
26 |
index 5569e8e57b3d..000000000000 |
27 |
--- a/dev-python/nbconvert/nbconvert-6.5.3.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,84 +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=" |
42 |
- https://nbconvert.readthedocs.io/ |
43 |
- https://github.com/jupyter/nbconvert/ |
44 |
- https://pypi.org/project/nbconvert/ |
45 |
-" |
46 |
-SRC_URI=" |
47 |
- mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz |
48 |
-" |
49 |
- |
50 |
-LICENSE="BSD" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- dev-python/beautifulsoup4[${PYTHON_USEDEP}] |
56 |
- dev-python/bleach[${PYTHON_USEDEP}] |
57 |
- dev-python/defusedxml[${PYTHON_USEDEP}] |
58 |
- >=dev-python/entrypoints-0.2.2[${PYTHON_USEDEP}] |
59 |
- dev-python/jinja[${PYTHON_USEDEP}] |
60 |
- dev-python/jupyter_core[${PYTHON_USEDEP}] |
61 |
- dev-python/jupyterlab_pygments[${PYTHON_USEDEP}] |
62 |
- dev-python/lxml[${PYTHON_USEDEP}] |
63 |
- >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] |
64 |
- >=dev-python/mistune-2.0.2[${PYTHON_USEDEP}] |
65 |
- dev-python/nbclient[${PYTHON_USEDEP}] |
66 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
67 |
- >=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}] |
68 |
- dev-python/pygments[${PYTHON_USEDEP}] |
69 |
- dev-python/tinycss2[${PYTHON_USEDEP}] |
70 |
- >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}] |
71 |
- dev-python/testpath[${PYTHON_USEDEP}] |
72 |
- dev-python/tornado[${PYTHON_USEDEP}] |
73 |
-" |
74 |
-BDEPEND=" |
75 |
- test? ( |
76 |
- dev-python/pebble[${PYTHON_USEDEP}] |
77 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
78 |
- dev-python/ipywidgets[${PYTHON_USEDEP}] |
79 |
- >=dev-python/jupyter_client-4.2[${PYTHON_USEDEP}] |
80 |
- ) |
81 |
-" |
82 |
- |
83 |
-distutils_enable_tests pytest |
84 |
- |
85 |
-PATCHES=( |
86 |
- "${FILESDIR}"/nbconvert-6.5.0-mistune-2.patch |
87 |
-) |
88 |
- |
89 |
-src_test() { |
90 |
- mkdir -p "${HOME}/.local" || die |
91 |
- cp -r share "${HOME}/.local/" || die |
92 |
- distutils-r1_src_test |
93 |
-} |
94 |
- |
95 |
-python_test() { |
96 |
- local EPYTEST_DESELECT=( |
97 |
- # Missing pyppeteer for now |
98 |
- # TODO: Doesn't skip? |
99 |
- nbconvert/exporters/tests/test_webpdf.py |
100 |
- # Needs pyppeteer too |
101 |
- 'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium' |
102 |
- ) |
103 |
- |
104 |
- epytest --pyargs nbconvert |
105 |
-} |
106 |
- |
107 |
-pkg_postinst() { |
108 |
- if ! has_version app-text/pandoc ; then |
109 |
- einfo "Pandoc is required for converting to formats other than Python," |
110 |
- einfo "HTML, and Markdown. If you need this functionality, install" |
111 |
- einfo "app-text/pandoc." |
112 |
- fi |
113 |
-} |