From 501e7dfdb09f55fb4bed7c8a7c82455fcb0497c9 Mon Sep 17 00:00:00 2001 From: Raed Rizqie Date: Fri, 26 Nov 2021 01:22:26 +0800 Subject: [PATCH] python-spyder: update to 5.2.0 --- mingw-w64-python-spyder/PKGBUILD | 12 +++++---- .../spyder-requirements-fix.patch | 27 +++++++++++-------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/mingw-w64-python-spyder/PKGBUILD b/mingw-w64-python-spyder/PKGBUILD index 595ba46e09..a176014c92 100644 --- a/mingw-w64-python-spyder/PKGBUILD +++ b/mingw-w64-python-spyder/PKGBUILD @@ -3,8 +3,8 @@ _realname=spyder pkgbase=mingw-w64-python-${_realname} pkgname=${MINGW_PACKAGE_PREFIX}-python-${_realname} -pkgver=5.1.5 -pkgrel=3 +pkgver=5.2.0 +pkgrel=1 pkgdesc='The Scientific Python Development Environment (mingw-w64)' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') @@ -32,6 +32,7 @@ depends=( ${MINGW_PACKAGE_PREFIX}-python-paramiko ${MINGW_PACKAGE_PREFIX}-python-parso ${MINGW_PACKAGE_PREFIX}-python-pexpect + ${MINGW_PACKAGE_PREFIX}-python-pickleshare ${MINGW_PACKAGE_PREFIX}-python-psutil ${MINGW_PACKAGE_PREFIX}-python-pygments ${MINGW_PACKAGE_PREFIX}-python-pylint @@ -54,12 +55,13 @@ depends=( optdepends=( ${MINGW_PACKAGE_PREFIX}-python-cython ${MINGW_PACKAGE_PREFIX}-python-matplotlib + ${MINGW_PACKAGE_PREFIX}-python-numpy ${MINGW_PACKAGE_PREFIX}-python-pandas) makedepends=(${MINGW_PACKAGE_PREFIX}-python-setuptools) -source=(https://github.com/spyder-ide/${_realname}/archive/v${pkgver}.tar.gz +source=(https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz spyder-requirements-fix.patch) -sha256sums=('1a5dd3a7d7919b5bdc48fa4177c0fe1579bdc734272ad57bac6b7460b280d850' - '6a0fb0894bb7ce02e461003d21bce7a3276c2364a131b9dd8fabb5dba9243af4') +sha256sums=('cd04acc88426acee9c4ce6bb91f50c13fc161a437e68bca701243b3415ce9d08' + 'eddf7a7d0e056afdf6965ba535bf37fb3c13bb6f45f72a55a0bf723733d3f1c5') prepare() { rm -rf python-build-${MSYSTEM} | true diff --git a/mingw-w64-python-spyder/spyder-requirements-fix.patch b/mingw-w64-python-spyder/spyder-requirements-fix.patch index 41cd1b2890..91a3cd1d92 100644 --- a/mingw-w64-python-spyder/spyder-requirements-fix.patch +++ b/mingw-w64-python-spyder/spyder-requirements-fix.patch @@ -1,17 +1,22 @@ ---- a/setup.py 2021-09-16 09:18:30 +0800 -+++ b/setup.py 2021-11-21 00:14:02 +0800 -@@ -221,11 +221,11 @@ - 'pickleshare>=0.4', - 'psutil>=5.3', - 'pygments>=2.0', -- 'pylint>=2.5.0,<2.10.0', -+ 'pylint>=2.5.0', +diff -urN spyder-5.2.0-orig/setup.py spyder-5.2.0/setup.py +--- spyder-5.2.0-orig/setup.py 2021-11-26 00:43:42.420508300 +0800 ++++ spyder-5.2.0/setup.py 2021-11-26 01:41:05.600446900 +0800 +@@ -95,7 +95,7 @@ + ('share/metainfo', + ['scripts/org.spyder_ide.spyder.appdata.xml'])] + elif os.name == 'nt': +- data_files = [('scripts', ['img_src/spyder.ico', ++ data_files = [('share/spyder', ['img_src/spyder.ico', + 'img_src/spyder_reset.ico'])] + else: + data_files = [] +@@ -225,8 +225,7 @@ + 'pylint>=2.5.0', 'python-lsp-black>=1.0.0', 'pyls-spyder>=0.4.0', - 'pyqt5<5.13', - 'pyqtwebengine<5.13', -+ 'pyqt5<5.16', -+ #'pyqtwebengine<5.13', - 'python-lsp-server[all]>=1.2.2,<1.3.0', ++ 'pyqt5>=5.13', + 'python-lsp-server[all]>=1.3.1,<1.4.0', 'pyxdg>=0.26;platform_system=="Linux"', 'pyzmq>=17',