summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-11-24 20:55:18 +0100
committerGitHub <noreply@github.com>2024-11-24 20:55:18 +0100
commit75b03bc12ffbabdfac0775ead5442c3f102f94c7 (patch)
treed4153371491cab20180c811504c02c9324b23a15
parent58511a33523c200fd0400ca25ffc844a9ecc7fd1 (diff)
downloadspack-75b03bc12ffbabdfac0775ead5442c3f102f94c7.tar.gz
spack-75b03bc12ffbabdfac0775ead5442c3f102f94c7.tar.bz2
spack-75b03bc12ffbabdfac0775ead5442c3f102f94c7.tar.xz
spack-75b03bc12ffbabdfac0775ead5442c3f102f94c7.zip
glib: add v2.82.2 (#47766)
-rw-r--r--var/spack/repos/builtin/packages/glib/package.py14
1 files changed, 12 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py
index 982ea5449e..5a32596e38 100644
--- a/var/spack/repos/builtin/packages/glib/package.py
+++ b/var/spack/repos/builtin/packages/glib/package.py
@@ -30,7 +30,14 @@ class Glib(MesonPackage, AutotoolsPackage):
license("LGPL-2.1-or-later")
- version("2.78.3", sha256="609801dd373796e515972bf95fc0b2daa44545481ee2f465c4f204d224b2bc21")
+ # Even minor versions are stable, odd minor versions are development, only add even numbers
+ version("2.82.2", sha256="ab45f5a323048b1659ee0fbda5cecd94b099ab3e4b9abf26ae06aeb3e781fd63")
+ # No real reason to prefer older versions, `preferred` should be removed after testing
+ version(
+ "2.78.3",
+ sha256="609801dd373796e515972bf95fc0b2daa44545481ee2f465c4f204d224b2bc21",
+ preferred=True,
+ )
version("2.78.0", sha256="44eaab8b720877ce303c5540b657b126f12dc94972d9880b52959f43fb537b30")
version("2.76.6", sha256="1136ae6987dcbb64e0be3197a80190520f7acab81e2bfb937dc85c11c8aa9f04")
version("2.76.4", sha256="5a5a191c96836e166a7771f7ea6ca2b0069c603c7da3cba1cd38d1694a395dda")
@@ -139,6 +146,8 @@ class Glib(MesonPackage, AutotoolsPackage):
)
with when("build_system=meson"):
+ depends_on("meson@1.4:", when="@2.83:", type="build")
+ depends_on("meson@1.2:", when="@2.79:", type="build")
depends_on("meson@0.60.0:", when="@2.73:", type="build")
depends_on("meson@0.52.0:", when="@2.71:2.72", type="build")
depends_on("meson@0.49.2:", when="@2.61.2:2.70", type="build")
@@ -149,8 +158,9 @@ class Glib(MesonPackage, AutotoolsPackage):
depends_on("zlib-api")
depends_on("gettext")
depends_on("perl", type=("build", "run"))
+ depends_on("python", type=("build", "run"), when="@2.53.4:")
# Uses distutils in gio/gdbus-2.0/codegen/utils.py
- depends_on("python@:3.11", type=("build", "run"), when="@2.53.4:")
+ depends_on("python@:3.11", type=("build", "run"), when="@2.53.4:2.78")
depends_on("pcre2", when="@2.73.2:")
depends_on("pcre2@10.34:", when="@2.74:")
depends_on("pcre+utf", when="@2.48:2.73.1")