From 47538a21ec9868e8b6a45bde3d816c65ae66f465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=A5=E7=BE=8E=E7=8C=9E=E7=8C=81?= Date: Mon, 27 May 2019 09:45:16 +0800 Subject: [PATCH] Add a new version for gnutls. (#11546) * Update URL and add a new version. * Fix flake8 issues. * Remove newly-added duplicate url_for_version. --- var/spack/repos/builtin/packages/gnutls/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/gnutls/package.py b/var/spack/repos/builtin/packages/gnutls/package.py index f73b0b1daf..679a6098b6 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.7.1', sha256='881b26409ecd8ea4c514fd3fbdb6fae5fab422ca7b71116260e263940a4bbbad') version('3.5.19', sha256='1936eb64f03aaefd6eb16cef0567457777618573826b94d03376bb6a4afadc44') version('3.5.13', '4fd41ad86572933c2379b4cc321a0959') version('3.5.10', '336c03a71ba90184ffd0388075dde504') @@ -26,6 +27,7 @@ class Gnutls(AutotoolsPackage): variant('zlib', default=True, description='Enable zlib compression support') # 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('nettle@:2.9', when='@3.3.9') depends_on('nettle', when='@3.5:') depends_on('libidn2@:2.0.99', when='@:3.5.99')