summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Pritchard <howardp@lanl.gov>2024-06-13 11:18:42 -0600
committerGitHub <noreply@github.com>2024-06-13 10:18:42 -0700
commitb1bbe240d7df021ffd7661fac79d5bf76ca7d13f (patch)
treedad79aa5fa3a4cdedf9e455d6dc73b7a0d50ef0f
parentbbb58ff4c689e20c861592bf2998d4e1499c708a (diff)
downloadspack-b1bbe240d7df021ffd7661fac79d5bf76ca7d13f.tar.gz
spack-b1bbe240d7df021ffd7661fac79d5bf76ca7d13f.tar.bz2
spack-b1bbe240d7df021ffd7661fac79d5bf76ca7d13f.tar.xz
spack-b1bbe240d7df021ffd7661fac79d5bf76ca7d13f.zip
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>
-rw-r--r--var/spack/repos/builtin/packages/py-xtb/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-xtb/package.py b/var/spack/repos/builtin/packages/py-xtb/package.py
index 589e45aa85..1bc1944514 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",
+ )