diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2021-10-01 17:57:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 15:57:21 +0000 |
commit | 0735419592532264a20b8755c90a6d826608b359 (patch) | |
tree | 2ee542b4a055c346cea36841c2fa6e38a2a1890d | |
parent | 7293913e1cf301e500a14973bcad7fbf0df93f75 (diff) | |
download | spack-0735419592532264a20b8755c90a6d826608b359.tar.gz spack-0735419592532264a20b8755c90a6d826608b359.tar.bz2 spack-0735419592532264a20b8755c90a6d826608b359.tar.xz spack-0735419592532264a20b8755c90a6d826608b359.zip |
py-traitsui: add v7.2.1 (#26392)
-rw-r--r-- | var/spack/repos/builtin/packages/py-traitsui/package.py | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/py-traitsui/package.py b/var/spack/repos/builtin/packages/py-traitsui/package.py index e9b3dd2125..f917a6d00d 100644 --- a/var/spack/repos/builtin/packages/py-traitsui/package.py +++ b/var/spack/repos/builtin/packages/py-traitsui/package.py @@ -15,22 +15,41 @@ class PyTraitsui(PythonPackage): homepage = "https://docs.enthought.com/traitsui" pypi = "traitsui/traitsui-6.1.3.tar.gz" + version('7.2.1', sha256='dfc39015faf0591f9927e3d4d22bd95a16d49c85db30e60acd4ba7b85c7c5d5b') version('6.1.3', sha256='48381763b181efc58eaf288431d1d92d028d0d97dfdd33eba7809aae8aef814f') variant('backend', default='pyqt5', description='Default backend', - values=('wx', 'pyqt', 'pyqt5', 'pyside'), multi=False) + values=('wx', 'pyqt', 'pyqt5', 'pyside', 'pyside2'), multi=False) + depends_on('python@3.6:', when='@7.2:', type='build') depends_on('py-setuptools', type='build') + depends_on('py-traits@6.2:', when='@7.3:', type=('build', 'run')) + depends_on('py-traits@6.1:', when='@7.2:', type=('build', 'run')) + depends_on('py-traits@6:', when='@7.1:', type=('build', 'run')) depends_on('py-traits', type=('build', 'run')) - depends_on('py-pyface@6.0.0:', type=('build', 'run')) - depends_on('py-six', type=('build', 'run')) + depends_on('py-pyface@7.3:', when='@7.3:', type=('build', 'run')) + depends_on('py-pyface@7.1:', when='@7.1:', type=('build', 'run')) + depends_on('py-pyface@6:', type=('build', 'run')) + depends_on('py-six', when='@:6', type=('build', 'run')) + + conflicts('backend=pyside', when='@7.1:') + conflicts('backend=pyside2', when='@:7.0') # Backends - depends_on('py-wxpython@2.8.10:', when='backend=wx', type=('build', 'run')) - depends_on('py-numpy', when='backend=wx', type=('build', 'run')) - depends_on('py-pyqt4@4.10:', when='backend=pyqt', type=('build', 'run')) - depends_on('py-pygments', when='backend=pyqt', type=('build', 'run')) - depends_on('py-pyqt5@5:', when='backend=pyqt5', type=('build', 'run')) - depends_on('py-pygments', when='backend=pyqt5', type=('build', 'run')) - depends_on('py-pyside@1.2:', when='backend=pyside', type=('build', 'run')) - depends_on('py-pygments', when='backend=pyside', type=('build', 'run')) + with when('backend=wx'): + depends_on('py-wxpython@4:', when='@7:', type=('build', 'run')) + depends_on('py-wxpython@2.8.10:', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + with when('backend=pyqt'): + depends_on('py-pyqt4@4.10:', type=('build', 'run')) + depends_on('py-pygments', type=('build', 'run')) + with when('backend=pyqt5'): + depends_on('py-pyqt5@5:', type=('build', 'run')) + depends_on('py-pygments', type=('build', 'run')) + with when('backend=pyside'): + depends_on('py-pyside@1.2:', type=('build', 'run')) + depends_on('py-pygments', type=('build', 'run')) + with when('backend=pyside2'): + depends_on('py-pyside2', type=('build', 'run')) + depends_on('py-shiboken2', type=('build', 'run')) + depends_on('py-pygments', type=('build', 'run')) |