diff --git a/packages/py-cerebstats/package.py b/packages/py-cerebstats/package.py new file mode 100644 index 0000000000000000000000000000000000000000..c72ec4879021ef4e451f6e85bf368a546b8e1241 --- /dev/null +++ b/packages/py-cerebstats/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2021 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 PyCerebstats(PythonPackage): + """CerebStats is the statistical library for CerebUnit. + It is one of the four components for validating cerebellum models: + CerebModels and CerebData do not require installation while CerebUnit and CerebStats require installation.""" + + homepage = "https://cerebstats.readthedocs.io" + pypi = "cerebstats/cerebstats-0.0.3.tar.gz" + git = "https://github.com/cerebunit/cerebstats.git" + + maintainers = ['lungsi', 'apdavison'] # github usernames + + version('0.0.3', sha256='0270ac7d37706d067e5e72de80f6dbd23309ec02a71ad4443f0f457790a9aa8c') + + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-quantities', type='build', 'run') + depends_on('py-sciunit', type=('build', 'run')) + diff --git a/packages/py-cerebunit/package.py b/packages/py-cerebunit/package.py new file mode 100644 index 0000000000000000000000000000000000000000..f0c9e6499c5c8a688fccf1eaa2e06b2a6176a8e4 --- /dev/null +++ b/packages/py-cerebunit/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2021 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 PyCerebunit(PythonPackage): + """CerebUnit is a component for validating cerebellum models that contains the validation tests. + It is one of the four components for validating cerebellum models: + CerebModels and CerebData do not require installation while CerebUnit and CerebStats require installation.""" + + homepage = "https://cerebunit.readthedocs.io" + pypi = "cerebunit/cerebunit-0.0.1.tar.gz" + git = "https://github.com/cerebunit/cerebunit.git" + + maintainers = ['lungsi', 'apdavison'] # github usernames + + version('0.0.1', sha256='f5b3811c5da2e8416a30a67497b90c87cba176493662e73f2191f1375a6d7bfe') + + depends_on('py-cerebstats', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-quantities', type='build', 'run') + depends_on('py-sciunit', type=('build', 'run')) + depends_on('py-pynwb@1.0.2', type=('build', 'run')) + depends_on('py-hdmf@1.0.3', type=('build', 'run')) + depends_on('py-h5py', type=('build', 'run')) + depends_on('py-pandas', type=('build', 'run')) +