summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-09-21 13:10:16 +0200
committerGitHub <noreply@github.com>2021-09-21 13:10:16 +0200
commita32671382615bbb186d3e0e0e7f891bac481d371 (patch)
tree53d7c750b1cf1f78e60158ddfcd856ac093a7280
parent1b95c97bb3fe50c025431e09719547c07dcf60d8 (diff)
downloadspack-a32671382615bbb186d3e0e0e7f891bac481d371.tar.gz
spack-a32671382615bbb186d3e0e0e7f891bac481d371.tar.bz2
spack-a32671382615bbb186d3e0e0e7f891bac481d371.tar.xz
spack-a32671382615bbb186d3e0e0e7f891bac481d371.zip
py-abcpy: new package (#25713)
-rw-r--r--var/spack/repos/builtin/packages/py-abcpy/package.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-abcpy/package.py b/var/spack/repos/builtin/packages/py-abcpy/package.py
new file mode 100644
index 0000000000..5ed72a3883
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-abcpy/package.py
@@ -0,0 +1,38 @@
+# 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 PyAbcpy(PythonPackage):
+ """
+ ABCpy is a highly modular, scientific library for approximate Bayesian
+ computation (ABC) written in Python. It is designed to run all included ABC
+ algorithms in parallel, either using multiple cores of a single computer or
+ using an Apache Spark or MPI enabled cluster.
+ """
+
+ homepage = "https://github.com/eth-cscs/abcpy"
+ pypi = "abcpy/abcpy-0.6.3.tar.gz"
+
+ version('0.6.3', sha256='14cd959f3ccff8f5fd1d16239b8706cc8d1c1e2fe25d72855f500f005de41245')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.23.1:', type=('build', 'run'))
+ depends_on('py-glmnet@2.2.1:', type=('build', 'run'))
+ depends_on('py-mpi4py', type=('build', 'run'))
+ depends_on('py-cloudpickle', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-tqdm', type=('build', 'run'))
+ depends_on('py-pot', type=('build', 'run'))
+
+ # Development dependencies are required in setup.py :(
+ depends_on('py-sphinx', type='build')
+ depends_on('py-sphinx-rtd-theme', type='build')
+ depends_on('py-coverage', type='build')