py-pillow: patch for disabling optional deps (#47542)
This commit is contained in:
parent
9ed5e1de8e
commit
484c9cf47c
@ -74,6 +74,12 @@ class PyPillowBase(PythonPackage):
|
|||||||
depends_on("libimagequant", when="+imagequant")
|
depends_on("libimagequant", when="+imagequant")
|
||||||
depends_on("libxcb", when="+xcb")
|
depends_on("libxcb", when="+xcb")
|
||||||
|
|
||||||
|
patch(
|
||||||
|
"https://github.com/python-pillow/Pillow/commit/1c11d4581c5705dfa21bc5a4f3b6980c556978bf.patch?full_index=1",
|
||||||
|
sha256="599f37e6a5a8d1adb9f4025ffc7cae5f5b61cad60a04e7c7a3015f9e350047bb",
|
||||||
|
when="@11.0.0",
|
||||||
|
)
|
||||||
|
|
||||||
@when("@10:")
|
@when("@10:")
|
||||||
def config_settings(self, spec, prefix):
|
def config_settings(self, spec, prefix):
|
||||||
settings = {"parallel": make_jobs}
|
settings = {"parallel": make_jobs}
|
||||||
|
Loading…
Reference in New Issue
Block a user