diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-graphviz/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-graphviz/package.py b/var/spack/repos/builtin/packages/py-graphviz/package.py index da4fbe17b0..9fcbd1c556 100644 --- a/var/spack/repos/builtin/packages/py-graphviz/package.py +++ b/var/spack/repos/builtin/packages/py-graphviz/package.py @@ -13,12 +13,14 @@ class PyGraphviz(PythonPackage): homepage = "https://github.com/xflr6/graphviz" url = "https://pypi.io/packages/source/g/graphviz/graphviz-0.10.1.zip" + version('0.11.1', sha256='914b8b124942d82e3e1dcef499c9fe77c10acd3d18a1cfeeb2b9de05f6d24805') version('0.10.1', sha256='d311be4fddfe832a56986ac5e1d6e8715d7fcb0208560da79d1bb0f72abef41f') variant('dev', default=False, description='development mode') variant('docs', default=False, description='build documentation') - depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('python@2.7:2.8,3.4:', type=('build', 'run'), when='@:0.10.1') + depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@0.11.0:') depends_on('py-setuptools', type='build') depends_on('py-tox@3.0:', type=('build', 'run'), when='+dev') depends_on('py-flake8', type=('build', 'run'), when='+dev') @@ -27,6 +29,7 @@ class PyGraphviz(PythonPackage): depends_on('py-twine', type=('build', 'run'), when='+dev') depends_on('py-mock@2:', type='test') depends_on('py-pytest@3.4:', type='test') + depends_on('py-pytest@3.4:3.9,3.11:', when='@0.11.1', type='test') depends_on('py-pytest-mock@1.8:', type='test') depends_on('py-pytest-cov', type='test') depends_on('py-sphinx@1.7:', type=('build', 'run'), when='+docs') |