summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Wang <joequant@gmail.com>2024-09-13 15:56:26 +0800
committerGitHub <noreply@github.com>2024-09-13 09:56:26 +0200
commit668aba15a0d6fe28d8a39ea7b0f6b13b42d27450 (patch)
tree2be43a6379b3b9594cb5c2d807d7a65123abcef1
parent2277052a6be6dedf03de63121db332ced3135394 (diff)
downloadspack-668aba15a0d6fe28d8a39ea7b0f6b13b42d27450.tar.gz
spack-668aba15a0d6fe28d8a39ea7b0f6b13b42d27450.tar.bz2
spack-668aba15a0d6fe28d8a39ea7b0f6b13b42d27450.tar.xz
spack-668aba15a0d6fe28d8a39ea7b0f6b13b42d27450.zip
py-pycontour: add dev/fixes (#46290)
-rw-r--r--var/spack/repos/builtin/packages/py-contourpy/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-contourpy/package.py b/var/spack/repos/builtin/packages/py-contourpy/package.py
index 4020cbf679..9bd134913f 100644
--- a/var/spack/repos/builtin/packages/py-contourpy/package.py
+++ b/var/spack/repos/builtin/packages/py-contourpy/package.py
@@ -23,8 +23,9 @@ class PyContourpy(PythonPackage):
with default_args(type="build"):
depends_on("meson@1.2:")
depends_on("py-meson-python@0.13.1:")
- depends_on("py-pybind11@2.13.1:", when="@1.3:")
- depends_on("py-pybind11@2.6:")
+ with default_args(type=("build", "link")):
+ depends_on("py-pybind11@2.13.1:", when="@1.3:")
+ depends_on("py-pybind11@2.6:")
# Historical dependencies
depends_on("py-setuptools@42:", when="@:1.0")