File tree Expand file tree Collapse file tree
repos/spack_repo/builtin/packages/py_pyfive Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright Spack Project Developers. See COPYRIGHT file for details.
2+ #
3+ # SPDX-License-Identifier: (Apache-2.0 OR MIT)
4+
5+ from spack_repo .builtin .build_systems .python import PythonPackage
6+
7+ from spack .package import *
8+
9+
10+ class PyPyfive (PythonPackage ):
11+ """A pure python HDF5 reader"""
12+
13+ homepage = "https://github.com/NCAS-CMS/pyfive"
14+ git = "https://github.com/NCAS-CMS/pyfive.git"
15+ pypi = "pyfive/pyfive-1.1.1.tar.gz"
16+
17+ maintainers ("LydDeb" )
18+
19+ license ("BSD-3-Clause" , checked_by = "LydDeb" )
20+
21+ version ("1.1.1" , sha256 = "a43e852947b9bc4703bc174d4e9cec77d61c2324d35961bbae9914aa69821ce5" )
22+
23+ depends_on ("python@3.10:" , type = ("build" , "run" ))
24+
25+ with default_args (type = "build" ):
26+ depends_on ("py-setuptools@80:" )
27+ depends_on ("py-setuptools-scm@8:" )
28+ with default_args (type = ("build" , "run" )):
29+ depends_on ("py-numpy@2:" )
30+ # Not in pyproject.toml but necessary to import the 'pyfive' module.
31+ # This dependence appears in high_level.py on line 13
32+ depends_on ("py-typing-extensions" )
You can’t perform that action at this time.
0 commit comments