Skip to content

Commit 371a8a3

Browse files
authored
libxcb: depend on python, remove releases that need python 2 (#37698)
1 parent 86b9ce1 commit 371a8a3

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

var/spack/repos/builtin/packages/libxcb/package.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,17 @@ class Libxcb(AutotoolsPackage):
1717

1818
version("1.14", sha256="a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34")
1919
version("1.13", sha256="0bb3cfd46dbd90066bf4d7de3cad73ec1024c7325a4a0cbf5f4a0d4fa91155fb")
20-
version("1.12", sha256="092f147149d8a6410647a848378aaae749304d5b73e028ccb8306aa8a9e26f06")
21-
version("1.11.1", sha256="660312d5e64d0a5800262488042c1707a0261fa01a759bad265b1b75dd4844dd")
22-
version("1.11", sha256="4b351e1dc95eb0a1c25fa63611a6f4cf033cb63e20997c4874c80bbd1876d0b4")
2320

2421
depends_on("libpthread-stubs")
2522
depends_on("[email protected]:")
2623
depends_on("libxdmcp")
2724

2825
# libxcb 1.X requires xcb-proto >= 1.X
2926
depends_on("xcb-proto")
30-
depends_on("[email protected]:", when="@1.14:1.14.999")
31-
depends_on("[email protected]:", when="@1.13:1.13.999")
32-
depends_on("[email protected]:", when="@1.12:1.12.999")
33-
depends_on("[email protected]:", when="@1.11:1.11.999")
34-
35-
# libxcb 1.13 added Python 3 support
36-
depends_on("python@3", when="@1.13:", type="build")
27+
depends_on("[email protected]:", when="@1.14")
28+
depends_on("[email protected]:", when="@1.13")
3729

30+
depends_on("python", type="build")
3831
depends_on("pkgconfig", type="build")
3932
depends_on("util-macros", type="build")
4033

0 commit comments

Comments
 (0)