seqkit: add 2.4.0, switching to 'go build' install mechanic (#38192)
* seqkit: add 2.4.0 * seqkit: add 2.4.0, switching to 'go build' install mechanic * seqkit: add 2.4.0, switching to 'go build' install mechanic * seqkit: update to @2.6.1, drop deprecated version and build system * seqkit: add @2.7.0, convert to GoPackage * tidying * tidying --------- Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
This commit is contained in:
parent
29d4a5af44
commit
900bd2f477
@ -6,17 +6,23 @@
|
||||
from spack.package import *
|
||||
|
||||
|
||||
class Seqkit(Package):
|
||||
"""A cross-platform and ultrafast toolkit for FASTA/Q file manipulation
|
||||
in Golang."""
|
||||
class GoBuilder(spack.build_systems.go.GoBuilder):
|
||||
@property
|
||||
def build_directory(self):
|
||||
return join_path(self.pkg.stage.source_path, "seqkit")
|
||||
|
||||
homepage = "https://bioinf.shenwei.me/seqkit"
|
||||
url = (
|
||||
"https://github.com/shenwei356/seqkit/releases/download/v0.10.1/seqkit_linux_amd64.tar.gz"
|
||||
)
|
||||
|
||||
version("0.10.1", sha256="82f1c86dc4bd196403a56c2bf3ec063e5674a71777e68d940c4cc3d8411d2e9d")
|
||||
class Seqkit(GoPackage):
|
||||
"""seqkit: a cross-platform and ultrafast toolkit for FASTA/Q file manipulation"""
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdir(prefix.bin)
|
||||
install("seqkit", prefix.bin)
|
||||
homepage = "https://bioinf.shenwei.me/seqkit/"
|
||||
url = "https://github.com/shenwei356/seqkit/archive/refs/tags/v2.4.0.tar.gz"
|
||||
|
||||
license("MIT", checked_by="A-N-Other")
|
||||
|
||||
version("2.7.0", sha256="b5c723ffd4640659860fc70a71c218d8f53bea0eae571cecc98eff04c7291e02")
|
||||
version("2.6.1", sha256="d88249bd3b630c908ebd308abaa9cd7acb7a781c12bab877d3daaab56f43c443")
|
||||
version("2.5.1", sha256="76d105921f918be20e616fbb607fe0fb2db603535a254ec0f853cb36bef817da")
|
||||
version("2.4.0", sha256="c319f3d5feb7c99309e654042432959f01bbc5f7e4c71f55dc9854df46c73c7f")
|
||||
|
||||
depends_on("go@1.17:", type="build")
|
||||
|
Loading…
Reference in New Issue
Block a user