summaryrefslogtreecommitdiff
path: root/devel/py-spyder/files/patch-setup.py
blob: c8d2aefccc709bdcd1c0e05733289d3ecf18fbef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- setup.py.orig	2022-08-29 23:48:19 UTC
+++ setup.py
@@ -91,7 +91,7 @@ def get_data_files():
     """
     Return data_files in a platform dependent manner.
     """
-    if sys.platform.startswith('linux'):
+    if sys.platform.startswith('linux') or sys.platform.startswith('freebsd'):
         data_files = [('share/applications', ['scripts/spyder.desktop']),
                       ('share/icons', ['img_src/spyder.png']),
                       ('share/metainfo',
@@ -197,7 +197,6 @@ setup_args = dict(
         'Topic :: Scientific/Engineering',
         'Topic :: Software Development :: Widget Sets',
     ],
-    cmdclass=CMDCLASS,
 )
 
 
@@ -229,17 +228,17 @@ install_requires = [
     'pyqt5<5.16',
     'pyqtwebengine<5.16',
     'python-lsp-server[all]>=1.5.0,<1.6.0',
-    'pyxdg>=0.26;platform_system=="Linux"',
+    'pyxdg>=0.26',
     'pyzmq>=22.1.0',
-    'qdarkstyle>=3.0.2,<3.1.0',
+    'qdarkstyle>=3.0.2',
     'qstylizer>=0.1.10',
     'qtawesome>=1.0.2',
-    'qtconsole>=5.3.2,<5.4.0',
+    'qtconsole',
     'qtpy>=2.1.0',
     'rtree>=0.9.7',
     'setuptools>=49.6.0',
     'sphinx>=0.6.6',
-    'spyder-kernels>=2.3.3,<2.4.0',
+    'spyder-kernels>=2.3.3,<2.4.1',
     'textdistance>=4.2.0',
     'three-merge>=0.1.1',
     'watchdog>=0.10.3'