summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-particle/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-particle/package.py b/var/spack/repos/builtin/packages/py-particle/package.py
index 2a53657f35..d16ea9eccc 100644
--- a/var/spack/repos/builtin/packages/py-particle/package.py
+++ b/var/spack/repos/builtin/packages/py-particle/package.py
@@ -27,7 +27,8 @@ class PyParticle(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-attrs@19.2.0:', type=('build', 'run'))
- depends_on('py-hepunits@1.2.0:', type=('build', 'run'))
+ depends_on('py-hepunits@1.2.0:', when='@:0.12', type=('build', 'run'))
+ depends_on('py-hepunits@2.0.0:', when='@0.13:', type=('build', 'run'))
depends_on('py-importlib-resources@1.0:', when='^python@:3.6', type=('build', 'run'))
depends_on('py-enum34@1.1:', when='^python@:3.3', type=('build', 'run'))