From 2190ae43a5724b891bacf241d417a1340cabbac1 Mon Sep 17 00:00:00 2001 From: healther Date: Wed, 29 Nov 2017 00:43:43 +0100 Subject: Fix astroid dependency and mark broken version (#6493) --- var/spack/repos/builtin/packages/py-astroid/package.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-astroid/package.py b/var/spack/repos/builtin/packages/py-astroid/package.py index 63be8ae470..c0bb2b6464 100644 --- a/var/spack/repos/builtin/packages/py-astroid/package.py +++ b/var/spack/repos/builtin/packages/py-astroid/package.py @@ -29,12 +29,17 @@ class PyAstroid(PythonPackage): homepage = "https://www.astroid.org/" url = "https://github.com/PyCQA/astroid/archive/astroid-1.4.5.tar.gz" + # version('1.5.3', '6f65e4ea8290ec032320460905afb828') # has broken unit tests version('1.4.5', '7adfc55809908297ef430efe4ea20ac3') version('1.4.4', '8ae6f63f6a2b260bb7f647dafccbc796') version('1.4.3', '4647159de7d4d0c4b1de23ecbfb8e246') version('1.4.2', '677f7965840f375af51b0e86403bee6a') version('1.4.1', 'ed70bfed5e4b25be4292e7fe72da2c02') - depends_on('py-logilab-common', type=('build', 'run')) - depends_on('py-setuptools', type='build') - depends_on('py-six', type=('build', 'run')) + depends_on('py-lazy-object-proxy') + depends_on('py-six') + depends_on('py-wrapt') + depends_on('py-enum34@1.1.3:', when='^python@:3.3.99') + depends_on('py-singledispatch', when='^python@:3.3.99') + depends_on('py-backports-functools-lru-cache', when='^python@:3.2.99') + depends_on('py-setuptools@17.1:') -- cgit v1.2.3-60-g2f50