Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spyder/files/, dev-python/spyder/
Date: Wed, 19 Feb 2020 07:34:33
Message-Id: 1582095763.6b31016c4e658c7f79afe69b3e5579c9ccfae2d8.juippis@gentoo
1 commit: 6b31016c4e658c7f79afe69b3e5579c9ccfae2d8
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Mon Jan 13 14:00:25 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 19 07:02:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b31016c
7
8 dev-python/spyder: Clean up 4.0.0_beta versions
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-python/spyder/Manifest | 1 -
15 .../spyder/files/spyder-4.0.0_beta1-build.patch | 49 --------------
16 dev-python/spyder/spyder-4.0.0_beta1.ebuild | 77 ----------------------
17 3 files changed, 127 deletions(-)
18
19 diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest
20 index 14caae6bac5..24947a0ce42 100644
21 --- a/dev-python/spyder/Manifest
22 +++ b/dev-python/spyder/Manifest
23 @@ -2,6 +2,5 @@ DIST spyder-3.2.4.tar.gz 3345797 BLAKE2B 2df946f257fee7e87dd922b6ed3b3c0fa024385
24 DIST spyder-3.2.8.tar.gz 3414627 BLAKE2B 95f85f719eba20eb9fed5183cfac582b040abc93724df512188d14167a1663c5be9906dfc499feda9f8b0d7a713c093dbf98e4f20f732e0e9669397e1b7c8482 SHA512 03dea90632af510cfc8c4cc684068213a54dac9eef671f04c83663dd40eb480a4b818e2d040efa7a78a0d17044018aa76f2931abbf344eb684094fc7a86ddf5e
25 DIST spyder-3.3.0.tar.gz 2782654 BLAKE2B e85ef52109c723d6b1b011f0e81ab3a46d3e0e6ba72fd34a1eda9ed650c9e03532e8fd72e05365367f62035a6f03d6ec32d35314c54438bf639070c7bebfb4d6 SHA512 53a2b438afe245092eda4d202d2453b5b93d6682aafcdb00bf251ddcdb30cee2d81d8adadbe23fa36f64fa5f917b327690cb8f9e2cf5c0da2841b5eda648a26f
26 DIST spyder-3.3.1.tar.gz 2786730 BLAKE2B d906b5750cb620db41aec514a64d132b9ee5a992047828faffe11af5abd22d0cec7b876dfe79c6d378804373e8db5c661214f5730833e7599bf13b80d4dc16d6 SHA512 91d648a2717b5d5386115ba800fdd98884e609b213007dbaa09c7d16335f1b9ec3d0bc6b32d1677db8c2704e990e70eaa04d6d1efc800008cddfa511105e9c68
27 -DIST spyder-4.0.0b1.tar.gz 2986758 BLAKE2B 7fa918a569ed26d1d71ea7bce725f1b7d5db54badf3fb7bad1265d93f2ebdf25b1246acefb4f8517a6f34968bf8f12331958afcf72fc3c162e0d06d9dc4d4c72 SHA512 5751434b7ffac4d1e0c535f8a842656c3a306ed3d8a275a06a0eb57d3cd9bb36d01341723159292cba8616fcadc7157387fdb334b2ab0efbc1bb6b920102015a
28 DIST spyder-4.0.1-docs.tar.gz 2257654 BLAKE2B a1d245c018d551e639d5acc862e09132ba80411c745430a5d16ff137c12919ec0b6e32d180aa629ba8dce3776826d754a4e843647b642086565e7a00c6dca94a SHA512 a62a1fd39833d827a2f9be357a2ed82eca37cc096a20a91030af8746d401b517d76a4f6a036c76eaa8355a88db6b2be8009e6b58d5539b57c43091677e93e62c
29 DIST spyder-4.0.1.tar.gz 10783565 BLAKE2B 5d264991b9bfc8118ef91f929269a300932cb0078b70c54613836c4337dc41214aa4ab81dacb4a535aaa6dea6b1eb591e25c7071664dc102e218373a0d7f8824 SHA512 9249a3b4a73ebe7a485d75fe2bea68bfa106c8ad0710120a6e05a43e3e2a65f9076904d1104180e925ab282b1d9da712c3509e0a5a7cfe3bd5ea8a95a1617bdd
30
31 diff --git a/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch b/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch
32 deleted file mode 100644
33 index 2b0f9bc699f..00000000000
34 --- a/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch
35 +++ /dev/null
36 @@ -1,49 +0,0 @@
37 -diff -r -U3 spyder-4.0.0b1.orig/setup.py spyder-4.0.0b1/setup.py
38 ---- spyder-4.0.0b1.orig/setup.py 2018-08-12 04:35:49.000000000 +0700
39 -+++ spyder-4.0.0b1/setup.py 2018-08-14 20:25:32.827148778 +0700
40 -@@ -83,12 +83,7 @@
41 - def get_data_files():
42 - """Return data_files in a platform dependent manner"""
43 - if sys.platform.startswith('linux'):
44 -- if PY3:
45 -- data_files = [('share/applications', ['scripts/spyder3.desktop']),
46 -- ('share/icons', ['img_src/spyder3.png']),
47 -- ('share/metainfo', ['scripts/spyder3.appdata.xml'])]
48 -- else:
49 -- data_files = [('share/applications', ['scripts/spyder.desktop']),
50 -+ data_files = [('share/applications', ['scripts/spyder.desktop']),
51 - ('share/icons', ['img_src/spyder.png'])]
52 - elif os.name == 'nt':
53 - data_files = [('scripts', ['img_src/spyder.ico',
54 -@@ -112,21 +107,6 @@
55 -
56 -
57 - #==============================================================================
58 --# Make Linux detect Spyder desktop file
59 --#==============================================================================
60 --class MyInstallData(install_data):
61 -- def run(self):
62 -- install_data.run(self)
63 -- if sys.platform.startswith('linux'):
64 -- try:
65 -- subprocess.call(['update-desktop-database'])
66 -- except:
67 -- print("ERROR: unable to update desktop database",
68 -- file=sys.stderr)
69 --CMDCLASS = {'install_data': MyInstallData}
70 --
71 --
72 --#==============================================================================
73 - # Main scripts
74 - #==============================================================================
75 - # NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows
76 -@@ -210,8 +190,7 @@
77 - 'Intended Audience :: Science/Research',
78 - 'Intended Audience :: Developers',
79 - 'Topic :: Scientific/Engineering',
80 -- 'Topic :: Software Development :: Widget Sets'],
81 -- cmdclass=CMDCLASS)
82 -+ 'Topic :: Software Development :: Widget Sets'])
83 -
84 -
85 - #==============================================================================
86
87 diff --git a/dev-python/spyder/spyder-4.0.0_beta1.ebuild b/dev-python/spyder/spyder-4.0.0_beta1.ebuild
88 deleted file mode 100644
89 index 7800f95826f..00000000000
90 --- a/dev-python/spyder/spyder-4.0.0_beta1.ebuild
91 +++ /dev/null
92 @@ -1,77 +0,0 @@
93 -# Copyright 1999-2020 Gentoo Authors
94 -# Distributed under the terms of the GNU General Public License v2
95 -
96 -EAPI=6
97 -
98 -PYTHON_COMPAT=( python3_6 )
99 -
100 -inherit eutils distutils-r1 xdg-utils
101 -MY_P=${P/_beta/b}
102 -
103 -DESCRIPTION="The Scientific PYthon Development EnviRonment"
104 -HOMEPAGE="
105 - https://www.spyder-ide.org/
106 - https://github.com/spyder-ide/spyder/
107 - https://pypi.org/project/spyder/"
108 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
109 -
110 -LICENSE="MIT"
111 -SLOT="0"
112 -KEYWORDS="~amd64 ~x86"
113 -IUSE="hdf5 +webengine webkit"
114 -REQUIRED_USE="webengine? ( !webkit )"
115 -
116 -RDEPEND="
117 - hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
118 - dev-python/chardet[${PYTHON_USEDEP}]
119 - dev-python/cloudpickle[${PYTHON_USEDEP}]
120 - >=dev-python/jedi-0.11.0[${PYTHON_USEDEP}]
121 - dev-python/nbconvert[${PYTHON_USEDEP}]
122 - dev-python/pycodestyle[${PYTHON_USEDEP}]
123 - dev-python/pickleshare[${PYTHON_USEDEP}]
124 - dev-python/psutil[${PYTHON_USEDEP}]
125 - dev-python/pyflakes[${PYTHON_USEDEP}]
126 - dev-python/pygments[${PYTHON_USEDEP}]
127 - dev-python/pylint[${PYTHON_USEDEP}]
128 - dev-python/pyzmq[${PYTHON_USEDEP}]
129 - >=dev-python/qtawesome-0.4.1[${PYTHON_USEDEP}]
130 - dev-python/qtconsole[${PYTHON_USEDEP}]
131 - dev-python/QtPy[${PYTHON_USEDEP},svg,webengine?,webkit?]
132 - >=dev-python/rope-0.10.7[${PYTHON_USEDEP}]
133 - dev-python/sphinx[${PYTHON_USEDEP}]
134 - dev-python/numpydoc[${PYTHON_USEDEP}]
135 - >=dev-python/spyder-kernels-1.0"
136 -DEPEND="${RDEPEND}
137 - dev-python/setuptools[${PYTHON_USEDEP}]"
138 -
139 -# Based on the courtesy of Arfrever
140 -PATCHES=( "${FILESDIR}"/${P}-build.patch )
141 -
142 -S="${WORKDIR}/${MY_P}"
143 -
144 -python_install() {
145 - distutils-r1_python_install
146 - python_newscript scripts/${PN} ${PN}${EPYTHON:6:1}
147 -}
148 -
149 -python_install_all() {
150 - distutils-r1_python_install_all
151 - doicon spyder/images/spyder.svg
152 - make_desktop_entry spyder Spyder spyder "Development;IDE"
153 -}
154 -
155 -pkg_postinst() {
156 - xdg_desktop_database_update
157 -
158 - elog "To get additional features, optional runtime dependencies may be installed:"
159 - optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib
160 - optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas
161 - optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy
162 - optfeature "Symbolic mathematics in the IPython console" dev-python/sympy
163 - optfeature "Import Matlab workspace files in the Variable Explorer" sci-libs/scipy
164 - optfeature "Run Cython files in the IPython console" dev-python/cython
165 -}
166 -
167 -pkg_postrm() {
168 - xdg_desktop_database_update
169 -}