diff options
author | mathsen <mathias.anselmann@posteo.de> | 2019-05-28 22:23:59 +0200 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-05-28 15:23:59 -0500 |
commit | 9c9a39538e035cdcc2cb4c942115d21302a40a75 (patch) | |
tree | aebfe452808234c87005a09119c8a67b35cc303e | |
parent | 0b57c3b8e57fc2161daec9a8ff760d9fdbfe26dc (diff) | |
download | spack-9c9a39538e035cdcc2cb4c942115d21302a40a75.tar.gz spack-9c9a39538e035cdcc2cb4c942115d21302a40a75.tar.bz2 spack-9c9a39538e035cdcc2cb4c942115d21302a40a75.tar.xz spack-9c9a39538e035cdcc2cb4c942115d21302a40a75.zip |
GnuTLS by default depends on Guile, added a guile variant. Updated GnuTLS to 3.6.8 (#11571)
-rw-r--r-- | var/spack/repos/builtin/packages/gnutls/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gnutls/package.py b/var/spack/repos/builtin/packages/gnutls/package.py index 679a6098b6..d2d2f3445a 100644 --- a/var/spack/repos/builtin/packages/gnutls/package.py +++ b/var/spack/repos/builtin/packages/gnutls/package.py @@ -17,6 +17,7 @@ class Gnutls(AutotoolsPackage): homepage = "http://www.gnutls.org" url = "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/gnutls-3.5.19.tar.xz" + version('3.6.8', sha256='aa81944e5635de981171772857e72be231a7e0f559ae0292d2737de475383e83') version('3.6.7.1', sha256='881b26409ecd8ea4c514fd3fbdb6fae5fab422ca7b71116260e263940a4bbbad') version('3.5.19', sha256='1936eb64f03aaefd6eb16cef0567457777618573826b94d03376bb6a4afadc44') version('3.5.13', '4fd41ad86572933c2379b4cc321a0959') @@ -25,9 +26,11 @@ class Gnutls(AutotoolsPackage): version('3.3.9', 'ff61b77e39d09f1140ab5a9cf52c58b6') variant('zlib', default=True, description='Enable zlib compression support') + variant('guile', default=True, description='Enable Guile bindings') # Note that version 3.3.9 of gnutls doesn't support nettle 3.0. depends_on('nettle@3.4.1:', when='@3.6.7.1:') + depends_on('guile', when='+guile') depends_on('nettle@:2.9', when='@3.3.9') depends_on('nettle', when='@3.5:') depends_on('libidn2@:2.0.99', when='@:3.5.99') @@ -59,6 +62,11 @@ class Gnutls(AutotoolsPackage): else: args.append('--without-zlib') + if '+guile' in spec: + args.append('--enable-guile') + else: + args.append('--disable-guile') + if self.run_tests: args.extend([ '--enable-tests', |