From 8b9064e5e4de171241b277976d2d3403e335d8ef Mon Sep 17 00:00:00 2001 From: James Beal Date: Mon, 11 Dec 2023 18:29:08 +0000 Subject: [PATCH] samtools/htslib add latest version (#41545) * samtools/htslib add latest version * Given I work at the same institute as the authors I think it fair I am willing to review changes, if it's complex I can ask them over tea. --------- Co-authored-by: James Beal --- var/spack/repos/builtin/packages/htslib/package.py | 3 +++ var/spack/repos/builtin/packages/samtools/package.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/htslib/package.py b/var/spack/repos/builtin/packages/htslib/package.py index 25caf70806..ff8bc77932 100644 --- a/var/spack/repos/builtin/packages/htslib/package.py +++ b/var/spack/repos/builtin/packages/htslib/package.py @@ -9,9 +9,12 @@ class Htslib(AutotoolsPackage): """C library for high-throughput sequencing data formats.""" + maintainers("jbeal-work") + homepage = "https://github.com/samtools/htslib" url = "https://github.com/samtools/htslib/releases/download/1.13/htslib-1.13.tar.bz2" + version("1.18", sha256="f1ab53a593a2320a1bfadf4ef915dae784006c5b5c922c8a8174d7530a9af18f") version("1.17", sha256="763779288c40f07646ec7ad98b96c378c739171d162ad98398868783b721839f") version("1.16", sha256="606b7c7aff73734cf033ecd156f40529fa5792f54524952a28938ca0890d7924") version("1.15.1", sha256="8d7f8bf9658226942eeab70af2a22aca618577eaa8fe2ed9416ee306d5351aa1") diff --git a/var/spack/repos/builtin/packages/samtools/package.py b/var/spack/repos/builtin/packages/samtools/package.py index d71ab637a9..4d2e4e17ef 100644 --- a/var/spack/repos/builtin/packages/samtools/package.py +++ b/var/spack/repos/builtin/packages/samtools/package.py @@ -11,9 +11,12 @@ class Samtools(Package): the SAM format, including sorting, merging, indexing and generating alignments in a per-position format""" + maintainers("jbeal-work") + homepage = "https://www.htslib.org" url = "https://github.com/samtools/samtools/releases/download/1.13/samtools-1.13.tar.bz2" + version("1.18", sha256="d686ffa621023ba61822a2a50b70e85d0b18e79371de5adb07828519d3fc06e1") version("1.17", sha256="3adf390b628219fd6408f14602a4c4aa90e63e18b395dad722ab519438a2a729") version("1.16.1", sha256="2fa0a25f78594cf23d07c9d32d5060a14f1c5ee14d7b0af7a8a71abc9fdf1d07") version("1.15.1", sha256="708c525ac76b0532b25f14aadea34a4d11df667bc19bf0a74dae617d80526c6e") @@ -43,6 +46,7 @@ class Samtools(Package): depends_on("python", type="run") # htslib became standalone @1.3.1, must use corresponding version + depends_on("htslib@1.18", when="@1.18") depends_on("htslib@1.17", when="@1.17") depends_on("htslib@1.16", when="@1.16.1") depends_on("htslib@1.15.1", when="@1.15.1")