diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2024-08-07 03:47:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-07 10:47:31 +0200 |
commit | 228c82502d3a9c2d7958f37416328997831bf879 (patch) | |
tree | 7eca62785e67240083c8683941ee189f70c7e366 /var | |
parent | 431f5627d90127170cc0847839bf17cb0a215f8d (diff) | |
download | spack-228c82502d3a9c2d7958f37416328997831bf879.tar.gz spack-228c82502d3a9c2d7958f37416328997831bf879.tar.bz2 spack-228c82502d3a9c2d7958f37416328997831bf879.tar.xz spack-228c82502d3a9c2d7958f37416328997831bf879.zip |
qt-5compat: new package for QtCore5Compat module (#45601)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/qt-5compat/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qt-5compat/package.py b/var/spack/repos/builtin/packages/qt-5compat/package.py new file mode 100644 index 0000000000..027468f7c8 --- /dev/null +++ b/var/spack/repos/builtin/packages/qt-5compat/package.py @@ -0,0 +1,29 @@ +# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +from spack.package import * +from spack.pkg.builtin.qt_base import QtBase, QtPackage + + +class Qt5compat(QtPackage): + """The Qt5compat module contains unsupported Qt 5 APIs for use in Qt 6 projects.""" + + url = QtPackage.get_url(__qualname__) + list_url = QtPackage.get_list_url(__qualname__) + + maintainers("wdconinc") + + license("LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only") + + version("6.7.2", sha256="331a1e617952217868beeef7964828500388abeeb502ea3436f16eec816426c4") + + depends_on("cxx", type="build") + + depends_on("qt-base") + + for _v in QtBase.versions: + v = str(_v) + depends_on("qt-base@" + v, when="@" + v) |