Hi Jack,
You can override the default 'unpack command' by specifying a tuple of
('source', 'unpack command') to your sources.
e.g. how this is done here
https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/a/ABINIT/ABINIT-7.0.3-x86_64_linux_gnu4.5.eb
I believe you could supply
sources = [SOURCE_TAR_GZ, ('Makefile.def', 'echo %s')] # echo is a no-op
Regards,
Jens Timmerman
On 07/21/2016 05:28 PM, Jack Perdue wrote:
> Howdy all,
>
> Is there an easy way to tell EB to not try to
> decompress source=[] files? e.g. plain-text Makefile
>
> extract_file seems to have issues and I"m forced
> to gunzip/gzip the Makefile.def I want to use for OpenSees
> everytime I need to tweak it. e.g.
>
> sources = [SOURCE_TAR_GZ, 'Makefile.def.gz']
>
> I looked over the "Writing EasyConfigs: The Basics" and ReadTheDocs
> and didn't see what I need. I also didn't see the "Advanced" page.
>
> Looking through the framework I'm sure there is a simple
> solution, I'm just not seeing it at the moment.
>
> Help?
>
> Thanks,
>