summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsnehring <7978778+snehring@users.noreply.github.com>2023-11-01 18:33:12 -0500
committerGitHub <noreply@github.com>2023-11-01 16:33:12 -0700
commita8285f0eec9917d8a0c4202268ddcb91f410dcc6 (patch)
tree51e1feaefb7a92eb773be322cf354216947dfff6 /var
parente7456e1aab27b2d9b8b1133a65d5561f3ff21584 (diff)
downloadspack-a8285f0eec9917d8a0c4202268ddcb91f410dcc6.tar.gz
spack-a8285f0eec9917d8a0c4202268ddcb91f410dcc6.tar.bz2
spack-a8285f0eec9917d8a0c4202268ddcb91f410dcc6.tar.xz
spack-a8285f0eec9917d8a0c4202268ddcb91f410dcc6.zip
vcftools: add v0.1.16 (#40805)
* vcftools: adding new version 0.1.16 * Update var/spack/repos/builtin/packages/vcftools/package.py Co-authored-by: Alec Scott <alec@bcs.sh> --------- Co-authored-by: Alec Scott <alec@bcs.sh>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vcftools/package.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/vcftools/package.py b/var/spack/repos/builtin/packages/vcftools/package.py
index 944760be38..e592728113 100644
--- a/var/spack/repos/builtin/packages/vcftools/package.py
+++ b/var/spack/repos/builtin/packages/vcftools/package.py
@@ -16,6 +16,7 @@ class Vcftools(AutotoolsPackage):
homepage = "https://vcftools.github.io/"
url = "https://github.com/vcftools/vcftools/releases/download/v0.1.14/vcftools-0.1.14.tar.gz"
+ version("0.1.16", sha256="dbfc774383c106b85043daa2c42568816aa6a7b4e6abc965eeea6c47dde914e3")
# this is "a pre-release"
# version('0.1.15', sha256='31e47afd5be679d89ece811a227525925b6907cce4af2c86f10f465e080383e3')
version("0.1.14", sha256="76d799dd9afcb12f1ed42a07bc2886cd1a989858a4d047f24d91dcf40f608582")
@@ -26,7 +27,15 @@ class Vcftools(AutotoolsPackage):
# this needs to be in sync with what setup_run_environment adds to
# PERL5LIB below
def configure_args(self):
- return ["--with-pmdir={0}".format(self.prefix.lib)]
+ args = []
+ # between 0.1.16 and 14 the behavior of the configure script
+ # wrt the perl lib dir changed and it became relative to the
+ # install directory, if you specify the whole prefix in
+ # it now you end up with a nasty recreation of the
+ # prefix tree in self.prefix.
+ if self.spec.satisfies("@:0.1.14"):
+ args.append(f"--with-pmdir={self.prefix.lib}")
+ return args
@run_before("install")
def filter_sbang(self):