[arch-commits] Commit in spyder/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Sat Apr 10 16:20:13 UTC 2021


    Date: Saturday, April 10, 2021 @ 16:20:12
  Author: archange
Revision: 915584

Try fixing Arch ARM package

Modified:
  spyder/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-10 16:09:39 UTC (rev 915583)
+++ PKGBUILD	2021-04-10 16:20:12 UTC (rev 915584)
@@ -5,7 +5,7 @@
 
 pkgname=spyder
 pkgver=5.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="The Scientific Python Development Environment"
 arch=(any)
 url="https://www.spyder-ide.org/"
@@ -93,6 +93,9 @@
   sed "s|JEDI_REQVER = '=|JEDI_REQVER = '>=|" -i spyder/dependencies.py
   sed "s|PARSO_REQVER = '=|PARSO_REQVER = '>=|" -i spyder/dependencies.py
   sed "s|QDARKSTYLE_REQVER = '=|QDARKSTYLE_REQVER = '>=|" -i spyder/dependencies.py
+  sed "s|jedi==|jedi>=|" -i setup.py
+  sed "s|parso==|parso>=|" -i setup.py
+  sed "s|qdarkstyle==|qdarkstyle>=|" -i setup.py
   # Allow our Qt version
   sed "s|'pyqt5<5.13'|'pyqt5'|" -i setup.py
   sed "s|'pyqtwebengine<5.13'|'pyqtwebengine'|" -i setup.py
@@ -108,16 +111,13 @@
 check() {
   cd ${pkgname}-${pkgver}
   # Required per above patching
-  sed "s|jedi==|jedi>=|" -i setup.py
-  sed "s|parso==|parso>=|" -i setup.py
-  sed "s|qdarkstyle==|qdarkstyle>=|" -i setup.py
   sed "s|jedi =|jedi >=|" -i binder/environment.yml
   sed "s|parso =|parso >=|" -i binder/environment.yml
   sed "s|qdarkstyle =|qdarkstyle >=|" -i binder/environment.yml
+  sed "s|pyqt <5.13|pyqt|" -i binder/environment.yml
   sed "s|jedi =|jedi >=|" -i requirements/conda.txt
   sed "s|parso =|parso >=|" -i requirements/conda.txt
   sed "s|qdarkstyle =|qdarkstyle >=|" -i requirements/conda.txt
-  sed "s|pyqt <5.13|pyqt|" -i binder/environment.yml
   sed "s|pyqt <5.13|pyqt|" -i requirements/conda.txt
   # Some tests failures but upstream does not support us
   python runtests.py || echo "Tests failed"



More information about the arch-commits mailing list