summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Stanley <molecuul@users.noreply.github.com>2018-09-14 15:55:52 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2018-09-14 13:55:52 -0700
commitff6b9b99fae8d2c993dbf3689899ed8998a541c6 (patch)
treee210ff289793405f6455154114bf4359a09948a6
parent451328d6e6b8bd29b4a840d9fdc6ab278a1cf14a (diff)
downloadspack-ff6b9b99fae8d2c993dbf3689899ed8998a541c6.tar.gz
spack-ff6b9b99fae8d2c993dbf3689899ed8998a541c6.tar.bz2
spack-ff6b9b99fae8d2c993dbf3689899ed8998a541c6.tar.xz
spack-ff6b9b99fae8d2c993dbf3689899ed8998a541c6.zip
gatk: new version (#9202)
* gatk: added 4.0.8.1, fixed binary install * gatk: fix flake8 conflict * gatk: improve comments and modify install
-rw-r--r--var/spack/repos/builtin/packages/gatk/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/gatk/package.py b/var/spack/repos/builtin/packages/gatk/package.py
index f7ce7c1714..e2462ea4e6 100644
--- a/var/spack/repos/builtin/packages/gatk/package.py
+++ b/var/spack/repos/builtin/packages/gatk/package.py
@@ -35,6 +35,8 @@ class Gatk(Package):
homepage = "https://software.broadinstitute.org/gatk/"
url = "https://github.com/broadinstitute/gatk/releases/download/4.0.4.0/gatk-4.0.4.0.zip"
+ version('4.0.8.1', sha256='6d47463dfd8c16ffae82fd29e4e73503e5b7cd0fcc6fea2ed50ee3760dd9acd9',
+ url='https://github.com/broadinstitute/gatk/archive/4.0.8.1.tar.gz')
version('4.0.4.0', '083d655883fb251e837eb2458141fc2b',
url="https://github.com/broadinstitute/gatk/releases/download/4.0.4.0/gatk-4.0.4.0.zip")
version('3.8-0', '0581308d2a25f10d11d3dfd0d6e4d28e', extension='tar.gz',
@@ -46,10 +48,10 @@ class Gatk(Package):
def install(self, spec, prefix):
mkdirp(prefix.bin)
- # The list of files to install varies with release...
- # ... but skip the spack-{build.env}.out files and gatkdoc directory.
+
+ # Install all executable non-script files to prefix bin
files = [x for x in glob.glob("*")
- if not re.match("^spack-", x) and not re.match("^gatkdoc", x)]
+ if not re.match("^.*\.sh$", x) and is_exe(x)]
for f in files:
install(f, prefix.bin)