1 |
commit: eb47d00796ea8cc9fa47e1fa79ef6dfea11ce44c |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Thu May 14 12:31:20 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 26 20:41:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb47d007 |
7 |
|
8 |
dev-python/spyder: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
dev-python/spyder/Manifest | 2 ++ |
15 |
dev-python/spyder/spyder-4.1.2.ebuild | 2 +- |
16 |
.../{spyder-4.1.2.ebuild => spyder-4.1.3.ebuild} | 38 ++++++++++++---------- |
17 |
3 files changed, 24 insertions(+), 18 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest |
20 |
index a4f09dcf716..90d416e11ca 100644 |
21 |
--- a/dev-python/spyder/Manifest |
22 |
+++ b/dev-python/spyder/Manifest |
23 |
@@ -1,2 +1,4 @@ |
24 |
DIST spyder-4.1.2.tar.gz 11125567 BLAKE2B 38591301fa9d97836341c9e86134fee1515ce901f42aeb45f606f23f5da7411e45e98e872dda0f0de4504e062eb6aa188d3db15181074220e69624a6b28dd8f6 SHA512 a0aeb1f7eb66f2efd5bb7da6ed7401668ca76e968b9b651882567664925be22ba0748914477876e2c62761442c57fa69c19a9fc6556251ac6db83bcd6088d000 |
25 |
+DIST spyder-4.1.3.tar.gz 11610111 BLAKE2B 5cc25a6a8c6609dcec8e5e0d4beddfa582b2f632a4d1c61ef68e68e82f3cbc2b29694ddc7cdda216e4a8143254e6c1cca1e817a3f72be324671ff0196f3f0842 SHA512 0d0568c500c5b153bcd0073897eaf4e526e62bbc82c4a795683185cdac86f00c24d3b2efaa1f6bcd2f60305e387cda46bb732fbeaf21391e9d80ca4b18787b7e |
26 |
DIST spyder-docs-1022fd8.tar.gz 3539049 BLAKE2B 6d54a990ab681e9ed8a5f1a03e59e86c29eb94af18f29dd6c3b8b782230974cf057d25993b0e0358d0f32aba3fd8740dc94fb173766c094e7954d9f39456e6a5 SHA512 84935fb0665e1981c319484ba97096bf6996cc618d073417d06f3dfb703366429be333203af3ff2fe124cf00cc72e416fbc97734be4e21e9200b104fea167933 |
27 |
+DIST spyder-docs-6abac0ce8be017c6ecfb2b451700bf5b0e4c36dd.tar.gz 15821929 BLAKE2B 843510c87dc9ca616a6114159445894d2f4728201a93f424131f2524c8bc833d1b1540740d1e7cf473c4aed501cce775a073a9ee8748fe29b4193c927da70820 SHA512 c9161a7dc4bdef8e9a1ebe84ee7cc01fb9083965b54fc421d006a999ff753485c3d4a615e9646a6be47826663a64dc9af7f442dc2e4c81283c6eb5de55a8a3a9 |
28 |
|
29 |
diff --git a/dev-python/spyder/spyder-4.1.2.ebuild b/dev-python/spyder/spyder-4.1.2.ebuild |
30 |
index a16c87621eb..2123862db62 100644 |
31 |
--- a/dev-python/spyder/spyder-4.1.2.ebuild |
32 |
+++ b/dev-python/spyder/spyder-4.1.2.ebuild |
33 |
@@ -3,7 +3,7 @@ |
34 |
|
35 |
EAPI=7 |
36 |
|
37 |
-PYTHON_COMPAT=( python3_{6,7} ) |
38 |
+PYTHON_COMPAT=( python3_7 ) |
39 |
|
40 |
inherit eutils xdg distutils-r1 virtualx |
41 |
|
42 |
|
43 |
diff --git a/dev-python/spyder/spyder-4.1.2.ebuild b/dev-python/spyder/spyder-4.1.3.ebuild |
44 |
similarity index 88% |
45 |
copy from dev-python/spyder/spyder-4.1.2.ebuild |
46 |
copy to dev-python/spyder/spyder-4.1.3.ebuild |
47 |
index a16c87621eb..40dfff6e210 100644 |
48 |
--- a/dev-python/spyder/spyder-4.1.2.ebuild |
49 |
+++ b/dev-python/spyder/spyder-4.1.3.ebuild |
50 |
@@ -3,12 +3,12 @@ |
51 |
|
52 |
EAPI=7 |
53 |
|
54 |
-PYTHON_COMPAT=( python3_{6,7} ) |
55 |
+PYTHON_COMPAT=( python3_7 ) |
56 |
|
57 |
inherit eutils xdg distutils-r1 virtualx |
58 |
|
59 |
# Commit of documentation to fetch |
60 |
-DOCS_PV="1022fd8" |
61 |
+DOCS_PV="6abac0ce8be017c6ecfb2b451700bf5b0e4c36dd" |
62 |
|
63 |
DESCRIPTION="The Scientific Python Development Environment" |
64 |
HOMEPAGE=" |
65 |
@@ -22,6 +22,9 @@ LICENSE="MIT" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
|
69 |
+# Tests succeed, but freezes at the end, installation does not continue |
70 |
+RESTRICT="test" |
71 |
+ |
72 |
RDEPEND=" |
73 |
>=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}] |
74 |
>=dev-python/chardet-2.0.0[${PYTHON_USEDEP}] |
75 |
@@ -48,9 +51,10 @@ RDEPEND=" |
76 |
>=dev-python/qtconsole-4.6.0[${PYTHON_USEDEP}] |
77 |
>=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},svg,webengine] |
78 |
>=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}] |
79 |
- >=dev-python/spyder-kernels-1.9.0[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/spyder-kernels-1.9.1[${PYTHON_USEDEP}] |
81 |
<dev-python/spyder-kernels-1.10.0[${PYTHON_USEDEP}] |
82 |
- dev-python/watchdog[${PYTHON_USEDEP}]" |
83 |
+ dev-python/watchdog[${PYTHON_USEDEP}] |
84 |
+" |
85 |
|
86 |
DEPEND="test? ( |
87 |
dev-python/coverage[${PYTHON_USEDEP}] |
88 |
@@ -65,14 +69,15 @@ DEPEND="test? ( |
89 |
dev-python/pytest-qt[${PYTHON_USEDEP}] |
90 |
sci-libs/scipy[${PYTHON_USEDEP}] |
91 |
dev-python/sympy[${PYTHON_USEDEP}] |
92 |
- dev-python/xarray[${PYTHON_USEDEP}] )" |
93 |
+ dev-python/xarray[${PYTHON_USEDEP}] |
94 |
+)" |
95 |
|
96 |
# Based on the courtesy of Arfrever |
97 |
# This patch removes a call to update-desktop-database during build |
98 |
# This fails because access is denied to this command during build |
99 |
PATCHES=( |
100 |
- "${FILESDIR}/${P}-build.patch" |
101 |
- "${FILESDIR}/${P}-py3-only.patch" |
102 |
+ "${FILESDIR}/${PN}-4.1.2-build.patch" |
103 |
+ "${FILESDIR}/${PN}-4.1.2-py3-only.patch" |
104 |
) |
105 |
|
106 |
distutils_enable_tests pytest |
107 |
@@ -82,6 +87,9 @@ python_prepare_all() { |
108 |
# move docs into workdir |
109 |
mv ../spyder-docs-${DOCS_PV}* docs || die |
110 |
|
111 |
+ # these deps are packaged separately |
112 |
+ rm external-deps/* -r || die |
113 |
+ |
114 |
# some tests still depend on QtPy[webkit] which is going to be removed |
115 |
# spyder itself works fine without webkit |
116 |
rm spyder/widgets/tests/test_browser.py || die |
117 |
@@ -96,10 +104,6 @@ python_prepare_all() { |
118 |
# skip online test |
119 |
rm spyder/widgets/github/tests/test_github_backend.py || die |
120 |
|
121 |
- # AssertionError: assert 'import numpy' == '# import numpy' |
122 |
- sed -i -e 's:test_comment:_&:' \ |
123 |
- spyder/plugins/editor/widgets/tests/test_codeeditor.py || die |
124 |
- |
125 |
# AssertionError: assert '' == 'This is some test text!' |
126 |
sed -i -e 's:test_tab_copies_find_to_replace:_&:' \ |
127 |
spyder/plugins/editor/widgets/tests/test_editor.py || die |
128 |
@@ -108,13 +112,13 @@ python_prepare_all() { |
129 |
sed -i -e 's:test_dependencies_for_binder_in_sync:_&:' \ |
130 |
spyder/tests/test_dependencies_in_sync.py || die |
131 |
|
132 |
- # No idea why this fails, no error just stops and dumps core |
133 |
- sed -i -e 's:test_arrayeditor_edit_complex_array:_&:' \ |
134 |
- spyder/plugins/variableexplorer/widgets/tests/test_arrayeditor.py || die |
135 |
- |
136 |
# Assertion error, can't connect/remember inside ebuild environment |
137 |
rm spyder/plugins/ipythonconsole/widgets/tests/test_kernelconnect.py || die |
138 |
|
139 |
+ # assert 77 in [71, 78] assert 45 in [43, 46] |
140 |
+ sed -i -e 's:test_objectexplorer_collection_types:_&:' \ |
141 |
+ spyder/plugins/variableexplorer/widgets/objectexplorer/tests/test_objectexplorer.py || die |
142 |
+ |
143 |
# Assertion error (pytest-qt), maybe we can't do shortcuts inside ebuild environment? |
144 |
sed -i -e 's:test_transform_to_uppercase_shortcut:_&:' \ |
145 |
-e 's:test_transform_to_lowercase_shortcut:_&:' \ |
146 |
@@ -142,10 +146,10 @@ pkg_postinst() { |
147 |
optfeature "The hdf5/h5py plugin" dev-python/h5py |
148 |
optfeature "The line profiler plugin" dev-python/spyder-line-profiler |
149 |
optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler |
150 |
- # spyder-autopep8 and spyder-vim do not have a release (yet) |
151 |
+ # spyder-autopep8 does not have a release (yet) |
152 |
# and are not compatible with >=spyder-4.0.0 at the moment |
153 |
# optfeature "The autopep8 plugin" dev-python/spyder-autopep8 |
154 |
- # optfeature "Vim key bindings" dev-python/spyder-vim |
155 |
+ optfeature "Vim key bindings" dev-python/spyder-vim |
156 |
optfeature "Unittest support" dev-python/spyder-unittest |
157 |
optfeature "Jupyter notebook support" dev-python/spyder-notebook |
158 |
optfeature "System terminal inside spyder" dev-python/spyder-terminal |