summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-01-20 09:28:25 +0100
committerGitHub <noreply@github.com>2024-01-20 09:28:25 +0100
commit5b101ef1056e85d7769fd00500e06c367f631200 (patch)
treeb6a100da4d4618b1f8d20bee5896e3e7b758ef7f
parentc6acaaf1458a5197ec634f9a451a86541682091a (diff)
downloadspack-5b101ef1056e85d7769fd00500e06c367f631200.tar.gz
spack-5b101ef1056e85d7769fd00500e06c367f631200.tar.bz2
spack-5b101ef1056e85d7769fd00500e06c367f631200.tar.xz
spack-5b101ef1056e85d7769fd00500e06c367f631200.zip
py-pyamg: fix deptypes (#42185)
-rw-r--r--var/spack/repos/builtin/packages/py-pyamg/package.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyamg/package.py b/var/spack/repos/builtin/packages/py-pyamg/package.py
index 3d74f9d476..7a3731880f 100644
--- a/var/spack/repos/builtin/packages/py-pyamg/package.py
+++ b/var/spack/repos/builtin/packages/py-pyamg/package.py
@@ -13,7 +13,6 @@ class PyPyamg(PythonPackage):
homepage = "https://github.com/pyamg/pyamg"
url = "https://github.com/pyamg/pyamg/archive/refs/tags/v4.0.0.zip"
- # A list of GitHub accounts to notify when the package is updated.
maintainers("benc303")
license("MIT")
@@ -23,8 +22,7 @@ class PyPyamg(PythonPackage):
version("4.1.0", sha256="9e340aef5da11280a1e28f28deeaac390f408e38ee0357d0fdbb77503747bbc4")
version("4.0.0", sha256="015d5e706e6e54d3de82e05fdb173c30d8b27cb8a117ab584cd62ad41d9ea042")
- # Dependencies. A generic python dependency is added implicity by the
- # PythonPackage class.
+ depends_on("python", type=("build", "link", "run"))
depends_on("py-numpy@1.7:", type=("build", "run"))
depends_on("py-scipy@0.12:", type=("build", "run"))
depends_on("py-setuptools@42:", type="build", when="@4.2.0:")
@@ -32,4 +30,4 @@ class PyPyamg(PythonPackage):
# https://github.com/pypa/setuptools_scm/issues/758
depends_on("py-setuptools-scm@7.1:+toml", type="build", when="@5.0.0:")
depends_on("py-setuptools-scm@5:+toml", type="build", when="@4.2.0:")
- depends_on("py-pybind11@2.8.0:", type=("build"), when="@4.2.0:")
+ depends_on("py-pybind11@2.8.0:", type=("build", "link"), when="@4.2.0:")