From c6a7979cfde451d15cf4d85abd5d87f2fab6b0d1 Mon Sep 17 00:00:00 2001 From: healther Date: Sun, 14 Jan 2018 05:07:46 +0100 Subject: Update py-flake8 to 3.5.0 (#6918) --- var/spack/repos/builtin/packages/py-flake8/package.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-flake8/package.py b/var/spack/repos/builtin/packages/py-flake8/package.py index 43ebf00865..f0251e2869 100644 --- a/var/spack/repos/builtin/packages/py-flake8/package.py +++ b/var/spack/repos/builtin/packages/py-flake8/package.py @@ -32,6 +32,7 @@ class PyFlake8(PythonPackage): homepage = "https://github.com/PyCQA/flake8" url = "https://github.com/PyCQA/flake8/archive/3.0.4.tar.gz" + version('3.5.0', '4e312803bbd8e4a1e566ffac887ae647') version('3.0.4', 'cf2a7d8c92070f7b62253404ffb54df7') version('2.5.4', '366dd1de6c300254c830b81e66979f06') @@ -42,16 +43,22 @@ class PyFlake8(PythonPackage): # However, py-flake8 requires py-setuptools during runtime as well. 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 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 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 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 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 depends_on('py-mccabe@0.5.0:0.5.999', when='@3.0.4', type=('build', 'run')) # mccabe >= 0.2.1, < 0.5 -- cgit v1.2.3-60-g2f50