py-pipdeptree: add new package; py-hatchling: add 1.18.0 (#39697)
* py-hatchling: add 1.18.0 * py-pipdeptree: add new package * py-hatchling: add Python 3.8 dependency * Apply suggestion from code review Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Fábio de Andrade Barboza <f168817@dac.unicamp.br> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
		 Fábio de Andrade Barboza
					Fábio de Andrade Barboza
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							254a2bc3ea
						
					
				
				
					commit
					e797a89fe1
				
			| @@ -13,6 +13,7 @@ class PyHatchling(PythonPackage): | |||||||
|     pypi = "hatchling/hatchling-1.4.1.tar.gz" |     pypi = "hatchling/hatchling-1.4.1.tar.gz" | ||||||
|     git = "https://github.com/pypa/hatch" |     git = "https://github.com/pypa/hatch" | ||||||
| 
 | 
 | ||||||
|  |     version("1.18.0", sha256="50e99c3110ce0afc3f7bdbadff1c71c17758e476731c27607940cfa6686489ca") | ||||||
|     version("1.17.0", sha256="b1244db3f45b4ef5a00106a46612da107cdfaf85f1580b8e1c059fefc98b0930") |     version("1.17.0", sha256="b1244db3f45b4ef5a00106a46612da107cdfaf85f1580b8e1c059fefc98b0930") | ||||||
|     version("1.14.0", sha256="462ea91df03ff5d52813b5613fec1313a1a2059d2e37343e572b3f979867c5da") |     version("1.14.0", sha256="462ea91df03ff5d52813b5613fec1313a1a2059d2e37343e572b3f979867c5da") | ||||||
|     version("1.13.0", sha256="f8d275a2cc720735286b7c2e2bc35da05761e6d3695c2fa416550395f10c53c7") |     version("1.13.0", sha256="f8d275a2cc720735286b7c2e2bc35da05761e6d3695c2fa416550395f10c53c7") | ||||||
| @@ -20,6 +21,7 @@ class PyHatchling(PythonPackage): | |||||||
|     version("1.8.1", sha256="448b04b23faed669b2b565b998ac955af4feea66c5deed3a1212ac9399d2e1cd") |     version("1.8.1", sha256="448b04b23faed669b2b565b998ac955af4feea66c5deed3a1212ac9399d2e1cd") | ||||||
|     version("1.4.1", sha256="13461b42876ade4f75ee5d2a2c656b288ca0aab7f048ef66657ef166996b2118") |     version("1.4.1", sha256="13461b42876ade4f75ee5d2a2c656b288ca0aab7f048ef66657ef166996b2118") | ||||||
| 
 | 
 | ||||||
|  |     depends_on("python@3.8:", when="@1.18:", type=("build", "run")) | ||||||
|     depends_on("py-editables@0.3:", type=("build", "run")) |     depends_on("py-editables@0.3:", type=("build", "run")) | ||||||
|     depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run")) |     depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run")) | ||||||
|     depends_on("py-packaging@21.3:", type=("build", "run")) |     depends_on("py-packaging@21.3:", type=("build", "run")) | ||||||
|   | |||||||
							
								
								
									
										20
									
								
								var/spack/repos/builtin/packages/py-pipdeptree/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								var/spack/repos/builtin/packages/py-pipdeptree/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | |||||||
|  | # 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 PyPipdeptree(PythonPackage): | ||||||
|  |     """Command line utility to show dependency tree of packages.""" | ||||||
|  | 
 | ||||||
|  |     homepage = "https://github.com/tox-dev/pipdeptree" | ||||||
|  |     pypi = "pipdeptree/pipdeptree-2.13.0.tar.gz" | ||||||
|  | 
 | ||||||
|  |     version("2.13.0", sha256="ff71a48abd0b1ab810c23734b47de6ebd93270857d6665e21ed5ef6136fcba6e") | ||||||
|  | 
 | ||||||
|  |     depends_on("python@3.8:", type=("build", "run")) | ||||||
|  |     depends_on("py-hatch-vcs@0.3:", type="build") | ||||||
|  |     depends_on("py-hatchling@1.18:", type="build") | ||||||
		Reference in New Issue
	
	Block a user