diff --git a/packages/py-hbp-archive/package.py b/packages/py-hbp-archive/package.py new file mode 100644 index 0000000000000000000000000000000000000000..a96d25e9e7b469a8d0e3d25954867e0456b19a17 --- /dev/null +++ b/packages/py-hbp-archive/package.py @@ -0,0 +1,24 @@ +# 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 PyHbpArchive(PythonPackage): + """A high-level API for interacting with the Human Brain Project + archival storage at CSCS + """ + + homepage = "https://hbp-archive.readthedocs.io/" + pypi = "hbp-archive/hbp_archive-1.1.1.tar.gz" + git = "https://github.com/HumanBrainProject/hbp_archive.git" + + version('1.1.1', sha256='08059d3bcca4dcbc36951c82e75513bc50d8d59f1720a28bebf57a622d869f41') + + depends_on('python@3.6.9:') + depends_on('py-lxml@4.6.4:', type=('build', 'run')) + depends_on('py-keystoneauth1@4.3.1:', type=('build', 'run')) + depends_on('py-python-keystoneclient@4.2.0:', type=('build', 'run')) + depends_on('py-python-swiftclient@3.12.0:', type=('build', 'run')) diff --git a/spack.yaml b/spack.yaml index 708b73ea3b8a84bcfc3af5e7e1a13e0f729d33ef..740d5e94193223eca3295bc0b379cc1d23db435f 100644 --- a/spack.yaml +++ b/spack.yaml @@ -35,4 +35,6 @@ spack: - funniest1022 %gcc@10.3.0 # NRP #- py-torch~mkldnn~cuda~cudnn~onnx_ml~rocm~tensorpipe~mpi~distributed ^protobuf@:3.17.999 %gcc@10.3.0 + # Storage access + - py-hbp-archive@1.1.1 %gcc@10.3.0 concretization: together