From 39a5ec1d6e8e79f0758d23def1b9b89a90170f3b Mon Sep 17 00:00:00 2001 From: Orient Date: Wed, 1 Nov 2023 16:41:42 +0100 Subject: [PATCH] Renamed downloaded files + added checksums + added local_ to local vars --- .../o/Oases/Oases-20180312-GCC-12.3.0.eb | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/easybuild/easyconfigs/o/Oases/Oases-20180312-GCC-12.3.0.eb b/easybuild/easyconfigs/o/Oases/Oases-20180312-GCC-12.3.0.eb index 357a853cb97..03ee0713e0f 100644 --- a/easybuild/easyconfigs/o/Oases/Oases-20180312-GCC-12.3.0.eb +++ b/easybuild/easyconfigs/o/Oases/Oases-20180312-GCC-12.3.0.eb @@ -11,20 +11,23 @@ description = """Oases is a de novo transcriptome assembler designed to produce toolchain = {'name': 'GCC', 'version': '12.3.0'} # This is taken from the Oases repo to avoid setting git_config in sources -velvet_commit = '9adf09f7ded7fedaf6b0e5e4edf9f46602e263d3' - -sources = [ - '%s.tar.gz' % local_commit, - '%s.tar.gz' % velvet_commit, -] +local_velvet_commit = '9adf09f7ded7fedaf6b0e5e4edf9f46602e263d3' source_urls = [ 'https://github.com/dzerbino/%(namelower)s/archive/', 'https://github.com/dzerbino/velvet/archive/', ] +sources = [ + {'download_filename': '%s.tar.gz' % local_commit, 'filename': '%(namelower)s-%(version)s.tar.gz'}, + {'download_filename': '%s.tar.gz' % local_velvet_commit, 'filename': 'velvet-20140815.tar.gz'} +] +checksums = [ + {'oases-20180312.tar.gz': 'f526b84e9fa3e5f89b728f4a71b8bd23b336b8a6cd83a2d88414710592ec5e4e'}, + {'velvet-20140815.tar.gz': '8e952e3a4bf2ffae586a64e5e97029c9fdd53b5e1991106ef832d73e499b163b'}, +] # listed make targets exclude 'doc' on purpose -buildopts = ['VELVET_DIR=../velvet-%s cleanobj velvet oases' % velvet_commit] +buildopts = ['VELVET_DIR=../velvet-%s cleanobj velvet oases' % local_velvet_commit] parallel = 1 files_to_copy = [(["oases"], 'bin'), "data", "scripts", "src", "doc", "LICENSE.txt", "README.md"]