From 0be497a2703a0500598d130bb73088de492f95a7 Mon Sep 17 00:00:00 2001 From: Moritz-Alexander-Kern <moritz.kern@ymail.com> Date: Thu, 12 May 2022 14:16:33 +0200 Subject: [PATCH] add py-viziphant package --- packages/py-viziphant/package.py | 29 +++++++++++++++++++++++++++++ spack.yaml | 1 + 2 files changed, 30 insertions(+) create mode 100644 packages/py-viziphant/package.py diff --git a/packages/py-viziphant/package.py b/packages/py-viziphant/package.py new file mode 100644 index 00000000..9853eb54 --- /dev/null +++ b/packages/py-viziphant/package.py @@ -0,0 +1,29 @@ +# 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 import * + + +class PyViziphant(PythonPackage): + """Viziphant is a package for the visualization of the analysis results of electrophysiology data in Python""" + + homepage = "https://viziphant.readthedocs.io/en/latest/" + pypi = "viziphant/viziphant-0.1.0.tar.gz" + + # notify when the package is updated. + maintainers = ['Moritz-Alexander-Kern'] + + version('0.2.0', sha256='044b5c92de169dfafd9665efe2c310e917d2c21980bcc9f560d5c727161f9bd8') + version('0.1.0', sha256='8fd56ec8633f799396dc33fbace95d2553bedb17f680a8c0e97f43b3a629bf6c') + + depends_on('py-setuptools', type='build') + depends_on('python@3.7:3.10', type=('build', 'run')) + depends_on('py-neo@0.9.0:', type=('build', 'run')) + depends_on('py-elephant@0.9.0:', type=('build', 'run')) + depends_on('py-numpy@1.18.1:', type=('build', 'run')) + depends_on('py-quantities@0.12.1:', type=('build', 'run')) + depends_on('py-six@1.10.0:', type=('build', 'run')) + depends_on('py-matplotlib@3.3.2:', type=('build', 'run')) + depends_on('py-seaborn@0.9.0:', type=('build', 'run')) diff --git a/spack.yaml b/spack.yaml index 4e967314..6e6a57bd 100644 --- a/spack.yaml +++ b/spack.yaml @@ -36,6 +36,7 @@ spack: #- py-ebrains-drive@0.4.0 #- py-vf-client@0.6.3 - py-hbp-archive@1.1.1 + - py-viziphant #- py-morphounit@1.0.4 #- py-neurom@1.4.10 #- py-morphio@3.1.1 -- GitLab