summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-traits/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-traits/package.py b/var/spack/repos/builtin/packages/py-traits/package.py
index ad8665e47d..98e5ba5088 100644
--- a/var/spack/repos/builtin/packages/py-traits/package.py
+++ b/var/spack/repos/builtin/packages/py-traits/package.py
@@ -10,7 +10,9 @@ class PyTraits(PythonPackage):
homepage = "https://docs.enthought.com/traits"
pypi = "traits/traits-6.0.0.tar.gz"
+ version('6.2.0', sha256='16fa1518b0778fd53bf0547e6a562b1787bf68c8f6b7995a13bd1902529fdb0c')
version('6.0.0', sha256='dbcd70166feca434130a1193284d5819ca72ffbc8dbce8deeecc0cebb41a3bfb')
- depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('python@3.6:', type=('build', 'run'), when='@6.2.0:')
+ depends_on('python@3.5:', type=('build', 'run'), when='@:6.1.999')
depends_on('py-setuptools', type='build')