z3: update python dependency (#16597)
-[x] `z3` needs a dependency on `py-setuptools` -[x] `z3` has a run dependency on `python`, so we might as well make building with the python bindings default
This commit is contained in:
parent
80e7a61597
commit
a44f487a1d
1 changed files with 2 additions and 1 deletions
|
@ -21,8 +21,9 @@ class Z3(MakefilePackage):
|
||||||
|
|
||||||
phases = ['bootstrap', 'build', 'install']
|
phases = ['bootstrap', 'build', 'install']
|
||||||
|
|
||||||
variant('python', default=False, description='Enable python binding')
|
variant('python', default=True, description='Enable python binding')
|
||||||
depends_on('python', type=('build', 'run'))
|
depends_on('python', type=('build', 'run'))
|
||||||
|
depends_on('py-setuptools', type=('run'), when='+python')
|
||||||
extends('python', when='+python')
|
extends('python', when='+python')
|
||||||
|
|
||||||
# Referenced: https://github.com/Z3Prover/z3/issues/1016
|
# Referenced: https://github.com/Z3Prover/z3/issues/1016
|
||||||
|
|
Loading…
Reference in a new issue