Skip to content

Commit

Permalink
redefine collect_exts_file_info in OCaml easyblock, since fetch_exten…
Browse files Browse the repository at this point in the history
…sion_sources was deprecated in easybuilders/easybuild-framework#3860
  • Loading branch information
boegel committed Oct 16, 2021
1 parent 2f2cf0c commit a54bdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/o/ocaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def prepare_for_extensions(self):
self.cfg['exts_filter'] = EXTS_FILTER_OCAML_PACKAGES
super(EB_OCaml, self).prepare_for_extensions()

def fetch_extension_sources(self, *args, **kwargs):
def collect_exts_file_info(self, *args, **kwargs):
"""Don't fetch extension sources, OPAM takes care of that (and archiving too)."""
return [{'name': ext_name, 'version': ext_version} for ext_name, ext_version in self.cfg['exts_list']]

Expand Down

0 comments on commit a54bdab

Please sign in to comment.