summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-04-16 09:17:40 +0200
committerGitHub <noreply@github.com>2021-04-16 09:17:40 +0200
commit5d420544833360b437663ac29b3f010fb89d0f93 (patch)
tree616f375c8dddd9a22f1217b9525d4ad413066c71 /var
parent080d9b094fad5d9cfc2a8054a42f604fe2d5ba6c (diff)
downloadspack-5d420544833360b437663ac29b3f010fb89d0f93.tar.gz
spack-5d420544833360b437663ac29b3f010fb89d0f93.tar.bz2
spack-5d420544833360b437663ac29b3f010fb89d0f93.tar.xz
spack-5d420544833360b437663ac29b3f010fb89d0f93.zip
octave-optim: more precise dependency constraints (#22909)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/octave-optim/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/octave-optim/package.py b/var/spack/repos/builtin/packages/octave-optim/package.py
index 15da59784a..52865115ba 100644
--- a/var/spack/repos/builtin/packages/octave-optim/package.py
+++ b/var/spack/repos/builtin/packages/octave-optim/package.py
@@ -16,4 +16,6 @@ class OctaveOptim(OctavePackage, SourceforgePackage):
version('1.5.2', sha256='7b36033c5581559dc3e7616f97d402bc44dde0dfd74c0e3afdf47d452a76dddf')
depends_on('octave-struct@1.0.12:')
- extends('octave@3.6.0:')
+ depends_on('octave-statistics@1.4.0:')
+ extends('octave@3.6.0:', when='@:1.5.2')
+ extends('octave@4.0.0:', when='@1.6.1:')