Python: specify tcl/tk version requirements (#34027)

This commit is contained in:
Adam J. Stewart 2022-11-20 19:13:47 -06:00 committed by GitHub
parent b9b93ce272
commit 0706919b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -404,7 +404,10 @@ class Python(Package):
depends_on("xz", when="@3.3:+lzma") depends_on("xz", when="@3.3:+lzma")
depends_on("expat", when="+pyexpat") depends_on("expat", when="+pyexpat")
depends_on("libffi", when="+ctypes") depends_on("libffi", when="+ctypes")
# https://docs.python.org/3/whatsnew/3.11.html#build-changes
depends_on("tk@8.5.12:", when="@3.11: +tkinter")
depends_on("tk", when="+tkinter") depends_on("tk", when="+tkinter")
depends_on("tcl@8.5.12:", when="@3.11: +tkinter")
depends_on("tcl", when="+tkinter") depends_on("tcl", when="+tkinter")
depends_on("uuid", when="+uuid") depends_on("uuid", when="+uuid")
depends_on("tix", when="+tix") depends_on("tix", when="+tix")