diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-03-07 16:43:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 16:43:23 -0600 |
commit | b385ba0aa9eaf4b4c9602fd6e40d5271aa056f69 (patch) | |
tree | aca1cb3077c0f200241faf6243d72276be5ba281 /var | |
parent | a1e4b7279457100476da7971bc7fb9ee85af2451 (diff) | |
download | spack-b385ba0aa9eaf4b4c9602fd6e40d5271aa056f69.tar.gz spack-b385ba0aa9eaf4b4c9602fd6e40d5271aa056f69.tar.bz2 spack-b385ba0aa9eaf4b4c9602fd6e40d5271aa056f69.tar.xz spack-b385ba0aa9eaf4b4c9602fd6e40d5271aa056f69.zip |
libgpg-error: add 1.37 (#15388)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libgpg-error/package.py | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/libgpg-error/package.py b/var/spack/repos/builtin/packages/libgpg-error/package.py index 6e61bf1403..c4978751ff 100644 --- a/var/spack/repos/builtin/packages/libgpg-error/package.py +++ b/var/spack/repos/builtin/packages/libgpg-error/package.py @@ -7,14 +7,12 @@ from spack import * class LibgpgError(AutotoolsPackage): - """Libgpg-error is a small library that defines common error - values for all GnuPG components. Among these are GPG, GPGSM, - GPGME, GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, - SmartCard Daemon and possibly more in the future. """ + """Common error values for all GnuPG components.""" - homepage = "https://www.gnupg.org/related_software/libgpg-error" - url = "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.27.tar.bz2" + homepage = "https://www.gnupg.org/related_software/libgpg-error/index.en.html" + url = "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.37.tar.bz2" + version('1.37', sha256='b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763') version('1.36', sha256='babd98437208c163175c29453f8681094bcaf92968a15cafb1a276076b33c97c') version('1.27', sha256='4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a22d29d2') version('1.21', sha256='b7dbdb3cad63a740e9f0c632a1da32d4afdb694ec86c8625c98ea0691713b84d') @@ -23,3 +21,13 @@ class LibgpgError(AutotoolsPackage): depends_on('awk', type=('build')) # Patch for using gawk@5, c.f. https://dev.gnupg.org/T4459 patch('awk-5.patch', when='@1.36^gawk@5:') + + def configure_args(self): + args = ['--enable-static'] + + if self.run_tests: + args.append('--enable-tests') + else: + args.append('--disable-tests') + + return args |