py-bluepyefe, py-igor2: new version, new package igor2 (#42191)

This commit is contained in:
Matthias Wolf 2024-01-30 11:29:07 +01:00 committed by GitHub
parent 6a1e64f531
commit b70cb60b65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 2 deletions

View File

@ -12,14 +12,18 @@ class PyBluepyefe(PythonPackage):
pypi = "bluepyefe/bluepyefe-2.2.18.tar.gz"
git = "https://github.com/BlueBrain/BluePyEfe.git"
version("2.3.6", sha256="e52117372c41bfa3796e7a340d04b9c4b14f9ebcaacb9d36e947f3d041eb7e35")
version("2.2.18", sha256="bfb50c6482433ec2ffb4b65b072d2778bd89ae50d92dd6830969222aabb30275")
depends_on("py-setuptools", type="build")
depends_on("py-numpy@:1.23", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
depends_on("py-neo", type=("build", "run"))
depends_on("py-matplotlib", type=("build", "run"))
depends_on("py-efel", type=("build", "run"))
depends_on("py-scipy", type=("build", "run"))
depends_on("py-h5py", type=("build", "run"))
depends_on("py-igor", type=("build", "run"))
depends_on("py-igor2", type=("build", "run"), when="@2.3.6:")
depends_on("py-numpy@:1.23", type=("build", "run"), when="@2.2.18")
depends_on("py-igor", type=("build", "run"), when="@2.2.18")

View File

@ -0,0 +1,25 @@
# 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 PyIgor2(PythonPackage):
"""igor2: interface for reading binary IGOR files."""
# pypi only has no sdist
homepage = "https://github.com/AFM-analysis/igor2"
url = "https://pypi.io/packages/py3/i/igor2/igor2-0.5.3-py3-none-any.whl"
license("LGPL-3.0-or-later")
version(
"0.5.3",
sha256="bb7b54a5926ec640e0e9176f46e0dd88ad956fec2d17ba3b0a7687eba82cefee",
expand=False,
)
depends_on("python@3.8:3", type=("build", "run"))
depends_on("py-numpy@1.25.1:", type=("build", "run"))