octave-optim: more precise dependency constraints (#22909)

This commit is contained in:
Olivier Cessenat 2021-04-16 09:17:40 +02:00 committed by GitHub
parent 080d9b094f
commit 5d42054483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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:')