Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/
Date: Mon, 05 Sep 2022 12:34:09
Message-Id: 1662380858.d97eeb9d230b52a21ac6e183f6389f571a8ecca1.andrewammerlaan@gentoo
1 commit: d97eeb9d230b52a21ac6e183f6389f571a8ecca1
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 12:27:38 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 12:27:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97eeb9d
7
8 dev-python/spyder: drop 5.3.2
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/spyder/Manifest | 2 -
13 dev-python/spyder/spyder-5.3.2.ebuild | 193 ----------------------------------
14 2 files changed, 195 deletions(-)
15
16 diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
17 index 6758cec7f103..3b0cb80ad1a7 100644
18 --- a/dev-python/spyder/Manifest
19 +++ b/dev-python/spyder/Manifest
20 @@ -1,4 +1,2 @@
21 -DIST spyder-5.3.2.gh.tar.gz 24441566 BLAKE2B dae46baf1a2673ee7449d1060302a726963424c946c9a0188ab85401c9a457fe818039ce3217ccd94ee3976b3e1a4dbb4379945862dee039ebd01ca41077846f SHA512 d1e9a83ddad6e637bef9cacc8261e9097684996661f730ff2813c2bdd72b1d58e9ae75f8a54730088761750eee6ae3d622f25fb9d0e6bca70325906cf4fc9348
22 DIST spyder-5.3.3.gh.tar.gz 24443628 BLAKE2B 767b3e1d59ce650d2df0d229d94eef53bc4c7b52f5d40fd62748efeb3a756a773110aa17442403a1b37777dd39fc367164ad54cd8f767d4311caa8d3e8bf05da SHA512 7d521f8367953849233538cbfd74f1fd98da87e69dbed8076718e81cd09ae66aca84523c4ecdf0e8aeb60644791754df19f09dd244ce11e3f7decc97bb050e02
23 DIST spyder-docs-9156f446a9225446a2a752ecb669cc3db30094a8.gh.tar.gz 90029977 BLAKE2B 7254da77f6d9dd24d9feb8af684d064bb92400acf1561f8a2b9423c63984c22fb3ab384174f87525c3cdb0612590fb97010e9cd1a21ae1e36ffc6d6f9babe973 SHA512 1a9609baea12059fad1e65b84c1db98e15cb3d65e1c60660a1f1ebeab5723b118d6e995a4e4219391d8aafb640da20e2a4984746e9c66893dd0cef2ea3f082f9
24 -DIST spyder-docs-d43d6cd46b6eb7675ec690b0dff573ca03f2e301.gh.tar.gz 90037375 BLAKE2B 2faf8d2d07b10aec750534c73ebcfc9146533db4223908ecabafb214d7e0a85416aaaf4359f95768572bbd8806f13bd707124f9585299527af5bd5bc735293d4 SHA512 00f12af5298f5b90eaf9a4ea8706b5bb29445ca344b5117801dbac54508eefa29c807e0d4f36524fb5d8b6208204533dc657da63849cadaf13f4aa3652612cb1
25
26 diff --git a/dev-python/spyder/spyder-5.3.2.ebuild b/dev-python/spyder/spyder-5.3.2.ebuild
27 deleted file mode 100644
28 index d4b8b5281e41..000000000000
29 --- a/dev-python/spyder/spyder-5.3.2.ebuild
30 +++ /dev/null
31 @@ -1,193 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -DISTUTILS_USE_PEP517=setuptools
39 -
40 -inherit optfeature xdg distutils-r1
41 -
42 -# Commit of documentation to fetch
43 -DOCS_PV="d43d6cd46b6eb7675ec690b0dff573ca03f2e301"
44 -
45 -DESCRIPTION="The Scientific Python Development Environment"
46 -HOMEPAGE="
47 - https://www.spyder-ide.org/
48 - https://github.com/spyder-ide/spyder/
49 - https://pypi.org/project/spyder/
50 -"
51 -SRC_URI="
52 - https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
53 - https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.gh.tar.gz
54 -"
55 -
56 -LICENSE="MIT"
57 -SLOT="0"
58 -KEYWORDS="~amd64 ~x86"
59 -
60 -# The test suite often hangs or does not work. RESTRICTing because IMO it is
61 -# not worth the several hours I would have to spend every single version bump
62 -# checking which tests do and do not work.
63 -RESTRICT="test"
64 -
65 -RDEPEND="
66 - >=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}]
67 - >=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]
68 - >=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}]
69 - >=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}]
70 - >=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}]
71 - >=dev-python/jellyfish-0.7[${PYTHON_USEDEP}]
72 - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
73 - >=dev-python/keyring-17.0.0[${PYTHON_USEDEP}]
74 - >=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]
75 - >=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}]
76 - >=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}]
77 - >=dev-python/pickleshare-0.4[${PYTHON_USEDEP}]
78 - >=dev-python/psutil-5.3[${PYTHON_USEDEP}]
79 - >=dev-python/pygments-2.0[${PYTHON_USEDEP}]
80 - >=dev-python/python-lsp-black-1.2.0[${PYTHON_USEDEP}]
81 - >=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}]
82 - >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
83 - >=dev-python/pyzmq-22.1.0[${PYTHON_USEDEP}]
84 - >=dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}]
85 - <dev-python/qdarkstyle-3.1[${PYTHON_USEDEP}]
86 - >=dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}]
87 - >=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}]
88 - >=dev-python/qtconsole-5.3.0[${PYTHON_USEDEP}]
89 - <dev-python/qtconsole-5.4.0[${PYTHON_USEDEP}]
90 - >=dev-python/QtPy-2.1.0[${PYTHON_USEDEP},svg,webengine]
91 - >=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}]
92 - >=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}]
93 - >=dev-python/spyder-kernels-2.3.2[${PYTHON_USEDEP}]
94 - <dev-python/spyder-kernels-2.4.0[${PYTHON_USEDEP}]
95 - >=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}]
96 - >=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}]
97 - >=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}]
98 -"
99 -
100 -BDEPEND="
101 - test? (
102 - dev-python/cython[${PYTHON_USEDEP}]
103 - dev-python/flaky[${PYTHON_USEDEP}]
104 - dev-python/matplotlib[tk,${PYTHON_USEDEP}]
105 - dev-python/pandas[${PYTHON_USEDEP}]
106 - dev-python/pillow[${PYTHON_USEDEP}]
107 - dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}]
108 - dev-python/pytest-mock[${PYTHON_USEDEP}]
109 - dev-python/pytest-ordering[${PYTHON_USEDEP}]
110 - dev-python/pytest-qt[${PYTHON_USEDEP}]
111 - dev-python/pytest-xvfb[${PYTHON_USEDEP}]
112 - dev-python/pyyaml[${PYTHON_USEDEP}]
113 - dev-python/scipy[${PYTHON_USEDEP}]
114 - dev-python/sympy[${PYTHON_USEDEP}]
115 - )"
116 -
117 -# Based on the courtesy of Arfrever
118 -# This patch removes a call to update-desktop-database during build
119 -# This fails because access is denied to this command during build
120 -PATCHES=(
121 - "${FILESDIR}/${PN}-5.0.0-build.patch"
122 - "${FILESDIR}/${PN}-5.2.0-doc-theme-renamed.patch"
123 -)
124 -
125 -DOCS=(
126 - "AUTHORS.txt"
127 - "Announcements.md"
128 - "CHANGELOG.md"
129 - "CODE_OF_CONDUCT.md"
130 - "CONTRIBUTING.md"
131 - "NOTICE.txt"
132 - "README.md"
133 - "RELEASE.md"
134 -)
135 -
136 -distutils_enable_tests pytest
137 -distutils_enable_sphinx docs/doc \
138 - dev-python/sphinx-panels \
139 - dev-python/pydata-sphinx-theme \
140 - dev-python/sphinx-multiversion
141 -
142 -python_prepare_all() {
143 - # move docs into workdir
144 - mv ../spyder-docs-${DOCS_PV}* docs || die
145 -
146 - # these dependencies are packaged separately:
147 - # dev-python/spyder-kernels,
148 - # dev-python/python-lsp-server,
149 - # dev-python/qdarkstyle
150 - rm -r external-deps/* || die
151 - # runs against things packaged in external-deps dir
152 - rm conftest.py || die
153 -
154 - # Do not depend on pyqt5<5.16, this dependency is carried by QtPy[pyqt5]
155 - # Do not depend on pyqtwebengine<5.16, this dependency is carried by QtPy[webengine]
156 - # Do not depend on parso and jedi, this is dependency is carried in python-lsp-server
157 - # Do not depend on python-lsp-server, this dependency is carried in pyls-spyder
158 - # Do not depend on ipython, this dependency is carried in spyder-kernels
159 - # The explicit version requirements only make things more complicated, if e.g.
160 - # pyls-spyder gains compatibility with a newer version of python-lsp-server
161 - # in a new release it will take time for this information to propagate into
162 - # the next spyder release. So just remove the dependency and let the other
163 - # ebuilds handle the version requirements to speed things up and prevent
164 - # issues such as Bug 803269.
165 - sed -i \
166 - -e "/'pyqt5[ 0-9<=>.,]*',/d" \
167 - -e "/'pyqtwebengine[ 0-9<=>.,]*',/d" \
168 - -e "/'python-lsp-server\[all\][ 0-9<=>.,]*',/d" \
169 - -e "/'parso[ 0-9<=>.,]*',/d" \
170 - -e "/'jedi[ 0-9<=>.,]*',/d" \
171 - -e "/'pylint[ 0-9<=>.,]*',/d" \
172 - -e "/'ipython[ 0-9<=>.,]*',/d" \
173 - setup.py || die
174 - sed -i \
175 - -e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \
176 - -e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \
177 - -e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \
178 - -e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \
179 - -e "/^PYLINT_REQVER/c\PYLINT_REQVER = '>=0.0.1'" \
180 - -e "/^IPYTHON_REQVER/c\IPYTHON_REQVER = '>=0.0.1'" \
181 - spyder/dependencies.py || die
182 -
183 - # do not check deps, fails because we removed dependencies above
184 - sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \
185 - spyder/tests/test_dependencies_in_sync.py || die
186 -
187 - # can't check for update, need network
188 - rm spyder/workers/tests/test_update.py || die
189 -
190 - # skip online test
191 - rm spyder/widgets/github/tests/test_github_backend.py || die
192 -
193 - distutils-r1_python_prepare_all
194 -}
195 -
196 -# Calling pytest directly makes the tests freeze after completing even if successful
197 -# Exit code is nonzero even upon success, so can't add || die here test results
198 -# should be checked for success manually
199 -python_test() {
200 - "${EPYTHON}" runtests.py
201 -}
202 -
203 -pkg_postinst() {
204 - xdg_pkg_postinst
205 -
206 - optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib
207 - optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas
208 - optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy
209 - optfeature "Symbolic mathematics in the IPython console" dev-python/sympy
210 - optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy
211 - optfeature "Run Cython files in the IPython console" dev-python/cython
212 - optfeature "The hdf5/h5py plugin" dev-python/h5py
213 - # optfeature "The line profiler plugin" dev-python/spyder-line-profiler
214 - # optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler
215 - # spyder-autopep8 does not have a release (yet)
216 - # and are not compatible with >=spyder-4.0.0 at the moment
217 - # optfeature "The autopep8 plugin" dev-python/spyder-autopep8
218 - # optfeature "Vim key bindings" dev-python/spyder-vim
219 - optfeature "Unittest support" dev-python/spyder-unittest
220 - # optfeature "Jupyter notebook support" dev-python/spyder-notebook
221 - optfeature "System terminal inside spyder" dev-python/spyder-terminal
222 - # spyder-reports not yet updated to >=spyder-4.0.0
223 - # optfeature "Markdown reports using Pweave" dev-python/spyder-reports
224 -}