summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-neurom/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-neurom/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-neurom/package.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-neurom/package.py b/var/spack/repos/builtin/packages/py-neurom/package.py
new file mode 100644
index 0000000000..19bad5fc7b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-neurom/package.py
@@ -0,0 +1,35 @@
+# 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 PyNeurom(PythonPackage):
+ """Python library neuron morphology analysis"""
+
+ homepage = "https://github.com/BlueBrain/NeuroM"
+ git = "https://github.com/BlueBrain/NeuroM.git"
+ pypi = "neurom/neurom-2.2.1.tar.gz"
+
+ version("master", branch="master")
+ version("3.2.4", sha256="a584e0979b54deee906dd716ea90de20773e20b527d83960d0fe655b0905eb4a")
+
+ variant("plotly", default=False, description="Enable plotly support")
+
+ depends_on("py-setuptools@42:", type=("build", "run"))
+ depends_on("py-setuptools-scm", type="build")
+ depends_on("python@3.8:", type=("build", "run"))
+
+ depends_on("py-click@7.0:", type=("build", "run"))
+ depends_on("py-matplotlib@3.2.1:", type=("build", "run"))
+ depends_on("py-morphio@3.3.6:", type=("build", "run"))
+ depends_on("py-numpy@1.8.0:", type=("build", "run"))
+ depends_on("py-pandas@1.0.5:", type=("build", "run"))
+ depends_on("py-pyyaml@3.10:", type=("build", "run"))
+ depends_on("py-scipy@1.2.0:", type=("build", "run"))
+ depends_on("py-tqdm@4.8.4:", type=("build", "run"))
+
+ depends_on("py-plotly@3.6.0:", type=("build", "run"), when="+plotly")
+ depends_on("py-psutil@5.5.1:", type=("build", "run"), when="+plotly")