代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-h5py 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global modname h5py
Summary: A high- and low-level interface to the HDF5 library from Python
Name: python-h5py
Version: 3.10.0
Release: 1
License: BSD
URL: http://www.h5py.org/
Source0: https://github.com/h5py/h5py/archive/refs/tags/%{version}.tar.gz
Patch1: Fix-compiling-fileobj-file-driver-with-Cython-3.0.patch
BuildRequires: gcc
BuildRequires: hdf5-devel
BuildRequires: python3-devel
BuildRequires: python3-pkgconfig
BuildRequires: python3-six
BuildRequires: python3-sphinx
BuildRequires: python3-numpy
BuildRequires: python3-Cython
BuildRequires: python3-pytest
%description
The h5py package provides both a high- and low-level interface to the HDF5 library from Python. The low-level interface is intended to be a complete wrapping of the HDF5 API, while the high-level component supports access to HDF5 files, datasets and groups using established Python and NumPy concepts.
A strong emphasis on automatic conversion between Python (Numpy) datatypes and data structures and their HDF5 equivalents vastly simplifies the process of reading and writing data from Python.
%package -n python3-h5py
Summary: %{summary}
Requires: hdf5%{_isa} = %{_hdf5_version}
Requires: python3-numpy
Requires: python3-six
%{?python_provide:%python_provide python3-h5py}
%description -n python3-h5py
A high- and low-level interface to the HDF5 library from Python3
%prep
%setup -q -n %{modname}-%{version}
%autopatch -p1
%{__python3} api_gen.py
%build
%py3_build
%install
%py3_install
%check
%{__python3} -m pytest %{buildroot}%{python3_sitearch}/h5py/ -k 'not TestMPI'
%files -n python3-h5py
%license licenses/*.txt
%doc README.rst examples
%{python3_sitearch}/%{modname}/
%{python3_sitearch}/%{modname}-%{version}-*.egg-info
%changelog
* Fri Jan 26 2024 wangjiang <wangjiang37@h-partners.com> - 3.10.0-1
- update version to 3.10.0
* Fri Jul 28 2023 zhuofeng <zhuofeng2@huawei.com> - 3.9.0-1
- update version to 3.9.0
* Thu Dec 08 2022 wubijie <wubijie@kylinos.cn> - 3.7.0-1
- Update package to version 3.7.0
* Wed Nov 23 2022 yanglongkang <yanglongkang@h-partners.com> - 3.6.0-2
- fix Source incorrect in spec file
* Thu Jun 23 2022 wulei <wulei80@h-partners.com> - 3.6.0-1
- Upgrade to 3.6.0
* Tue Oct 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.10.0-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。