diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-01-13 15:00:25 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-02-19 09:02:43 +0200 |
commit | 6b31016c4e658c7f79afe69b3e5579c9ccfae2d8 (patch) | |
tree | f148f55fa9d6b8e6bfb1ad5e51deda4007355364 /dev-python/spyder/files | |
parent | dev-python/spyder: Version bump 4.0.1 (diff) | |
download | gentoo-6b31016c4e658c7f79afe69b3e5579c9ccfae2d8.tar.gz gentoo-6b31016c4e658c7f79afe69b3e5579c9ccfae2d8.tar.bz2 gentoo-6b31016c4e658c7f79afe69b3e5579c9ccfae2d8.zip |
dev-python/spyder: Clean up 4.0.0_beta versions
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.0_beta1-build.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch b/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch deleted file mode 100644 index 2b0f9bc699f3..000000000000 --- a/dev-python/spyder/files/spyder-4.0.0_beta1-build.patch +++ /dev/null @@ -1,49 +0,0 @@ -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 -@@ -83,12 +83,7 @@ - def get_data_files(): - """Return data_files in a platform dependent manner""" - if sys.platform.startswith('linux'): -- if PY3: -- data_files = [('share/applications', ['scripts/spyder3.desktop']), -- ('share/icons', ['img_src/spyder3.png']), -- ('share/metainfo', ['scripts/spyder3.appdata.xml'])] -- else: -- data_files = [('share/applications', ['scripts/spyder.desktop']), -+ data_files = [('share/applications', ['scripts/spyder.desktop']), - ('share/icons', ['img_src/spyder.png'])] - elif os.name == 'nt': - data_files = [('scripts', ['img_src/spyder.ico', -@@ -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']) - - - #============================================================================== |