From f23c863de5664caf4525cbceff68564a4bdf1f8d Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Thu, 13 Jun 2024 11:18:42 -0600 Subject: [PATCH] py-xtb: fix problem with meson file (#44595) Using meson 1.3.2 the py-xtb package fails during the install process. Error signature shown in https://github.com/grimme-lab/xtb-python/pull/114 Signed-off-by: Howard Pritchard --- var/spack/repos/builtin/packages/py-xtb/package.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/var/spack/repos/builtin/packages/py-xtb/package.py b/var/spack/repos/builtin/packages/py-xtb/package.py index 589e45aa853450..1bc19445148ae4 100644 --- a/var/spack/repos/builtin/packages/py-xtb/package.py +++ b/var/spack/repos/builtin/packages/py-xtb/package.py @@ -25,3 +25,10 @@ class PyXtb(PythonPackage): depends_on("py-meson-python", type="build") depends_on("py-numpy", type=("build", "run")) depends_on("xtb", type=("build", "run")) + + # from https://github.com/grimme-lab/xtb-python/pull/114 + patch( + "https://github.com/grimme-lab/xtb-python/commit/df7e0010a679f5f00456bf09fcd9330cd7c56c39.patch?full_index=1", + when="@:22.1", + sha256="0242a4b79b7e24cfec3c0e6661e744eeb6a786d7", + )