summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Darwin <bcdarwin@gmail.com>2021-11-05 17:26:18 -0400
committerGitHub <noreply@github.com>2021-11-05 16:26:18 -0500
commit12429bda3539e875551326e74f3e452fb5f85788 (patch)
treeecbb16db207d91af6040646125478ccc0be929e2
parentc5be548046d3d673e1e36b82708f2e98ac7d4b9c (diff)
downloadspack-12429bda3539e875551326e74f3e452fb5f85788.tar.gz
spack-12429bda3539e875551326e74f3e452fb5f85788.tar.bz2
spack-12429bda3539e875551326e74f3e452fb5f85788.tar.xz
spack-12429bda3539e875551326e74f3e452fb5f85788.zip
py-itk: fix dependencies (#27164)
-rw-r--r--var/spack/repos/builtin/packages/py-itk/package.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-itk/package.py b/var/spack/repos/builtin/packages/py-itk/package.py
index 8d34fc370f..6025f5e926 100644
--- a/var/spack/repos/builtin/packages/py-itk/package.py
+++ b/var/spack/repos/builtin/packages/py-itk/package.py
@@ -95,12 +95,11 @@ class PyItk(Package):
depends_on('python@3.8.0:3.8', when='@5.1.1-cp38,5.1.2-cp38', type=('build', 'run'))
depends_on('python@3.9.0:3.9', when='@5.1.2-cp39', type=('build', 'run'))
- depends_on('itk@5.1.1', when='@5.1.1-cp35:5.1.1-cp39', type='run')
- depends_on('itk@5.1.2', when='@5.1.2-cp35:5.1.2-cp39', type='run')
+ depends_on('py-setuptools', type='run')
for t in set([str(x.family) for x in archspec.cpu.TARGETS.values()
if str(x.family) != 'x86_64']):
- conflicts('target={0}:'.format(t), msg='py-itk is available x86_64 only')
+ conflicts('target={0}:'.format(t), msg='py-itk is available for x86_64 only')
def install(self, spec, prefix):
pip = which('pip')