Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit a6f64ed

Browse files
authored
py-emodel-generalisation: add package (#2148)
1 parent e73f9cf commit a6f64ed

File tree

5 files changed

+76
-4
lines changed

5 files changed

+76
-4
lines changed

bluebrain/repo-bluebrain/packages/py-bluecellulab/package.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ class PyBluecellulab(PythonPackage):
1010
"""Pythonic Blue Brain simulator access, former BGLibPy"""
1111

1212
homepage = "https://github.com/BlueBrain/BlueCelluLab"
13-
pypi = "bluecellulab/bluecellulab-1.5.2.tar.gz"
13+
pypi = "bluecellulab/bluecellulab-1.7.6.tar.gz"
1414

15-
version("1.5.2", sha256="22e45b921ad9cd282d53b57ac90fcec69731cb718ed8098c8eb52039bf7a49e5")
15+
version("1.7.6", sha256="a60ec17c44e759b6726c399d764e4220f6641bf3d845fc3fbfe56d07dba9e6d5")
1616

1717
depends_on("py-setuptools", type=("build", "run"))
18+
depends_on("py-setuptools-scm", type="build")
1819

1920
depends_on("neuron+python@8", type=("build", "run"))
2021
depends_on("py-numpy@1.8:", type=("build", "run"))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
2+
# Spack Project Developers. See the top-level COPYRIGHT file for details.
3+
#
4+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
5+
6+
from spack.package import *
7+
8+
9+
class PyEmodelGeneralisation(PythonPackage):
10+
"""Python library to generalise electrical models."""
11+
12+
homepage = "https://github.com/BlueBrain/emodel-generalisation"
13+
git = "https://github.com/BlueBrain/emodel-generalisation.git"
14+
pypi = "emodel-generalisation/emodel-generalisation-0.2.4.tar.gz"
15+
16+
version("0.2.4", sha256="faa3e622892e7df4dad1dc26275c8deef0ccd0354874d64c486781820c3ff533")
17+
18+
depends_on("py-setuptools", type="build")
19+
depends_on("py-setuptools-scm", type="build")
20+
21+
depends_on("py-numpy@1.23.5:", type=("build", "run"))
22+
depends_on("py-scipy@1.10:", type=("build", "run"))
23+
depends_on("py-pandas@1.5.3:", type=("build", "run"))
24+
depends_on("py-tqdm", type=("build", "run"))
25+
depends_on("py-datareuse@0.0.3:", type=("build", "run"))
26+
depends_on("py-pyyaml", type=("build", "run"))
27+
depends_on("py-bluepyopt@1.13.86:", type=("build", "run"))
28+
depends_on("py-neurom@3.2.2:", type=("build", "run"))
29+
depends_on("py-efel@3.1:", type=("build", "run"))
30+
depends_on("py-morph-tool@2.9:", type=("build", "run"))
31+
depends_on("neuron+python@8.0:", type=("build", "run"))
32+
depends_on("py-matplotlib@3.6.2:", type=("build", "run"))
33+
depends_on("py-bluecellulab@1.7.6:", type=("build", "run"))
34+
depends_on("py-seaborn@0.12.2:", type=("build", "run"))
35+
depends_on("py-ipyparallel@6.3.0:", type=("build", "run"))
36+
depends_on("py-dask+dataframe+distributed@2023.3.2:", type=("build", "run"))
37+
depends_on("py-xgboost@1.1.0:", type=("build", "run"))
38+
depends_on("py-diameter-synthesis@0.5.4:", type=("build", "run"))
39+
depends_on("py-voxcell@3.1.6:", type=("build", "run"))
40+
depends_on("py-sqlalchemy@1.4:", type=("build", "run"))
41+
depends_on("py-sqlalchemy-utils@0.37.2:", type=("build", "run"))
42+
depends_on("py-shap@0.41.0:", type=("build", "run"))
43+
depends_on("py-scikit-learn@1.1.3:", type=("build", "run"))
44+
depends_on("py-luigi-tools@0.3.4:", type=("build", "run"))
45+
46+
# MPI dependencies
47+
depends_on("py-dask-mpi@2022.4:", type=("build", "run"))
48+
depends_on("py-mpi4py@3.1.1:", type=("build", "run"))
49+
depends_on("hpe-mpi@2.25.hmpt:", type=("build", "run"))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
2+
# Spack Project Developers. See the top-level COPYRIGHT file for details.
3+
#
4+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
5+
6+
from spack.package import *
7+
8+
9+
class PyDatareuse(PythonPackage):
10+
"""Util package to reuse computed datasets"""
11+
12+
git = "https://github.com/arnaudon/datareuse"
13+
pypi = "datareuse/datareuse-0.0.3.tar.gz"
14+
15+
version("0.0.3", sha256="63b03ae4acda22e93911adde0325818842bf65e42291ecfc88706e735a190749")
16+
17+
depends_on("py-setuptools", type="build")
18+
depends_on("py-setuptools-scm", type="build")
19+
depends_on("py-pandas@1.5.3:", type=("build", "run"))
20+
depends_on("py-pyyaml", type=("build", "run"))

var/spack/repos/builtin/packages/py-numba/package.py

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class PyNumba(PythonPackage):
3030
depends_on("python@3.6:3.8", type=("build", "run"), when="@0.48:0.51")
3131
depends_on("python@3.3:3.7", type=("build", "run"), when="@0.40.1:0.47")
3232
depends_on("python@3.3:3.6", type=("build", "run"), when="@:0.35.0")
33+
depends_on("py-numpy@1.18:1.23", type=("build", "run"), when="@0.56:")
3334
depends_on("py-numpy@1.18:1.22", type=("build", "run"), when="@0.55.2:")
3435
depends_on("py-numpy@1.18:1.21", type=("build", "run"), when="@0.55.0:0.55.1")
3536
depends_on("py-numpy@1.17:1.20", type=("build", "run"), when="@0.54")

var/spack/repos/builtin/packages/py-shap/package.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ class PyShap(PythonPackage):
1616
version("0.41.0", sha256="a49ea4d65aadbc845a695fa3d7ea0bdfc8c928b8e213b0feedf5868ade4b3ca5")
1717

1818
depends_on("py-setuptools", type="build")
19+
depends_on("py-setuptools-scm", type="build")
1920

20-
depends_on("py-numpy", type=("build", "run"))
21+
depends_on("py-numpy@1.23:", type=("build", "run"))
2122
depends_on("py-scipy", type=("build", "run"))
2223
depends_on("py-scikit-learn", type=("build", "run"))
2324
depends_on("py-pandas", type=("build", "run"))
2425
depends_on("py-tqdm@4.25.1:", type=("build", "run"))
2526
depends_on("py-packaging@20.10:", type=("build", "run"))
2627
depends_on("py-slicer@0.0.7", type=("build", "run"))
27-
depends_on("py-numba", type=("build", "run"))
28+
depends_on("py-numba@0.56:", type=("build", "run"))
2829
depends_on("py-cloudpickle", type=("build", "run"))

0 commit comments

Comments
 (0)