add hints for dependency resolution (#22238)

Co-authored-by: sbulut <sbulut@3vgeomatics.com>
This commit is contained in:
Sinan 2021-03-12 09:36:11 -08:00 committed by GitHub
parent 5790ec5359
commit 650f24f4d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,10 @@ class Alps(CMakePackage):
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-matplotlib', type=('build', 'run'))
# use depends_on to help with dependency resolution
depends_on('py-numpy@:1.19', when='^python@:3.6.99')
depends_on('py-scipy@:1.5', when='^python@:3.6.99')
# fix for gcc@7:
patch('alps_newgcc.patch', when='%gcc@7:')