summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-iminuit/package.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-iminuit/package.py b/var/spack/repos/builtin/packages/py-iminuit/package.py
index f9531d640b..e9ec1b73bf 100644
--- a/var/spack/repos/builtin/packages/py-iminuit/package.py
+++ b/var/spack/repos/builtin/packages/py-iminuit/package.py
@@ -12,12 +12,15 @@ class PyIminuit(PythonPackage):
homepage = "https://pypi.python.org/pypi/iminuit"
url = "https://pypi.io/packages/source/i/iminuit/iminuit-1.2.tar.gz"
+ version('1.3.6', sha256='d79a197f305d4708a0e3e52b0a6748c1a6997360d2fbdfd09c022995a6963b5e')
version('1.2', sha256='7651105fc3f186cfb5742f075ffebcc5088bf7797d8ed124c00977eebe0d1c64')
# Required dependencies
depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'), when='@1.3:')
# Optional dependencies
- depends_on('py-numpy', type=('build', 'run'))
- depends_on('py-matplotlib', type=('build', 'run'))
- depends_on('py-cython', type='build')
+ depends_on('py-matplotlib', type='test', when='@1.3:')
+ depends_on('py-cython', type='test', when='@1.3:')
+ depends_on('py-pytest', type='test', when='@1.3:')
+ depends_on('py-scipy', type='test', when='@1.3:')