summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Lacroix <remi.lacroix@idris.fr>2022-10-25 22:06:52 +0200
committerGitHub <noreply@github.com>2022-10-25 15:06:52 -0500
commit8aa975802454f453b09707c98ee1023bb220b992 (patch)
tree517cf3f97be7676f3b81a17e83b8a411c684019c
parent10aa6bdfc1619f01b9f908e450a72a645e2ff0b7 (diff)
downloadspack-8aa975802454f453b09707c98ee1023bb220b992.tar.gz
spack-8aa975802454f453b09707c98ee1023bb220b992.tar.bz2
spack-8aa975802454f453b09707c98ee1023bb220b992.tar.xz
spack-8aa975802454f453b09707c98ee1023bb220b992.zip
udunits: Update download URL (#32390)
* udunits: Update download URL * udunits: Deprecate older versions Unidata now only provides the latest version of each X.Y branch. Older 2.2 versions have been deprecated accordingly but are still available in the build cache. Co-authored-by: RemiLacroix-IDRIS <RemiLacroix-IDRIS@users.noreply.github.com> Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/udunits/package.py23
1 files changed, 19 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/udunits/package.py b/var/spack/repos/builtin/packages/udunits/package.py
index ea59de0ef8..dcce887f5d 100644
--- a/var/spack/repos/builtin/packages/udunits/package.py
+++ b/var/spack/repos/builtin/packages/udunits/package.py
@@ -10,11 +10,26 @@ class Udunits(AutotoolsPackage):
"""Automated units conversion"""
homepage = "https://www.unidata.ucar.edu/software/udunits"
- url = "https://artifacts.unidata.ucar.edu/repository/downloads-udunits/udunits-2.2.28.tar.gz"
+ url = "https://artifacts.unidata.ucar.edu/repository/downloads-udunits/2.2.28/udunits-2.2.28.tar.gz"
+ # Unidata now only provides the latest version of each X.Y branch.
+ # Older 2.2 versions have been deprecated accordingly but are still
+ # available in the build cache.
version("2.2.28", sha256="590baec83161a3fd62c00efa66f6113cec8a7c461e3f61a5182167e0cc5d579e")
- version("2.2.24", sha256="20bac512f2656f056385429a0e44902fdf02fc7fe01c14d56f3c724336177f95")
- version("2.2.23", sha256="b745ae10753fe82cdc7cc834e6ce471ca7c25ba2662e6ff93be147cb3d4fd380")
- version("2.2.21", sha256="a154d1f8428c24e92723f9e50bdb5cc00827e3f5ff9cba64d33e5409f5c03455")
+ version(
+ "2.2.24",
+ sha256="20bac512f2656f056385429a0e44902fdf02fc7fe01c14d56f3c724336177f95",
+ deprecated=True,
+ )
+ version(
+ "2.2.23",
+ sha256="b745ae10753fe82cdc7cc834e6ce471ca7c25ba2662e6ff93be147cb3d4fd380",
+ deprecated=True,
+ )
+ version(
+ "2.2.21",
+ sha256="a154d1f8428c24e92723f9e50bdb5cc00827e3f5ff9cba64d33e5409f5c03455",
+ deprecated=True,
+ )
depends_on("expat")