qt-5compat: new package for QtCore5Compat module (#45601)
This commit is contained in:
		
							
								
								
									
										29
									
								
								var/spack/repos/builtin/packages/qt-5compat/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								var/spack/repos/builtin/packages/qt-5compat/package.py
									
									
									
									
									
										Normal file
									
								
							@@ -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)
 | 
				
			||||||
		Reference in New Issue
	
	Block a user