From 4310a29cc0e621470bea5a4169dd5c065b7f0405 Mon Sep 17 00:00:00 2001 From: Wendar Lin Date: Mon, 30 Oct 2023 09:37:16 +0800 Subject: [PATCH 1/5] the mdust --- .../m/mDust/mDust-20231029-GCC-10.3.0.eb | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 easybuild/easyconfigs/m/mDust/mDust-20231029-GCC-10.3.0.eb diff --git a/easybuild/easyconfigs/m/mDust/mDust-20231029-GCC-10.3.0.eb b/easybuild/easyconfigs/m/mDust/mDust-20231029-GCC-10.3.0.eb new file mode 100644 index 00000000000..12a25eb3276 --- /dev/null +++ b/easybuild/easyconfigs/m/mDust/mDust-20231029-GCC-10.3.0.eb @@ -0,0 +1,37 @@ +easyblock = 'MakeCp' + +name = 'mDust' +version = '20231029' + +homepage = 'https://github.com/lh3/mdust' +description = "mdust from DFCI Gene Indices Software Tools (archived for a historical record only)" + +toolchain = {'name': 'GCC', 'version': '10.3.0'} + +sources = [{ + 'filename': 'mdust.tar.gz', + 'git_config': { + 'url': 'https://github.com/lh3', + 'repo_name': 'mdust', + 'commit': '3e3fed8', + 'clone_into': 'mdustSrc', + }, +}] +# git clone, might have to adjust this checksum +checksums = ['6fe21806e6bcd3810babed8d83dfb9ff072fcb9d3a31cd43da9cb9670c0ec6f0'] + +configure_without_installdir = True + +files_to_copy = [] + +postinstallcmds = ['mkdir %(installdir)s/bin', + 'cp mdust %(installdir)s/bin'] + +sanity_check_paths = { + 'files': ['bin/mdust'], + 'dirs': [] +} + +sanity_check_commands = ["mdust < /dev/null"] + +moduleclass = 'bio' From b11ffac9f4328404c64e9fdc446c41fe16885388 Mon Sep 17 00:00:00 2001 From: wdlingit <90846876+wdlingit@users.noreply.github.com> Date: Wed, 1 Nov 2023 17:49:10 +0800 Subject: [PATCH 2/5] Update and rename mDust-20231029-GCC-10.3.0.eb to mDust-20150102-GCC-10.3.0.eb modified as the suggested easyconfig practices --- ...-GCC-10.3.0.eb => mDust-20150102-GCC-10.3.0.eb} | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) rename easybuild/easyconfigs/m/mDust/{mDust-20231029-GCC-10.3.0.eb => mDust-20150102-GCC-10.3.0.eb} (65%) diff --git a/easybuild/easyconfigs/m/mDust/mDust-20231029-GCC-10.3.0.eb b/easybuild/easyconfigs/m/mDust/mDust-20150102-GCC-10.3.0.eb similarity index 65% rename from easybuild/easyconfigs/m/mDust/mDust-20231029-GCC-10.3.0.eb rename to easybuild/easyconfigs/m/mDust/mDust-20150102-GCC-10.3.0.eb index 12a25eb3276..81302e8e48d 100644 --- a/easybuild/easyconfigs/m/mDust/mDust-20231029-GCC-10.3.0.eb +++ b/easybuild/easyconfigs/m/mDust/mDust-20150102-GCC-10.3.0.eb @@ -1,7 +1,7 @@ easyblock = 'MakeCp' -name = 'mDust' -version = '20231029' +name = 'mdust' +version = '20150102' homepage = 'https://github.com/lh3/mdust' description = "mdust from DFCI Gene Indices Software Tools (archived for a historical record only)" @@ -14,18 +14,12 @@ sources = [{ 'url': 'https://github.com/lh3', 'repo_name': 'mdust', 'commit': '3e3fed8', - 'clone_into': 'mdustSrc', }, }] # git clone, might have to adjust this checksum -checksums = ['6fe21806e6bcd3810babed8d83dfb9ff072fcb9d3a31cd43da9cb9670c0ec6f0'] +checksums = [None] -configure_without_installdir = True - -files_to_copy = [] - -postinstallcmds = ['mkdir %(installdir)s/bin', - 'cp mdust %(installdir)s/bin'] +files_to_copy = [(['mdust'], 'bin')] sanity_check_paths = { 'files': ['bin/mdust'], From 1422c1c7721889f5f67a6674fa047829898d7dbf Mon Sep 17 00:00:00 2001 From: wdlingit <90846876+wdlingit@users.noreply.github.com> Date: Wed, 1 Nov 2023 17:52:36 +0800 Subject: [PATCH 3/5] Rename mDust-20150102-GCC-10.3.0.eb to mdust-20150102-GCC-10.3.0.eb --- ...{mDust-20150102-GCC-10.3.0.eb => mdust-20150102-GCC-10.3.0.eb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename easybuild/easyconfigs/m/mDust/{mDust-20150102-GCC-10.3.0.eb => mdust-20150102-GCC-10.3.0.eb} (100%) diff --git a/easybuild/easyconfigs/m/mDust/mDust-20150102-GCC-10.3.0.eb b/easybuild/easyconfigs/m/mDust/mdust-20150102-GCC-10.3.0.eb similarity index 100% rename from easybuild/easyconfigs/m/mDust/mDust-20150102-GCC-10.3.0.eb rename to easybuild/easyconfigs/m/mDust/mdust-20150102-GCC-10.3.0.eb From d1477cfda67390a9d27e21ac2a8e652f8dfd684e Mon Sep 17 00:00:00 2001 From: Wendar Lin Date: Wed, 1 Nov 2023 18:06:40 +0800 Subject: [PATCH 4/5] rename the folder --- .../easyconfigs/m/{mDust => mdust}/mdust-20150102-GCC-10.3.0.eb | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename easybuild/easyconfigs/m/{mDust => mdust}/mdust-20150102-GCC-10.3.0.eb (100%) diff --git a/easybuild/easyconfigs/m/mDust/mdust-20150102-GCC-10.3.0.eb b/easybuild/easyconfigs/m/mdust/mdust-20150102-GCC-10.3.0.eb similarity index 100% rename from easybuild/easyconfigs/m/mDust/mdust-20150102-GCC-10.3.0.eb rename to easybuild/easyconfigs/m/mdust/mdust-20150102-GCC-10.3.0.eb From f9bd47a6ed098072eb574a8edc0dbd1a711e46e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Wed, 1 Nov 2023 13:58:50 +0100 Subject: [PATCH 5/5] remove comment --- easybuild/easyconfigs/m/mdust/mdust-20150102-GCC-10.3.0.eb | 1 - 1 file changed, 1 deletion(-) diff --git a/easybuild/easyconfigs/m/mdust/mdust-20150102-GCC-10.3.0.eb b/easybuild/easyconfigs/m/mdust/mdust-20150102-GCC-10.3.0.eb index 81302e8e48d..5dea5b1bc57 100644 --- a/easybuild/easyconfigs/m/mdust/mdust-20150102-GCC-10.3.0.eb +++ b/easybuild/easyconfigs/m/mdust/mdust-20150102-GCC-10.3.0.eb @@ -16,7 +16,6 @@ sources = [{ 'commit': '3e3fed8', }, }] -# git clone, might have to adjust this checksum checksums = [None] files_to_copy = [(['mdust'], 'bin')]