diff options
author | Arne Becker <101113822+EbiArnie@users.noreply.github.com> | 2023-12-23 20:33:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-23 14:33:17 -0600 |
commit | 2e4462792cbb15ea64f90ef28746f1bb54e92025 (patch) | |
tree | 77efb74b903927e0b12f5ca6640232c14f272c01 | |
parent | b50f131a0170c73b2389036307fe66b6207e1342 (diff) | |
download | spack-2e4462792cbb15ea64f90ef28746f1bb54e92025.tar.gz spack-2e4462792cbb15ea64f90ef28746f1bb54e92025.tar.bz2 spack-2e4462792cbb15ea64f90ef28746f1bb54e92025.tar.xz spack-2e4462792cbb15ea64f90ef28746f1bb54e92025.zip |
minimap2: Added option for paftools.js (#41765)
- Added an option for the Javascript paftools script
- Added two slightly older versions
-rw-r--r-- | var/spack/repos/builtin/packages/minimap2/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/minimap2/package.py b/var/spack/repos/builtin/packages/minimap2/package.py index e84bb54044..6112fae4bc 100644 --- a/var/spack/repos/builtin/packages/minimap2/package.py +++ b/var/spack/repos/builtin/packages/minimap2/package.py @@ -13,8 +13,11 @@ class Minimap2(PythonPackage): homepage = "https://github.com/lh3/minimap2" url = "https://github.com/lh3/minimap2/releases/download/v2.2/minimap2-2.2.tar.bz2" + git = "https://github.com/lh3/minimap2.git" version("2.26", sha256="6a588efbd273bff4f4808d5190957c50272833d2daeb4407ccf4c1b78143624c") + version("2.24", sha256="9dd4c31ff082182948944bcdad6d328f64f09295d10547d72eba24189880a615") + version("2.17", sha256="b68ac8882d33cc63e9e3246775062aeb159b6990ff7f38099172c3fe6f8a2742") version("2.14", sha256="9088b785bb0c33488ca3a27c8994648ce21a8be54cb117f5ecee26343facd03b") version("2.10", sha256="52b36f726ec00bfca4a2ffc23036d1a2b5f96f0aae5a92fd826be6680c481c20") version("2.2", sha256="7e8683aa74c4454a8cfe3821f405c4439082e24c152b4b834fdb56a117ecaed9") @@ -24,6 +27,9 @@ class Minimap2(PythonPackage): depends_on("py-setuptools", type="build") depends_on("py-cython", type="build") + variant("jstools", default=False, description="Include Javascript tools (paftools)") + depends_on("k8", type="run", when="+jstools") + @run_after("install") def install_minimap2(self): make_arg = [] @@ -32,3 +38,4 @@ class Minimap2(PythonPackage): make(*make_arg) mkdirp(prefix.bin) install("minimap2", prefix.bin) + install("misc/*.js", prefix.bin) |