summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-12-12 09:05:26 +0100
committerMike Gilbert <floppym@gentoo.org>2020-12-12 10:58:44 -0500
commit9f6bf3b7c0337f5ff4f40f53bbdbdb4dca5f0d89 (patch)
tree22231f318b7eadd94dcf6c9211832c63cd729234
parentdev-python/markdown: remove unused patch(es) (diff)
downloadgentoo-9f6bf3b7c0337f5ff4f40f53bbdbdb4dca5f0d89.tar.gz
gentoo-9f6bf3b7c0337f5ff4f40f53bbdbdb4dca5f0d89.tar.bz2
gentoo-9f6bf3b7c0337f5ff4f40f53bbdbdb4dca5f0d89.zip
dev-python/spyder: remove unused patch
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--dev-python/spyder/files/spyder-4.1.2-py3-only.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/dev-python/spyder/files/spyder-4.1.2-py3-only.patch b/dev-python/spyder/files/spyder-4.1.2-py3-only.patch
deleted file mode 100644
index afdc92a1e12..00000000000
--- a/dev-python/spyder/files/spyder-4.1.2-py3-only.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 2d5d58b..4adc952 100644
---- a/setup.py
-+++ b/setup.py
-@@ -31,13 +31,6 @@ import shutil
- from distutils.core import setup
- from distutils.command.install_data import install_data
-
--
--#==============================================================================
--# Check for Python 3
--#==============================================================================
--PY3 = sys.version_info[0] == 3
--
--
- #==============================================================================
- # Minimal Python version sanity check
- # Taken from the notebook setup.py -- Modified BSD License
-@@ -87,13 +80,8 @@ def get_subpackages(name):
- 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']),
-- ('share/icons', ['img_src/spyder.png'])]
-+ data_files = [('share/applications', ['scripts/spyder.desktop']),
-+ ('share/icons', ['img_src/spyder.png'])]
- elif os.name == 'nt':
- data_files = [('scripts', ['img_src/spyder.ico',
- 'img_src/spyder_reset.ico'])]
-@@ -131,9 +119,7 @@ CMDCLASS = {'install_data': MyInstallData}
- # See spyder-ide/spyder#1158.
- SCRIPTS = ['%s_win_post_install.py' % NAME]
-
--if PY3 and sys.platform.startswith('linux'):
-- SCRIPTS.append('spyder3')
--else:
-+if sys.platform.startswith('linux'):
- SCRIPTS.append('spyder')
-
- if os.name == 'nt':
-@@ -269,8 +255,7 @@ if 'setuptools' in sys.modules:
-
- setup_args['entry_points'] = {
- 'gui_scripts': [
-- '{} = spyder.app.start:main'.format(
-- 'spyder3' if PY3 else 'spyder')
-+ '{} = spyder.app.start:main'.format('spyder')
- ]
- }
-