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/ipython/
Date: Tue, 30 Mar 2021 22:27:17
Message-Id: 1617143092.6a72492a10304be1714d198c74bec407cc8e6429.mgorny@gentoo
1 commit: 6a72492a10304be1714d198c74bec407cc8e6429
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 22:24:52 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 22:24:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a72492a
7
8 dev-python/ipython: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/ipython/Manifest | 1 -
13 dev-python/ipython/ipython-7.20.0.ebuild | 137 -------------------------------
14 2 files changed, 138 deletions(-)
15
16 diff --git a/dev-python/ipython/Manifest b/dev-python/ipython/Manifest
17 index 0cbf326fbe7..c28ab91001f 100644
18 --- a/dev-python/ipython/Manifest
19 +++ b/dev-python/ipython/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST ipython-7.20.0.tar.gz 5140776 BLAKE2B ec01caf874ab9c331eb1f074f9e70acb521fe6d4abe3e8f086d9e9e77cd710c3b0d88c6d7b071abc6962eee8141b65a012ec772cbec3450db25f086fc66cf1c6 SHA512 2fff1a64c3d83e794e76bcbdf54e105f499321d9a7e5d3221cdc3e15a96e90543fd465b8dbee4836965286e7c1f1ea6d13e4d3d88c095164858bf71c161111fe
22 DIST ipython-7.21.0.tar.gz 5141725 BLAKE2B dae44d481e959ef7d002bdb51d0ab1e2f3eca3449071a2e4161aa735c06fef8a948d80bafd3f2bdd066208437b5ed36615cad5885af453771a32a313fba907eb SHA512 200e41d4e06343b6320f3d106925f6c995f39cf88d01250f53885d4e94d0fd9454a6be4cd7c69410f7dced94b05634f6d2269f9737cc563accf85206d4d7fff8
23 DIST ipython-7.22.0.tar.gz 5143229 BLAKE2B be78fc7089d620cb9ad437ed8154b37ac8c7cd68ca18a2569cfcf7ea9af968c58eeee18c8d18a1f26459ccef73e59083ac27055c19e4df254836e484ce0a9908 SHA512 2647dcd5e0d9b6afc8d990d2c099ad7ed581b5eff6d657630929e0d0d9f8965e7c7924c51a10a797e7d7406212d7a06c941c163e6f6046aa62130049a9bbc0d0
24
25 diff --git a/dev-python/ipython/ipython-7.20.0.ebuild b/dev-python/ipython/ipython-7.20.0.ebuild
26 deleted file mode 100644
27 index a6700d2b28b..00000000000
28 --- a/dev-python/ipython/ipython-7.20.0.ebuild
29 +++ /dev/null
30 @@ -1,137 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -DISTUTILS_USE_SETUPTOOLS=no
37 -PYTHON_COMPAT=( python3_{7..9} )
38 -PYTHON_REQ_USE='readline,sqlite,threads(+)'
39 -
40 -inherit distutils-r1 optfeature virtualx
41 -
42 -DESCRIPTION="Advanced interactive shell for Python"
43 -HOMEPAGE="https://ipython.org/ https://github.com/ipython/ipython/"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
49 -IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test"
50 -RESTRICT="!test? ( test )"
51 -
52 -CDEPEND="
53 - dev-python/backcall[${PYTHON_USEDEP}]
54 - dev-python/decorator[${PYTHON_USEDEP}]
55 - >=dev-python/jedi-0.16[${PYTHON_USEDEP}]
56 - >=dev-python/pexpect-4.3[${PYTHON_USEDEP}]
57 - dev-python/pickleshare[${PYTHON_USEDEP}]
58 - >=dev-python/prompt_toolkit-2[${PYTHON_USEDEP}]
59 - <dev-python/prompt_toolkit-3.1[${PYTHON_USEDEP}]
60 - dev-python/pygments[${PYTHON_USEDEP}]
61 - dev-python/traitlets[${PYTHON_USEDEP}]
62 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
63 -"
64 -
65 -RDEPEND="${CDEPEND}
66 - nbconvert? ( dev-python/nbconvert[${PYTHON_USEDEP}] )"
67 -
68 -BDEPEND="
69 - test? (
70 - ${CDEPEND}
71 - app-text/dvipng[truetype]
72 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
73 - dev-python/nbformat[${PYTHON_USEDEP}]
74 - dev-python/nose[${PYTHON_USEDEP}]
75 - >=dev-python/numpy-1.14[${PYTHON_USEDEP}]
76 - dev-python/requests[${PYTHON_USEDEP}]
77 - dev-python/testpath[${PYTHON_USEDEP}]
78 - )
79 - doc? (
80 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
81 - dev-python/matplotlib[${PYTHON_USEDEP}]
82 - >=dev-python/sphinx-2[${PYTHON_USEDEP}]
83 - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
84 - )"
85 -
86 -PDEPEND="
87 - notebook? (
88 - dev-python/notebook[${PYTHON_USEDEP}]
89 - dev-python/ipywidgets[${PYTHON_USEDEP}]
90 - dev-python/widgetsnbextension[${PYTHON_USEDEP}]
91 - )
92 - qt5? ( dev-python/qtconsole[${PYTHON_USEDEP}] )
93 - smp? (
94 - >=dev-python/ipykernel-5.1.0[${PYTHON_USEDEP}]
95 - >=dev-python/ipyparallel-6.2.3[${PYTHON_USEDEP}]
96 - )"
97 -
98 -PATCHES=( "${FILESDIR}"/2.1.0-substitute-files.patch )
99 -
100 -DISTUTILS_IN_SOURCE_BUILD=1
101 -
102 -python_prepare_all() {
103 - # Remove out of date insource files
104 - rm IPython/extensions/cythonmagic.py || die
105 - rm IPython/extensions/rmagic.py || die
106 -
107 - # Prevent un-needed download during build
108 - if use doc; then
109 - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
110 - fi
111 -
112 - distutils-r1_python_prepare_all
113 -}
114 -
115 -python_compile_all() {
116 - if use doc; then
117 - emake -C docs html_noapi
118 - HTML_DOCS=( docs/build/html/. )
119 - fi
120 -}
121 -
122 -src_test() {
123 - virtx distutils-r1_src_test
124 -}
125 -
126 -python_test() {
127 - distutils_install_for_testing
128 - pushd "${TEST_DIR}" >/dev/null || die
129 - "${TEST_DIR}"/scripts/iptest || die
130 - popd >/dev/null || die
131 -}
132 -
133 -python_install() {
134 - distutils-r1_python_install
135 -
136 - # Create ipythonX.Y symlinks.
137 - # TODO:
138 - # 1. do we want them for pypy? No. pypy has no numpy
139 - # 2. handle it in the eclass instead (use _python_ln_rel).
140 - # With pypy not an option the dosym becomes unconditional
141 - dosym ../lib/python-exec/${EPYTHON}/ipython \
142 - /usr/bin/ipython${EPYTHON#python}
143 -}
144 -
145 -python_install_all() {
146 - distutils-r1_python_install_all
147 -
148 - if use examples; then
149 - dodoc -r examples
150 - docompress -x /usr/share/doc/${PF}/examples
151 - fi
152 -}
153 -
154 -pkg_postinst() {
155 - optfeature "sympyprinting" dev-python/sympy
156 - optfeature "cythonmagic" dev-python/cython
157 - optfeature "%lprun magic command" dev-python/line_profiler
158 - optfeature "%mprun magic command" dev-python/memory_profiler
159 -
160 - if use nbconvert; then
161 - if ! has_version app-text/pandoc ; then
162 - einfo "Node.js will be used to convert notebooks to other formats"
163 - einfo "like HTML. Support for that is still experimental. If you"
164 - einfo "encounter any problems, please use app-text/pandoc instead."
165 - fi
166 - fi
167 -}