summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-05-17 17:05:30 +0200
committerGitHub <noreply@github.com>2023-05-17 17:05:30 +0200
commit371a8a361a838cca2c59da748498b31e0a8926db (patch)
treee8b42fc3986da79c29817e794177c3a28c63d796
parent86b9ce1c88164013473b39773bb63e8e6eb45e57 (diff)
downloadspack-371a8a361a838cca2c59da748498b31e0a8926db.tar.gz
spack-371a8a361a838cca2c59da748498b31e0a8926db.tar.bz2
spack-371a8a361a838cca2c59da748498b31e0a8926db.tar.xz
spack-371a8a361a838cca2c59da748498b31e0a8926db.zip
libxcb: depend on python, remove releases that need python 2 (#37698)
-rw-r--r--var/spack/repos/builtin/packages/libxcb/package.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/libxcb/package.py b/var/spack/repos/builtin/packages/libxcb/package.py
index 129cfa7fdc..1db0f5de5a 100644
--- a/var/spack/repos/builtin/packages/libxcb/package.py
+++ b/var/spack/repos/builtin/packages/libxcb/package.py
@@ -17,9 +17,6 @@ class Libxcb(AutotoolsPackage):
version("1.14", sha256="a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34")
version("1.13", sha256="0bb3cfd46dbd90066bf4d7de3cad73ec1024c7325a4a0cbf5f4a0d4fa91155fb")
- version("1.12", sha256="092f147149d8a6410647a848378aaae749304d5b73e028ccb8306aa8a9e26f06")
- version("1.11.1", sha256="660312d5e64d0a5800262488042c1707a0261fa01a759bad265b1b75dd4844dd")
- version("1.11", sha256="4b351e1dc95eb0a1c25fa63611a6f4cf033cb63e20997c4874c80bbd1876d0b4")
depends_on("libpthread-stubs")
depends_on("libxau@0.99.2:")
@@ -27,14 +24,10 @@ class Libxcb(AutotoolsPackage):
# libxcb 1.X requires xcb-proto >= 1.X
depends_on("xcb-proto")
- depends_on("xcb-proto@1.14:", when="@1.14:1.14.999")
- depends_on("xcb-proto@1.13:", when="@1.13:1.13.999")
- depends_on("xcb-proto@1.12:", when="@1.12:1.12.999")
- depends_on("xcb-proto@1.11:", when="@1.11:1.11.999")
-
- # libxcb 1.13 added Python 3 support
- depends_on("python@3", when="@1.13:", type="build")
+ depends_on("xcb-proto@1.14:", when="@1.14")
+ depends_on("xcb-proto@1.13:", when="@1.13")
+ depends_on("python", type="build")
depends_on("pkgconfig", type="build")
depends_on("util-macros", type="build")