Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notebook/
Date: Wed, 28 Apr 2021 17:47:59
Message-Id: 1619632008.09ef441d00c5f9dbcb07221637828fc1cf32c571.mgorny@gentoo
1 commit: 09ef441d00c5f9dbcb07221637828fc1cf32c571
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 17:46:48 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 17:46:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09ef441d
7
8 dev-python/notebook: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/notebook/Manifest | 1 -
13 dev-python/notebook/notebook-6.2.0.ebuild | 85 -------------------------------
14 2 files changed, 86 deletions(-)
15
16 diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
17 index 3cc163ca035..05de332e9d1 100644
18 --- a/dev-python/notebook/Manifest
19 +++ b/dev-python/notebook/Manifest
20 @@ -1,2 +1 @@
21 -DIST notebook-6.2.0.tar.gz 13927515 BLAKE2B ca752f0cb316b46b71d8451c59c196c324008c296dfc7fbc4ee426ba5b3c1035e90170e46720547a9e3f2cf381ab5e0294185ee1a814d31ffbe6ecf546f229d6 SHA512 217392000ca2d0266137f937fc4d2a1b81ed19217fdbf6550b07453eede8b9a6e15c8fbb1c94f559a7f44ac73dfadcefeae815c186e56bb1e9a30120fe070f3a
22 DIST notebook-6.3.0.tar.gz 13922153 BLAKE2B f24b03d4887b1e786da215a4ab10d83e4ae8391d1b88559f4bb35fcf7813d98e487447bf21a1772d502d6b3594c53e6e7b743b681cdb07b5118cc4808bcd02a4 SHA512 112bb0b176f7e6584ca0f09d74cb34fe756d0491320dcc23932f84236fd55b9f56f13a7057c89be073486637fc8c0cf2c44dfce18f27fa16ad0f9d15d2bcd5be
23
24 diff --git a/dev-python/notebook/notebook-6.2.0.ebuild b/dev-python/notebook/notebook-6.2.0.ebuild
25 deleted file mode 100644
26 index 2308c2a8f0d..00000000000
27 --- a/dev-python/notebook/notebook-6.2.0.ebuild
28 +++ /dev/null
29 @@ -1,85 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -DISTUTILS_USE_SETUPTOOLS=rdepend
36 -PYTHON_COMPAT=( python3_{7..9} )
37 -PYTHON_REQ_USE="threads(+)"
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Jupyter Interactive Notebook"
42 -HOMEPAGE="https://jupyter.org"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="amd64 ~arm64 x86"
48 -
49 -RDEPEND="
50 - >=dev-libs/mathjax-2.4
51 - dev-python/argon2-cffi[${PYTHON_USEDEP}]
52 - dev-python/jinja[${PYTHON_USEDEP}]
53 - >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
54 - >=www-servers/tornado-6.0[${PYTHON_USEDEP}]
55 - dev-python/ipython_genutils[${PYTHON_USEDEP}]
56 - >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
57 - >=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}]
58 - >=dev-python/pyzmq-17[${PYTHON_USEDEP}]
59 - >=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}]
60 - dev-python/nbformat[${PYTHON_USEDEP}]
61 - >=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
62 - dev-python/ipykernel[${PYTHON_USEDEP}]
63 - dev-python/send2trash[${PYTHON_USEDEP}]
64 - dev-python/prometheus_client[${PYTHON_USEDEP}]"
65 -
66 -# sphinx 2+ seems to have a problem with its github plugin. temporarily adding
67 -# a version constraint.
68 -BDEPEND="
69 - test? (
70 - dev-python/requests[${PYTHON_USEDEP}]
71 - dev-python/requests-unixsocket[${PYTHON_USEDEP}]
72 - )
73 -"
74 -
75 -PATCHES=(
76 - "${FILESDIR}/${PN}"-5.7.0-no-mathjax.patch
77 -)
78 -
79 -distutils_enable_tests --install pytest
80 -
81 -python_prepare_all() {
82 - # disable bundled mathjax
83 - sed -i 's/^.*MathJax.*$//' bower.json || die
84 -
85 - # require geckodriver
86 - rm -r notebook/tests/selenium || die
87 - # trash doesn't seem to work for us
88 - sed -e 's:test_delete:_&:' \
89 - -i notebook/services/contents/tests/test_manager.py || die
90 - sed -e 's:test_checkpoints_follow_file:_&:' \
91 - -e 's:test_delete:_&:' \
92 - -i notebook/services/contents/tests/test_contents_api.py || die
93 - # network-sandbox?
94 - sed -e 's:test_connections:_&:' \
95 - -e 's:test_culling:_&:' \
96 - -i notebook/services/kernels/tests/test_kernels_api.py || die
97 -
98 - sed -i -e "/'bdist_egg':/d" setup.py || die
99 -
100 - distutils-r1_python_prepare_all
101 -}
102 -
103 -python_install() {
104 - distutils-r1_python_install
105 -
106 - ln -sf \
107 - "${EPREFIX}/usr/share/mathjax" \
108 - "${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
109 -}
110 -
111 -pkg_preinst() {
112 - # remove old mathjax folder if present
113 - rm -rf "${EROOT}"/usr/lib*/python*/site-packages/notebook/static/components/MathJax || die
114 -}