Update py-flake8 to 3.5.0 (#6918)

This commit is contained in:
healther 2018-01-14 05:07:46 +01:00 committed by Adam J. Stewart
parent 8c648a73bc
commit c6a7979cfd

View file

@ -32,6 +32,7 @@ class PyFlake8(PythonPackage):
homepage = "https://github.com/PyCQA/flake8" homepage = "https://github.com/PyCQA/flake8"
url = "https://github.com/PyCQA/flake8/archive/3.0.4.tar.gz" url = "https://github.com/PyCQA/flake8/archive/3.0.4.tar.gz"
version('3.5.0', '4e312803bbd8e4a1e566ffac887ae647')
version('3.0.4', 'cf2a7d8c92070f7b62253404ffb54df7') version('3.0.4', 'cf2a7d8c92070f7b62253404ffb54df7')
version('2.5.4', '366dd1de6c300254c830b81e66979f06') version('2.5.4', '366dd1de6c300254c830b81e66979f06')
@ -42,16 +43,22 @@ class PyFlake8(PythonPackage):
# However, py-flake8 requires py-setuptools during runtime as well. # However, py-flake8 requires py-setuptools during runtime as well.
depends_on('py-setuptools@30:', type=('build', 'run')) depends_on('py-setuptools@30:', type=('build', 'run'))
# pyflakes >= 1.5.0, < 1.7.0
depends_on('py-pyflakes@1.5.0:1.6.999', when='@3.5.0', type=('build', 'run'))
# pyflakes >= 0.8.1, != 1.2.0, != 1.2.1, != 1.2.2, < 1.3.0 # pyflakes >= 0.8.1, != 1.2.0, != 1.2.1, != 1.2.2, < 1.3.0
depends_on('py-pyflakes@0.8.1:1.1.0,1.2.3:1.2.3', when='@3.0.4', type=('build', 'run')) depends_on('py-pyflakes@0.8.1:1.1.0,1.2.3:1.2.3', when='@3.0.4', type=('build', 'run'))
# pyflakes >= 0.8.1, < 1.1 # pyflakes >= 0.8.1, < 1.1
depends_on('py-pyflakes@0.8.1:1.0.0', when='@2.5.4', type=('build', 'run')) depends_on('py-pyflakes@0.8.1:1.0.0', when='@2.5.4', type=('build', 'run'))
# pycodestyle >= 2.3.0, < 2.4.0
depends_on('py-pycodestyle@2.3.0:2.3.999', when='@3.5.0', type=('build', 'run'))
# pycodestyle >= 2.0.0, < 2.1.0 # pycodestyle >= 2.0.0, < 2.1.0
depends_on('py-pycodestyle@2.0.0:2.0.999', when='@3.0.4', type=('build', 'run')) depends_on('py-pycodestyle@2.0.0:2.0.999', when='@3.0.4', type=('build', 'run'))
# pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2 # pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2
depends_on('py-pycodestyle@1.5.7,1.7.0:', when='@2.5.4', type=('build', 'run')) depends_on('py-pycodestyle@1.5.7,1.7.0:', when='@2.5.4', type=('build', 'run'))
# mccabe >= 0.6.0, < 0.7.0
depends_on('py-mccabe@0.6.0:0.6.999', when='@3.5.0', type=('build', 'run'))
# mccabe >= 0.5.0, < 0.6.0 # mccabe >= 0.5.0, < 0.6.0
depends_on('py-mccabe@0.5.0:0.5.999', when='@3.0.4', type=('build', 'run')) depends_on('py-mccabe@0.5.0:0.5.999', when='@3.0.4', type=('build', 'run'))
# mccabe >= 0.2.1, < 0.5 # mccabe >= 0.2.1, < 0.5