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.
This commit is contained in:
Manuela Kuhn 2021-07-13 15:12:10 +02:00 committed by GitHub
parent e3e50b3af9
commit aaad65fbd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,8 @@ class Graphviz(AutotoolsPackage):
depends_on('sed', type='build') depends_on('sed', type='build')
depends_on('libtool', type='build') depends_on('libtool', type='build')
depends_on('pkgconfig', 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', conflicts('~doc',
when='@:2.45', when='@:2.45',