summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-02-18 19:56:18 +0100
committerGitHub <noreply@github.com>2020-02-18 12:56:18 -0600
commitc0bae73d2fee2058a372b53f8b93efb22d040ab5 (patch)
tree193f052a6979b1f5c687a29c88ed15cdabcb9675 /var
parentc77b6923b8ced8212a734c6ded26579ddaabad9c (diff)
downloadspack-c0bae73d2fee2058a372b53f8b93efb22d040ab5.tar.gz
spack-c0bae73d2fee2058a372b53f8b93efb22d040ab5.tar.bz2
spack-c0bae73d2fee2058a372b53f8b93efb22d040ab5.tar.xz
spack-c0bae73d2fee2058a372b53f8b93efb22d040ab5.zip
Add extra version of py-graphviz (#14981)
* Add extra version of py-graphviz * Update package.py * Update package.py * Update var/spack/repos/builtin/packages/py-graphviz/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-graphviz/package.py5
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')