Skip to content

Commit d12b928

Browse files
authored
py_pyfive: New package (spack#4528)
* py_pyfive: New package * py_five: add comment in dependencies --------- Co-authored-by: LydDeb <lyderic.debusschere@asplus.fr>
1 parent 19f390d commit d12b928

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

  • repos/spack_repo/builtin/packages/py_pyfive
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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")

0 commit comments

Comments
 (0)