py-qtpy: recipe bugfix (#23747)

This commit is contained in:
Valentin Volkl 2021-05-19 07:34:59 +02:00 committed by GitHub
parent 8bed109e41
commit 2e58d09303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ class PyQtpy(PythonPackage):
depends_on('py-setuptools', type='build')
for api in apis:
depends_on('py-' + api, when='+' + api, type='run')
depends_on('py-' + api, when='api=' + api, type='run')
def setup_run_environment(self, env):
env.set('QT_API', self.spec.variants['api'].value)