From a8b0d35ab742f31538d515dea39716e566d533c0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Jan 2018 23:13:57 +0000 Subject: gentoo resync : 06.01.2018 --- dev-python/spyder/Manifest | 6 - dev-python/spyder/files/spyder-3.0.2-build.patch | 140 ----------------------- dev-python/spyder/files/spyder-3.2.3-build.patch | 130 --------------------- dev-python/spyder/spyder-3.0.2-r3.ebuild | 59 ---------- dev-python/spyder/spyder-3.2.3.ebuild | 60 ---------- 5 files changed, 395 deletions(-) delete mode 100644 dev-python/spyder/files/spyder-3.0.2-build.patch delete mode 100644 dev-python/spyder/files/spyder-3.2.3-build.patch delete mode 100644 dev-python/spyder/spyder-3.0.2-r3.ebuild delete mode 100644 dev-python/spyder/spyder-3.2.3.ebuild (limited to 'dev-python/spyder') diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 9951cffa13d6..764032de4133 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -1,10 +1,4 @@ -AUX spyder-3.0.2-build.patch 6024 BLAKE2B 9eadbf46ba7d9413f4f6f2852dc205db05a842d449b17089e6fcb957e5f504d9020657cea249d35cf1144f9ae0f40b29d2b8089f241276b75274bff7dea08f90 SHA512 7c743a086f8abb99757731ef02c90042c57475c8ab07239ae75ddebd1aa1b1573dbd4e050dff4710fed38338687ca4be9d5eb0e7277c41334e8595d9a1907e41 -AUX spyder-3.2.3-build.patch 5706 BLAKE2B 60eea8e3dcb3bd6a5b80e2b30322ad7d514ca4011a6edefb325e468d692f790beadb8598f2d24b20d2015e77c9eb10388c3354b3417c96a5a2bdc5e02f4a0c38 SHA512 41fa116652af0b2a93e25e1c39c450c9bc5cc7bf76afde75e8b53845d7fa8be822c6763ca48ea4cbcb64e72cac927c832233bb681c9950a272da517234464123 AUX spyder-3.2.4-build.patch 5706 BLAKE2B 60eea8e3dcb3bd6a5b80e2b30322ad7d514ca4011a6edefb325e468d692f790beadb8598f2d24b20d2015e77c9eb10388c3354b3417c96a5a2bdc5e02f4a0c38 SHA512 41fa116652af0b2a93e25e1c39c450c9bc5cc7bf76afde75e8b53845d7fa8be822c6763ca48ea4cbcb64e72cac927c832233bb681c9950a272da517234464123 -DIST spyder-3.0.2.tar.gz 3207709 BLAKE2B e2a55db41610af6f29843a309fa3e4774fa49c07bf59f2152881738d41df413032e125d8cf19d5844f15e1b4ec56b2f335c6b4b319609a02f8bf40711dde75fe SHA512 7f3723bd98876aa4769877327a93aa02510689708012afc72148c67acd91ab134501ae57471d9cf0e17c9e3892a541b7730a2392ace3c6525443058d0ed01612 -DIST spyder-3.2.3.tar.gz 3342954 BLAKE2B bfe3c045883c5090a664097e943d868ee63b5c92f8f89e033ae5959ba04c02c832d830cb2f8f3b2c1b70f86824cc5e4b6f7633eafc68dd30601583f97a54345a SHA512 873a1a0c319fc6580dfbe7370dc5ca132d973b5baf75ba0b6cda228adb7fe7baf4fbdebf4d1984ed6f204c7d27b1bfc2c449199ab02aeb8caf9ebded738f3491 DIST spyder-3.2.4.tar.gz 3345797 BLAKE2B 2df946f257fee7e87dd922b6ed3b3c0fa02438560cb7fa4087f25498eb134bfc8c342a0a928be37f08448dfea2917380a8521ead13954091b1854616012ace91 SHA512 46e89c68545695d1e64aaafdd2ed724b152a41088f1bfa645b8c66d8ae6bcc2d86e9830cd3f16edfb8027aad5786dfb67f2a8371839dd515df8ebe34446716e6 -EBUILD spyder-3.0.2-r3.ebuild 1677 BLAKE2B 8b09865b8102ce593834200b75fc68673f6ff7eee9c50330bb799f7fe240956a0da13ec8da160131b96c7530060f748ee7417864f7b5bc823466df13664ff2ea SHA512 94b33f77268021422d49b5022000f9589eeb5d4bbb8675bd5d4066e3577995df9802137914db06d9366d01cf7cfd7c1d0b3ba8b078b2035f7f3ecf50882dcc08 -EBUILD spyder-3.2.3.ebuild 1721 BLAKE2B 6ab61bdb3f36c76a7741b1a41346e6d5a08ba5f8402fd976c781490ed50fa8b0c0cd7acee440faab33a06f0355702e94585474758fced618f4a7f378b833ae22 SHA512 e7dd7d4a25b96314e02f6b8c1d2e5928f7c9100444165f9c1303e67c14c7a164e0754f728d9521f5c324f815b20a9079727f00b7501e836b3ea97ffe5828cb4f EBUILD spyder-3.2.4.ebuild 1721 BLAKE2B 6ab61bdb3f36c76a7741b1a41346e6d5a08ba5f8402fd976c781490ed50fa8b0c0cd7acee440faab33a06f0355702e94585474758fced618f4a7f378b833ae22 SHA512 e7dd7d4a25b96314e02f6b8c1d2e5928f7c9100444165f9c1303e67c14c7a164e0754f728d9521f5c324f815b20a9079727f00b7501e836b3ea97ffe5828cb4f MISC metadata.xml 825 BLAKE2B 5293b72a6f4d5cb50a86c2f895a8455f8debbaf66a7a2429c69c59587eae7fe3c09350df5c3f7c1f3d60bff7e585fff8644d67ed91d3814ec036d70565ccd59f SHA512 d15dd90b0db7e1ee2718dcf4cf3aff509775bc72b0352ef401308b7fd78063792c02596e1f8fabbfc2f19e9016f670e396589411e5fe8609f020222ffa9ac4db diff --git a/dev-python/spyder/files/spyder-3.0.2-build.patch b/dev-python/spyder/files/spyder-3.0.2-build.patch deleted file mode 100644 index f476401b5c1e..000000000000 --- a/dev-python/spyder/files/spyder-3.0.2-build.patch +++ /dev/null @@ -1,140 +0,0 @@ -diff -r -U3 spyder-3.0.2.orig/setup.py spyder-3.0.2/setup.py ---- spyder-3.0.2.orig/setup.py 2016-10-25 07:05:22.000000000 +0700 -+++ spyder-3.0.2/setup.py 2016-12-12 19:44:13.840412632 +0700 -@@ -77,12 +77,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/pixmaps', ['img_src/spyder3.png'])] -- else: -- data_files = [('share/applications', ['scripts/spyder.desktop']), -- ('share/pixmaps', ['img_src/spyder.png'])] -+ data_files = [('share/pixmaps', ['img_src/spyder.png'])] - elif os.name == 'nt': - data_files = [('scripts', ['img_src/spyder.ico', - 'img_src/spyder_reset.ico'])] -@@ -105,111 +100,9 @@ - - - #============================================================================== --# 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} -- -- --#============================================================================== --# Sphinx build (documentation) --#============================================================================== --def get_html_help_exe(): -- """Return HTML Help Workshop executable path (Windows only)""" -- if os.name == 'nt': -- hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe' -- for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'): -- if osp.isfile(hhc_exe): -- return hhc_exe -- else: -- return -- --try: -- from sphinx import setup_command -- -- class MyBuild(build): -- user_options = [('no-doc', None, "Don't build Spyder documentation")] \ -- + build.user_options -- def __init__(self, *args, **kwargs): -- build.__init__(self, *args, **kwargs) -- self.no_doc = False -- def with_doc(self): -- setup_dir = os.path.dirname(os.path.abspath(__file__)) -- is_doc_dir = os.path.isdir(os.path.join(setup_dir, 'doc')) -- install_obj = self.distribution.get_command_obj('install') -- return (is_doc_dir and not self.no_doc and not install_obj.no_doc) -- sub_commands = build.sub_commands + [('build_doc', with_doc)] -- CMDCLASS['build'] = MyBuild -- -- -- class MyInstall(install): -- user_options = [('no-doc', None, "Don't build Spyder documentation")] \ -- + install.user_options -- def __init__(self, *args, **kwargs): -- install.__init__(self, *args, **kwargs) -- self.no_doc = False -- CMDCLASS['install'] = MyInstall -- -- -- class MyBuildDoc(setup_command.BuildDoc): -- def run(self): -- build = self.get_finalized_command('build') -- sys.path.insert(0, os.path.abspath(build.build_lib)) -- dirname = self.distribution.get_command_obj('build').build_purelib -- self.builder_target_dir = osp.join(dirname, 'spyder', 'doc') -- -- if not osp.exists(self.builder_target_dir): -- os.mkdir(self.builder_target_dir) -- -- hhc_exe = get_html_help_exe() -- self.builder = "html" if hhc_exe is None else "htmlhelp" -- -- try: -- setup_command.BuildDoc.run(self) -- except UnicodeDecodeError: -- print("ERROR: unable to build documentation because Sphinx "\ -- "do not handle source path with non-ASCII characters. "\ -- "Please try to move the source package to another "\ -- "location (path with *only* ASCII characters).", -- file=sys.stderr) -- sys.path.pop(0) -- -- # Building chm doc, if HTML Help Workshop is installed -- if hhc_exe is not None: -- fname = osp.join(self.builder_target_dir, 'Spyderdoc.chm') -- subprocess.call('"%s" %s' % (hhc_exe, fname), shell=True) -- if osp.isfile(fname): -- dest = osp.join(dirname, 'spyder') -- try: -- shutil.move(fname, dest) -- except shutil.Error: -- print("Unable to replace %s" % dest) -- shutil.rmtree(self.builder_target_dir) -- -- CMDCLASS['build_doc'] = MyBuildDoc --except ImportError: -- print('WARNING: unable to build documentation because Sphinx '\ -- 'is not installed', file=sys.stderr) -- -- --#============================================================================== - # Main scripts - #============================================================================== --# NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows --# platforms due to a bug in pip installation process (see Issue 1158) --SCRIPTS = ['%s_win_post_install.py' % NAME] --if PY3 and sys.platform.startswith('linux'): -- SCRIPTS.append('spyder3') --else: -- SCRIPTS.append('spyder') -+SCRIPTS = ['spyder'] - - - #============================================================================== -@@ -259,8 +152,7 @@ - 'Programming Language :: Python :: 3', - 'Development Status :: 5 - Production/Stable', - 'Topic :: Scientific/Engineering', -- 'Topic :: Software Development :: Widget Sets'], -- cmdclass=CMDCLASS) -+ 'Topic :: Software Development :: Widget Sets']) - - - #============================================================================== diff --git a/dev-python/spyder/files/spyder-3.2.3-build.patch b/dev-python/spyder/files/spyder-3.2.3-build.patch deleted file mode 100644 index 2a1fee52131b..000000000000 --- a/dev-python/spyder/files/spyder-3.2.3-build.patch +++ /dev/null @@ -1,130 +0,0 @@ ---- spyder-3.2.3.orig/setup.py 2017-08-29 00:42:56.000000000 +0200 -+++ spyder-3.2.3/setup.py 2017-09-16 20:57:08.610147911 +0200 -@@ -77,13 +77,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/pixmaps', ['img_src/spyder3.png']), -- ('share/metainfo', ['scripts/spyder3.appdata.xml'])] -- else: -- data_files = [('share/applications', ['scripts/spyder.desktop']), -- ('share/pixmaps', ['img_src/spyder.png'])] -+ data_files = [('share/pixmaps', ['img_src/spyder.png'])] - elif os.name == 'nt': - data_files = [('scripts', ['img_src/spyder.ico', - 'img_src/spyder_reset.ico'])] -@@ -106,102 +100,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} -- -- --#============================================================================== --# Sphinx build (documentation) --#============================================================================== --def get_html_help_exe(): -- """Return HTML Help Workshop executable path (Windows only)""" -- if os.name == 'nt': -- hhc_base = r'C:\Program Files%s\HTML Help Workshop\hhc.exe' -- for hhc_exe in (hhc_base % '', hhc_base % ' (x86)'): -- if osp.isfile(hhc_exe): -- return hhc_exe -- else: -- return -- --try: -- from sphinx import setup_command -- -- class MyBuild(build): -- user_options = [('no-doc', None, "Don't build Spyder documentation")] \ -- + build.user_options -- def __init__(self, *args, **kwargs): -- build.__init__(self, *args, **kwargs) -- self.no_doc = False -- def with_doc(self): -- setup_dir = os.path.dirname(os.path.abspath(__file__)) -- is_doc_dir = os.path.isdir(os.path.join(setup_dir, 'doc')) -- install_obj = self.distribution.get_command_obj('install') -- return (is_doc_dir and not self.no_doc and not install_obj.no_doc) -- sub_commands = build.sub_commands + [('build_doc', with_doc)] -- CMDCLASS['build'] = MyBuild -- -- -- class MyInstall(install): -- user_options = [('no-doc', None, "Don't build Spyder documentation")] \ -- + install.user_options -- def __init__(self, *args, **kwargs): -- install.__init__(self, *args, **kwargs) -- self.no_doc = False -- CMDCLASS['install'] = MyInstall -- -- -- class MyBuildDoc(setup_command.BuildDoc): -- def run(self): -- build = self.get_finalized_command('build') -- sys.path.insert(0, os.path.abspath(build.build_lib)) -- dirname = self.distribution.get_command_obj('build').build_purelib -- self.builder_target_dir = osp.join(dirname, 'spyder', 'doc') -- -- if not osp.exists(self.builder_target_dir): -- os.mkdir(self.builder_target_dir) -- -- hhc_exe = get_html_help_exe() -- self.builder = "html" if hhc_exe is None else "htmlhelp" -- -- try: -- setup_command.BuildDoc.run(self) -- except UnicodeDecodeError: -- print("ERROR: unable to build documentation because Sphinx "\ -- "do not handle source path with non-ASCII characters. "\ -- "Please try to move the source package to another "\ -- "location (path with *only* ASCII characters).", -- file=sys.stderr) -- sys.path.pop(0) -- -- # Building chm doc, if HTML Help Workshop is installed -- if hhc_exe is not None: -- fname = osp.join(self.builder_target_dir, 'Spyderdoc.chm') -- subprocess.call('"%s" %s' % (hhc_exe, fname), shell=True) -- if osp.isfile(fname): -- dest = osp.join(dirname, 'spyder') -- try: -- shutil.move(fname, dest) -- except shutil.Error: -- print("Unable to replace %s" % dest) -- shutil.rmtree(self.builder_target_dir) -- -- CMDCLASS['build_doc'] = MyBuildDoc --except ImportError: -- print('WARNING: unable to build documentation because Sphinx '\ -- 'is not installed', file=sys.stderr) -- -- --#============================================================================== - # Main scripts - #============================================================================== - # NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows -@@ -261,8 +159,7 @@ - 'Programming Language :: Python :: 3', - 'Development Status :: 5 - Production/Stable', - 'Topic :: Scientific/Engineering', -- 'Topic :: Software Development :: Widget Sets'], -- cmdclass=CMDCLASS) -+ 'Topic :: Software Development :: Widget Sets']) - - - #============================================================================== diff --git a/dev-python/spyder/spyder-3.0.2-r3.ebuild b/dev-python/spyder/spyder-3.0.2-r3.ebuild deleted file mode 100644 index 1543c8de8e56..000000000000 --- a/dev-python/spyder/spyder-3.0.2-r3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) - -inherit eutils distutils-r1 - -DESCRIPTION="Python IDE with matlab-like features" -HOMEPAGE="https://github.com/spyder-ide/spyder/ https://pypi.python.org/pypi/spyder/ http://pythonhosted.org/spyder/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc hdf5" - -RDEPEND=" - dev-python/PyQt5[${PYTHON_USEDEP},svg,webkit] - dev-python/QtPy[${PYTHON_USEDEP},svg,webkit] - dev-python/qtconsole[${PYTHON_USEDEP}] - >=dev-python/rope-0.10.7[${PYTHON_USEDEP}] - dev-python/jedi[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - dev-python/pep8[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/nbconvert[${PYTHON_USEDEP}] - dev-python/qtawesome[${PYTHON_USEDEP}] - dev-python/pickleshare[${PYTHON_USEDEP}] - dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - app-arch/unzip" - -# Courtesy of Arfrever -PATCHES=( "${FILESDIR}"/${P}-build.patch ) - -python_compile_all() { - if use doc; then - sphinx-build doc doc/html || die "Generation of documentation failed" - fi -} - -python_install() { - distutils-r1_python_install - python_newscript scripts/${PN} ${PN}${EPYTHON:6:1} -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/html/. ) - distutils-r1_python_install_all - doicon spyder/images/spyder.svg - make_desktop_entry spyder Spyder spyder "Development;IDE" -} diff --git a/dev-python/spyder/spyder-3.2.3.ebuild b/dev-python/spyder/spyder-3.2.3.ebuild deleted file mode 100644 index 485bde91fcf7..000000000000 --- a/dev-python/spyder/spyder-3.2.3.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) - -inherit eutils distutils-r1 - -DESCRIPTION="Python IDE with matlab-like features" -HOMEPAGE="https://github.com/spyder-ide/spyder/ https://pypi.python.org/pypi/spyder/ http://pythonhosted.org/spyder/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc hdf5" - -RDEPEND=" - dev-python/PyQt5[${PYTHON_USEDEP},svg,webkit] - dev-python/QtPy[${PYTHON_USEDEP},svg,webkit] - dev-python/qtconsole[${PYTHON_USEDEP}] - >=dev-python/rope-0.10.7[${PYTHON_USEDEP}] - dev-python/jedi[${PYTHON_USEDEP}] - dev-python/pyflakes[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - dev-python/pep8[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/nbconvert[${PYTHON_USEDEP}] - >=dev-python/qtawesome-0.4.1[${PYTHON_USEDEP}] - dev-python/pickleshare[${PYTHON_USEDEP}] - dev-python/pyzmq[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - >=dev-python/pycodestyle-2.3.0 - hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )" -DEPEND="${RDEPEND} - app-arch/unzip" - -# Courtesy of Arfrever -PATCHES=( "${FILESDIR}"/${P}-build.patch ) - -python_compile_all() { - if use doc; then - sphinx-build doc doc/html || die "Generation of documentation failed" - fi -} - -python_install() { - distutils-r1_python_install - python_newscript scripts/${PN} ${PN}${EPYTHON:6:1} -} - -python_install_all() { - use doc && local HTML_DOCS=( doc/html/. ) - distutils-r1_python_install_all - doicon spyder/images/spyder.svg - make_desktop_entry spyder Spyder spyder "Development;IDE" -} -- cgit v1.2.3