summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-07-13 15:12:10 +0200
committerGitHub <noreply@github.com>2021-07-13 13:12:10 +0000
commitaaad65fbd82cc6e89ae4546f6cb462c6206a2fb9 (patch)
treec90eef7c50143a34731b33292c80fe59081aa7a4
parente3e50b3af9c8919b9a4d67446c37c92a010d0d67 (diff)
downloadspack-aaad65fbd82cc6e89ae4546f6cb462c6206a2fb9.tar.gz
spack-aaad65fbd82cc6e89ae4546f6cb462c6206a2fb9.tar.bz2
spack-aaad65fbd82cc6e89ae4546f6cb462c6206a2fb9.tar.xz
spack-aaad65fbd82cc6e89ae4546f6cb462c6206a2fb9.zip
graphviz: add python dependency to fix installation (#24852)
The bootstrap script in the autoreconf procedure calls the gen_version.py script which requires python 3.6 to process f-strings.
-rw-r--r--var/spack/repos/builtin/packages/graphviz/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py
index 7274f79ad1..70d1985384 100644
--- a/var/spack/repos/builtin/packages/graphviz/package.py
+++ b/var/spack/repos/builtin/packages/graphviz/package.py
@@ -116,6 +116,8 @@ class Graphviz(AutotoolsPackage):
depends_on('sed', type='build')
depends_on('libtool', type='build')
depends_on('pkgconfig', type='build')
+ # to process f-strings used in gen_version.py
+ depends_on('python@3.6:', when='@2.47:', type='build')
conflicts('~doc',
when='@:2.45',