summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-01-13 14:59:44 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-02-19 09:02:38 +0200
commitb9d393eb0462256fcf945c103e71dcddcbd6646d (patch)
treead741e38b1e08f2098ad13f37213ff89cb9371d5 /dev-python/spyder/files
parentdev-python/psutil: Remove old (diff)
downloadgentoo-b9d393eb0462256fcf945c103e71dcddcbd6646d.tar.gz
gentoo-b9d393eb0462256fcf945c103e71dcddcbd6646d.tar.bz2
gentoo-b9d393eb0462256fcf945c103e71dcddcbd6646d.zip
dev-python/spyder: Version bump 4.0.1
Bug: https://bugs.gentoo.org/702458 Bug: https://bugs.gentoo.org/702768 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/spyder/files')
-rw-r--r--dev-python/spyder/files/spyder-4.0.1-build.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/spyder/files/spyder-4.0.1-build.patch b/dev-python/spyder/files/spyder-4.0.1-build.patch
new file mode 100644
index 000000000000..7463550fc165
--- /dev/null
+++ b/dev-python/spyder/files/spyder-4.0.1-build.patch
@@ -0,0 +1,35 @@
+diff -r -U3 spyder-4.0.0b1.orig/setup.py spyder-4.0.0b1/setup.py
+--- spyder-4.0.0b1.orig/setup.py 2018-08-12 04:35:49.000000000 +0700
++++ spyder-4.0.0b1/setup.py 2018-08-14 20:25:32.827148778 +0700
+@@ -112,21 +107,6 @@
+
+
+ #==============================================================================
+-# Make Linux detect Spyder desktop file
+-#==============================================================================
+-class MyInstallData(install_data):
+- def run(self):
+- install_data.run(self)
+- if sys.platform.startswith('linux'):
+- try:
+- subprocess.call(['update-desktop-database'])
+- except:
+- print("ERROR: unable to update desktop database",
+- file=sys.stderr)
+-CMDCLASS = {'install_data': MyInstallData}
+-
+-
+-#==============================================================================
+ # Main scripts
+ #==============================================================================
+ # NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows
+@@ -210,8 +190,7 @@
+ 'Intended Audience :: Science/Research',
+ 'Intended Audience :: Developers',
+ 'Topic :: Scientific/Engineering',
+- 'Topic :: Software Development :: Widget Sets'],
+- cmdclass=CMDCLASS)
++ 'Topic :: Software Development :: Widget Sets'])
+
+
+ #==============================================================================