summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-10-06 04:27:37 -0400
committerGitHub <noreply@github.com>2022-10-06 10:27:37 +0200
commit1f5729644be0ad6f4830464441447091bcf367cf (patch)
treeb23288be9545b090a489863a634b5f8645639d5d
parentaab5bcf05a2e60abbe346c41c73b0d4f25c3b2b4 (diff)
downloadspack-1f5729644be0ad6f4830464441447091bcf367cf.tar.gz
spack-1f5729644be0ad6f4830464441447091bcf367cf.tar.bz2
spack-1f5729644be0ad6f4830464441447091bcf367cf.tar.xz
spack-1f5729644be0ad6f4830464441447091bcf367cf.zip
New package: py-scanpy (#32565)
* [py-scanpy] New package * [py-scanpy] Added types * [py-scan] reworked dependencies * [py-scanpy] flake8 * [py-scanpy] update import * [py-scanpy] fixed minor issues Co-authored-by: James A Zilberman <jazrc@rit.edu>
-rw-r--r--var/spack/repos/builtin/packages/py-scanpy/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-scanpy/package.py b/var/spack/repos/builtin/packages/py-scanpy/package.py
new file mode 100644
index 0000000000..fffc0e6f91
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-scanpy/package.py
@@ -0,0 +1,40 @@
+# 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 PyScanpy(PythonPackage):
+ """Scanpy is a scalable toolkit for analyzing single-cell
+ gene expression data built jointly with anndata."""
+
+ homepage = "https://scanpy.readthedocs.io/en/stable/"
+ pypi = "scanpy/scanpy-1.9.1.tar.gz"
+
+ version("1.9.1", sha256="00c9a83b649da7e0171c91e9a08cff632102faa760614fd05cd4d1dbba4eb541")
+
+ 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-tomli", type="build")
+ depends_on("py-packaging", type=("build", "run"))
+ depends_on("py-anndata@0.7.4:", type=("build", "run"))
+ depends_on("py-numpy@1.17.0:", type=("build", "run"))
+ depends_on("py-matplotlib@3.4:", type=("build", "run"))
+ depends_on("py-pandas@1.0:", type=("build", "run"))
+ depends_on("py-scipy@1.4:", type=("build", "run"))
+ depends_on("py-seaborn", type=("build", "run"))
+ depends_on("py-h5py@3:", type=("build", "run"))
+ depends_on("py-tqdm", type=("build", "run"))
+ depends_on("py-scikit-learn@0.22:", type=("build", "run"))
+ depends_on("py-statsmodels@0.10.0:", type=("build", "run"))
+ depends_on("py-patsy", type=("build", "run"))
+ depends_on("py-networkx@2.3:", type=("build", "run"))
+ depends_on("py-natsort", type=("build", "run"))
+ depends_on("py-joblib", type=("build", "run"))
+ depends_on("py-numba@0.41.0:", type=("build", "run"))
+ depends_on("py-umap-learn@0.3.10:", type=("build", "run"))
+ depends_on("py-session-info", type=("build", "run"))