Hi Yann,

On 27/09/16 11:47, Yann Sagon wrote:
Dear list,

I'm trying to create an eb for QGIS. Here is a link to the draft.


https://github.com/ysagon/easybuild-easyconfigs/blob/qgis/easybuild/easyconfigs/q/QGIS/QGIS-2.16-foss-2016a-Python-2.7.11.eb

As QGIS depends on other eb using python, I tried to set the python version in the eb name and use it as versionsuffix in the eb.

It seems the versionsuffix isn't interpreted according to the error message I have when trying to build:

ERROR: Failed to process easyconfig /home/sagon/dev/easybuild-easyconfigs/easybuild/easyconfigs/q/QGIS/QGIS-2.16-foss-2016a-Python-2.7.11.eb: Failed to find easyconfig file 'GEOS-3.5.0-foss-2016a-Python-%(pyver)s.eb' when determining module name for: {'external_module_metadata': {}, 'full_mod_name': None, 'toolchain': {'version': '2016a', 'name': 'foss'}, 'name': 'GEOS', 'dummy': False, 'short_mod_name': None, 'external_module': False, 'versionsuffix': '-Python-%(pyver)s', 'version': '3.5.0', 'toolchain_inherited': True, 'hidden': False, 'build_only': False}

Any hint?

The %(pyver)s template will only get resolved if you include Python as a dependency, so you're missing this:

dependencies = [
    ...
    ('Python', '2.7.12'),
    ...
]


regards,

Kenneth

Reply via email to