summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-10-01 16:07:27 +0200
committerGitHub <noreply@github.com>2021-10-01 16:07:27 +0200
commit66866e45f2f229092f15d4d4f5c97774d425a91f (patch)
tree800571030ff7fa2d7a62176765969276ca67253c
parentef202cbd37769847f343820d1479b8901cad528e (diff)
downloadspack-66866e45f2f229092f15d4d4f5c97774d425a91f.tar.gz
spack-66866e45f2f229092f15d4d4f5c97774d425a91f.tar.bz2
spack-66866e45f2f229092f15d4d4f5c97774d425a91f.tar.xz
spack-66866e45f2f229092f15d4d4f5c97774d425a91f.zip
py-pyface: add v7.3.0 (#26389)
-rw-r--r--var/spack/repos/builtin/packages/py-pyface/package.py35
1 files changed, 26 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyface/package.py b/var/spack/repos/builtin/packages/py-pyface/package.py
index 2f768975aa..9535959320 100644
--- a/var/spack/repos/builtin/packages/py-pyface/package.py
+++ b/var/spack/repos/builtin/packages/py-pyface/package.py
@@ -14,20 +14,37 @@ class PyPyface(PythonPackage):
homepage = "https://docs.enthought.com/pyface"
pypi = "pyface/pyface-6.1.2.tar.gz"
+ version('7.3.0', sha256='a7031ec4cfff034affc822e47ff5e6c1a0272e576d79465cdbbe25f721740322')
version('6.1.2', sha256='7c2ac3d5cbec85e8504b3b0b63e9307be12c6d710b46bae372ce6562d41f4fbc')
variant('backend', default='pyqt5', description='Default backend',
- values=('wx', 'pyqt', 'pyqt5', 'pyside'), multi=False)
+ values=('wx', 'pyqt', 'pyqt5', 'pyside', 'pyside2'), multi=False)
depends_on('py-setuptools', type='build')
+ depends_on('py-importlib-metadata', when='@7.2:', type=('build', 'run'))
+ depends_on('py-importlib-resources@1.1:', when='@7.2:', type=('build', 'run'))
+ depends_on('py-traits@6.2:', when='@7.3:', type=('build', 'run'))
+ depends_on('py-traits@6:', when='@7:', type=('build', 'run'))
depends_on('py-traits', type=('build', 'run'))
+ conflicts('backend=pyside', when='@7.3:')
+ conflicts('backend=pyside2', when='@:6')
+
# 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'))