scons package: add missing dependency to py-setuptools (#10856)
This commit is contained in:
parent
74b33e9f82
commit
5e68af5a78
1 changed files with 7 additions and 0 deletions
|
@ -19,3 +19,10 @@ class Scons(PythonPackage):
|
|||
|
||||
# Python 3 support was added in SCons 3.0.0
|
||||
depends_on('python@:2', when='@:2', type=('build', 'run'))
|
||||
depends_on('py-setuptools', when='@3.0.2:', type='build')
|
||||
|
||||
# Prevent passing --single-version-externally-managed to
|
||||
# setup.py, which it does not support.
|
||||
@when('@3.0.2:')
|
||||
def install_args(self, spec, prefix):
|
||||
return ['--prefix={0}'.format(prefix), '--root=/']
|
||||
|
|
Loading…
Reference in a new issue