2021-01-02 15:10:28 +08:00
|
|
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-03-03 22:01:20 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-03-03 22:01:20 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class PySpyder(PythonPackage):
|
|
|
|
"""Scientific PYthon Development EnviRonment"""
|
|
|
|
|
|
|
|
homepage = "https://github.com/spyder-ide/spyder"
|
2020-12-30 08:44:04 +08:00
|
|
|
pypi = "spyder/spyder-3.1.3.tar.gz"
|
2017-03-03 22:01:20 +08:00
|
|
|
|
2019-10-11 13:44:41 +08:00
|
|
|
version('3.1.3', sha256='4978872cc5a006803bc8742d0a8fb43c49aef9524f0a9fcb8bd6dfcfdc2d2d6a')
|
2017-03-03 22:01:20 +08:00
|
|
|
|
2018-10-13 01:57:32 +08:00
|
|
|
depends_on('python@2.7.0:2.8.0,3.3.0:', type=('build', 'run'))
|
2017-03-03 22:01:20 +08:00
|
|
|
depends_on('py-rope@0.9.4:', type=('build', 'run'), when='^python@:3')
|
|
|
|
# depends_on('py-rope_py3k', type=('build', 'run'), when='^python@3:')
|
|
|
|
depends_on('py-jedi@0.9.0', type=('build', 'run'))
|
|
|
|
# otherwise collision with py-flake8
|
|
|
|
depends_on('py-pyflakes@1.2.3', type=('build', 'run'))
|
|
|
|
depends_on('py-pygments@2.0:', type=('build', 'run'))
|
|
|
|
depends_on('py-qtconsole@4.2.0:', type=('build', 'run'))
|
|
|
|
depends_on('py-nbconvert', type=('build', 'run'))
|
|
|
|
depends_on('py-sphinx', type=('build', 'run'))
|
2018-10-13 01:57:32 +08:00
|
|
|
# The pycodestyle dependency is split in two, because internally it
|
|
|
|
# changes its name from pep8 to pycodestyle, and spyder does not cope
|
|
|
|
# with this change until @3.2.0
|
|
|
|
# https://github.com/PyCQA/pycodestyle/issues/466
|
|
|
|
# https://github.com/spyder-ide/spyder/blob/master/CHANGELOG.md#version-32-2017-07-24
|
|
|
|
depends_on('py-pycodestyle@:1.7.1', when='@:3.1.99', type=('build', 'run'))
|
|
|
|
depends_on('py-pycodestyle@2.1.0:', when='@3.2.0:', type=('build', 'run'))
|
2017-03-03 22:01:20 +08:00
|
|
|
depends_on('py-pylint', type=('build', 'run'))
|
|
|
|
depends_on('py-psutil', type=('build', 'run'))
|
|
|
|
depends_on('py-qtawesome@0.4.1:', type=('build', 'run'))
|
|
|
|
depends_on('py-qtpy@1.1.0:', type=('build', 'run'))
|
2019-07-31 06:12:48 +08:00
|
|
|
# technically this is a transitive dependency in order for py-pyqt4
|
2018-10-13 01:57:32 +08:00
|
|
|
# to pick up webkit, but this is the easier solution (see #9207)
|
|
|
|
depends_on('qt+webkit', type=('build', 'run'))
|
2017-03-03 22:01:20 +08:00
|
|
|
depends_on('py-pickleshare', type=('build', 'run'))
|
2019-10-29 09:27:54 +08:00
|
|
|
depends_on('py-pyzmq', type=('build', 'run'))
|
2018-10-13 01:57:32 +08:00
|
|
|
depends_on('py-chardet@2.0.0:', type=('build', 'run'))
|
2017-03-03 22:01:20 +08:00
|
|
|
depends_on('py-numpydoc', type=('build', 'run'))
|