py-anndata: add new package (#32563)
Co-authored-by: James A Zilberman <jazrc@rit.edu> Co-authored-by: qwertos <qwertos@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										28
									
								
								var/spack/repos/builtin/packages/py-anndata/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								var/spack/repos/builtin/packages/py-anndata/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | |||||||
|  | # Copyright 2013-2022 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 PyAnndata(PythonPackage): | ||||||
|  |     """anndata is a Python package for handling annotated data matrices | ||||||
|  |     in memory and on disk, positioned between pandas and xarray.""" | ||||||
|  | 
 | ||||||
|  |     homepage = "https://github.com/theislab/anndata" | ||||||
|  |     pypi = "anndata/anndata-0.8.0.tar.gz" | ||||||
|  | 
 | ||||||
|  |     version("0.8.0", sha256="94d2cc6f76c0317c0ac28564e3092b313b7ad19c737d66701961f3e620b9066e") | ||||||
|  | 
 | ||||||
|  |     depends_on("python@3.7:", type=("build", "run")) | ||||||
|  |     depends_on("py-setuptools-scm", type="build") | ||||||
|  |     depends_on("py-flit-core@3.4:3", type="build") | ||||||
|  |     depends_on("py-importlib-metadata@0.7:", type=("build", "run"), when="^python@:3.7") | ||||||
|  |     depends_on("py-pandas@1.1.1:", type=("build", "run")) | ||||||
|  |     depends_on("py-numpy@1.16.5:", type=("build", "run")) | ||||||
|  |     depends_on("py-scipy@1.4.1:", type=("build", "run")) | ||||||
|  |     depends_on("py-h5py@3:", type=("build", "run")) | ||||||
|  |     depends_on("py-natsort", type=("build", "run")) | ||||||
|  |     depends_on("py-packaging@20:", type=("build", "run")) | ||||||
|  |     depends_on("py-typing-extensions", when="^python@:3.7", type=("build", "run")) | ||||||
		Reference in New Issue
	
	Block a user
	 Jen Herting
					Jen Herting