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 <howardp@lanl.gov>
This commit is contained in:
Howard Pritchard 2024-06-13 11:18:42 -06:00 committed by GitHub
parent bbb58ff4c6
commit b1bbe240d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",
)