Add new python package to spack - py-pygame (game development package) (#41477)
Add pygame to spack
This commit is contained in:
		 Henrique Finger Zimerman
					Henrique Finger Zimerman
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							8467f8ae8a
						
					
				
				
					commit
					49616d3020
				
			
							
								
								
									
										23
									
								
								var/spack/repos/builtin/packages/py-pygame/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								var/spack/repos/builtin/packages/py-pygame/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| # Copyright 2013-2023 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 * | ||||
| 
 | ||||
| 
 | ||||
| class PyPygame(PythonPackage): | ||||
|     """Pygame is a free and open-source cross-platform library for the development | ||||
|     of multimedia applications like video games using Python. It uses the Simple | ||||
|     DirectMedia Layer library and several other popular libraries to abstract | ||||
|     the most common functions, making writing these programs a more intuitive task.""" | ||||
| 
 | ||||
|     homepage = "https://www.pygame.org/" | ||||
|     url = "https://pypi.org/project/pygame/2.5.2/" | ||||
| 
 | ||||
|     license("LGPL-2.1-only") | ||||
| 
 | ||||
|     version("2.5.2", sha256="c1b89eb5d539e7ac5cf75513125fb5f2f0a2d918b1fd6e981f23bf0ac1b1c24a") | ||||
| 
 | ||||
|     depends_on("py-setuptools", type="build") | ||||
|     depends_on("python@3.6:", type=("build", "run")) | ||||
		Reference in New Issue
	
	Block a user