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:
parent
e3e50b3af9
commit
aaad65fbd8
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user