2012-12-06 18:29:13 +00:00
|
|
|
|
2011-07-10 16:30:08 +00:00
|
|
|
Summary: A Python interface to the HDF5 library
|
|
|
|
Name: h5py
|
2019-01-08 03:27:36 +00:00
|
|
|
Version: 2.9.0
|
2019-10-03 11:54:26 +00:00
|
|
|
Release: 7%{?dist}
|
2011-07-10 16:30:08 +00:00
|
|
|
License: BSD
|
2014-04-23 03:25:02 +00:00
|
|
|
URL: http://www.h5py.org/
|
2017-03-20 19:44:39 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
|
2011-07-10 16:30:08 +00:00
|
|
|
# patch to use a system liblzf rather than bundled liblzf
|
2014-04-23 03:25:02 +00:00
|
|
|
Patch0: h5py-system-lzf.patch
|
2019-02-05 20:25:22 +00:00
|
|
|
# revert these: https://github.com/h5py/h5py/issues/1164
|
|
|
|
Patch1: 1114.patch
|
|
|
|
Patch2: 1065.patch
|
2018-03-01 18:38:02 +00:00
|
|
|
BuildRequires: gcc
|
2019-01-08 03:27:36 +00:00
|
|
|
BuildRequires: hdf5-devel
|
2018-03-01 18:38:02 +00:00
|
|
|
BuildRequires: liblzf-devel
|
2016-04-10 15:18:44 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-devel >= 3.2
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pkgconfig
|
|
|
|
BuildRequires: python%{python3_pkgversion}-six
|
2019-01-14 12:45:06 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
2019-01-08 03:27:36 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-numpy >= 1.7
|
|
|
|
BuildRequires: python%{python3_pkgversion}-Cython >= 0.23
|
2011-07-10 16:30:08 +00:00
|
|
|
|
2018-03-01 18:38:02 +00:00
|
|
|
%global _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, data sets and groups using established\
|
|
|
|
Python and NumPy concepts.\
|
|
|
|
\
|
|
|
|
A strong emphasis on automatic conversion between Python (Numpy)\
|
|
|
|
data types and data structures and their HDF5 equivalents vastly\
|
2011-07-10 16:30:08 +00:00
|
|
|
simplifies the process of reading and writing data from Python.
|
|
|
|
|
2018-03-01 18:38:02 +00:00
|
|
|
%description %_description
|
|
|
|
|
2019-01-14 12:45:06 +00:00
|
|
|
|
2018-03-01 18:38:02 +00:00
|
|
|
%package -n python%{python3_pkgversion}-h5py
|
|
|
|
Summary: %{summary}
|
2016-04-10 15:18:44 +00:00
|
|
|
Requires: hdf5%{_isa} = %{_hdf5_version}
|
2019-01-08 03:27:36 +00:00
|
|
|
Requires: python%{python3_pkgversion}-numpy >= 1.7
|
2016-04-10 15:18:44 +00:00
|
|
|
Requires: python%{python3_pkgversion}-six
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-h5py}
|
2018-03-01 18:38:02 +00:00
|
|
|
%description -n python%{python3_pkgversion}-h5py %_description
|
2012-12-06 18:29:13 +00:00
|
|
|
|
2011-07-10 16:30:08 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
# use system libzlf and remove private copy
|
2014-04-23 03:25:02 +00:00
|
|
|
%patch0 -p1 -b .lzf
|
2019-02-05 20:25:22 +00:00
|
|
|
%patch1 -p1 -R
|
|
|
|
%patch2 -p1 -R
|
2011-07-10 16:30:08 +00:00
|
|
|
rm -rf lzf/lzf
|
2019-01-08 03:32:52 +00:00
|
|
|
%{__python3} api_gen.py
|
2011-07-10 16:30:08 +00:00
|
|
|
|
|
|
|
%build
|
2014-04-23 03:25:02 +00:00
|
|
|
export CFLAGS="%{optflags} -fopenmp"
|
2016-04-10 15:18:44 +00:00
|
|
|
%py3_build
|
2012-12-06 18:29:13 +00:00
|
|
|
|
2011-07-10 16:30:08 +00:00
|
|
|
%install
|
2016-04-10 15:18:44 +00:00
|
|
|
%py3_install
|
2012-12-06 18:29:13 +00:00
|
|
|
|
2011-07-10 16:30:08 +00:00
|
|
|
%check
|
2019-03-16 14:55:02 +00:00
|
|
|
# Known failure due to hdf5 1.10.3+
|
|
|
|
# https://github.com/h5py/h5py/issues/1180
|
|
|
|
%{__python3} setup.py test || :
|
2011-07-10 16:30:08 +00:00
|
|
|
|
|
|
|
|
2016-04-10 15:18:44 +00:00
|
|
|
%files -n python%{python3_pkgversion}-h5py
|
|
|
|
%license licenses/*.txt
|
|
|
|
%doc ANN.rst README.rst examples
|
2012-12-06 18:29:13 +00:00
|
|
|
%{python3_sitearch}/%{name}/
|
|
|
|
%{python3_sitearch}/%{name}-%{version}-*.egg-info
|
|
|
|
|
2011-07-10 16:30:08 +00:00
|
|
|
%changelog
|
2019-10-03 11:54:26 +00:00
|
|
|
* Thu Oct 03 2019 Miro HronÄok <mhroncok@redhat.com> - 2.9.0-7
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-19 08:15:45 +00:00
|
|
|
* Mon Aug 19 2019 Miro HronÄok <mhroncok@redhat.com> - 2.9.0-6
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-25 08:14:51 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-16 14:55:02 +00:00
|
|
|
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 2.9.0-4
|
|
|
|
- Rebuild for hdf5 1.10.5
|
|
|
|
|
2019-02-01 02:04:12 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-14 12:45:06 +00:00
|
|
|
* Mon Jan 14 2019 Miro HronÄok <mhroncok@redhat.com> - 2.9.0-2
|
|
|
|
- Subpackage python2-h5py has been removed
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
|
|
2019-01-08 03:27:36 +00:00
|
|
|
* Mon Jan 7 2019 Orion Poplawski <orion@nwra.com> - 2.9.0-1
|
|
|
|
- Update to 2.9.0
|
|
|
|
- Drop python2 for Fedora 30+ (bug #1663834)
|
|
|
|
|
2018-07-13 04:50:35 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 08:44:32 +00:00
|
|
|
* Tue Jun 19 2018 Miro HronÄok <mhroncok@redhat.com> - 2.8.0-2
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-06-12 17:26:23 +00:00
|
|
|
* Tue Jun 05 2018 Terje Rosten <terje.rosten@ntnu.no> - 2.8.0-1
|
|
|
|
- Update to 2.8.0
|
|
|
|
|
2018-03-01 03:34:23 +00:00
|
|
|
* Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.7.1-4
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
2018-03-01 18:38:02 +00:00
|
|
|
- Minor clean up
|
2018-03-01 03:34:23 +00:00
|
|
|
|
2018-02-13 18:05:42 +00:00
|
|
|
* Tue Feb 13 2018 Christian Dersch <lupinix@mailbox.org> - 2.7.1-3
|
|
|
|
- Added patch h5py-Dont-reorder-compound-types (required for new numpy>=1.14)
|
|
|
|
|
2018-02-07 16:00:27 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-04 16:35:49 +00:00
|
|
|
* Mon Sep 04 2017 Terje Rosten <terje.rosten@ntnu.no> - 2.7.1-1
|
|
|
|
- Update to 2.7.1
|
|
|
|
|
2017-08-02 23:21:27 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 12:29:34 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-07 10:18:07 +00:00
|
|
|
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.7.0-2
|
|
|
|
- Rebuild due to bug in RPM (RHBZ #1468476)
|
|
|
|
|
2017-03-20 19:44:39 +00:00
|
|
|
* Mon Mar 20 2017 Orion Poplawski <orion@cora.nwra.com> - 2.7.0-1
|
|
|
|
- Update to 2.7.0
|
|
|
|
|
2017-02-10 12:31:25 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-19 17:20:36 +00:00
|
|
|
* Mon Dec 19 2016 Miro HronÄok <mhroncok@redhat.com> - 2.6.0-6
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-12-06 18:47:19 +00:00
|
|
|
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 2.6.0-5
|
|
|
|
- Rebuild for hdf5 1.8.18
|
|
|
|
|
2016-12-06 18:44:29 +00:00
|
|
|
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 2.6.0-4
|
|
|
|
- Rebuild for hdf5 1.8.18
|
|
|
|
|
2016-07-19 07:22:59 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-06-29 18:19:41 +00:00
|
|
|
* Wed Jun 29 2016 Orion Poplawski <orion@cora.nwra.com> - 2.6.0-2
|
|
|
|
- Rebuild for hdf5 1.8.17
|
|
|
|
|
2016-04-10 15:18:44 +00:00
|
|
|
* Sun Apr 10 2016 Orion Poplawski <orion@cora.nwra.com> - 2.6.0-1
|
|
|
|
- Update to 2.6.0
|
|
|
|
- Modernize spec and ship python2-h5py package
|
|
|
|
|
2016-03-23 15:52:08 +00:00
|
|
|
* Wed Mar 23 2016 Orion Poplawski <orion@cora.nwra.com> - 2.5.0-8
|
|
|
|
- Tests run okay now
|
|
|
|
|
2016-02-03 23:39:48 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-21 20:40:14 +00:00
|
|
|
* Thu Jan 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.5.0-6
|
|
|
|
- Rebuild for hdf5 1.8.16
|
|
|
|
|
2015-11-10 14:26:19 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-17 10:15:05 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-18 18:16:12 +00:00
|
|
|
* Mon May 18 2015 Terje Rosten <terje.rosten@ntnu.no> - 2.5.0-3
|
2015-05-18 18:34:37 +00:00
|
|
|
- Add six and pkgconfig dep (thanks Orion!)
|
2015-05-18 18:16:12 +00:00
|
|
|
|
2015-05-17 20:58:25 +00:00
|
|
|
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 2.5.0-2
|
|
|
|
- Rebuild for hdf5 1.8.15
|
|
|
|
|
2015-04-14 02:10:26 +00:00
|
|
|
* Mon Apr 13 2015 Orion Poplawski <orion@cora.nwra.com> - 2.5.0-1
|
|
|
|
- Update to 2.5.0
|
|
|
|
|
2015-01-07 18:56:20 +00:00
|
|
|
* Wed Jan 7 2015 Orion Poplawski <orion@cora.nwra.com> - 2.4.0-1
|
|
|
|
- Update to 2.4.0
|
|
|
|
|
2014-08-16 20:08:43 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-25 21:21:23 +00:00
|
|
|
* Wed Jun 25 2014 Orion Poplawski <orion@cora.nwra.com> - 2.3.1-1
|
|
|
|
- Update to 2.3.1
|
|
|
|
|
2014-06-10 02:38:28 +00:00
|
|
|
* Tue Jun 10 2014 Orion Poplawski <orion@cora.nwra.com> - 2.3.0-4
|
|
|
|
- Rebuild for hdf 1.8.13
|
|
|
|
|
2014-06-07 19:41:56 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-09 20:09:34 +00:00
|
|
|
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 2.3.0-2
|
|
|
|
- Rebuild for Python 3.4
|
|
|
|
|
2014-04-23 03:25:02 +00:00
|
|
|
* Tue Apr 22 2014 Orion Poplawski <orion@cora.nwra.com> - 2.3.0-1
|
|
|
|
- Update to 2.3.0
|
|
|
|
|
2014-01-06 02:54:58 +00:00
|
|
|
* Sun Jan 5 2014 Orion Poplawski <orion@cora.nwra.com> - 2.2.1-2
|
|
|
|
- Rebuild for hdf5 1.8.12
|
2014-01-06 03:11:39 +00:00
|
|
|
- Add requires for hdf5 version
|
2014-01-06 02:54:58 +00:00
|
|
|
|
2013-12-20 04:52:46 +00:00
|
|
|
* Thu Dec 19 2013 Orion Poplawski <orion@cora.nwra.com> - 2.2.1-1
|
|
|
|
- 2.2.1
|
|
|
|
|
2013-09-26 18:26:47 +00:00
|
|
|
* Thu Sep 26 2013 Terje Rosten <terje.rosten@ntnu.no> - 2.2.0-1
|
|
|
|
- 2.2.0
|
|
|
|
|
2013-08-03 17:25:13 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-10 13:01:33 +00:00
|
|
|
* Mon Jun 10 2013 Terje Rosten <terje.rosten@ntnu.no> - 2.1.3-1
|
|
|
|
- 2.1.3
|
|
|
|
- add Python 3 import patches (#962250)
|
|
|
|
|
2013-05-16 18:17:17 +00:00
|
|
|
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 2.1.0-3
|
2013-06-10 13:01:33 +00:00
|
|
|
- rebuild for hdf5 1.8.11
|
2013-05-16 18:17:17 +00:00
|
|
|
|
2013-02-14 00:57:06 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
2013-06-10 13:01:33 +00:00
|
|
|
- rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
2013-02-14 00:57:06 +00:00
|
|
|
|
2012-12-06 18:29:13 +00:00
|
|
|
* Thu Dec 06 2012 Terje Rosten <terje.rosten@ntnu.no> - 2.1.0-1
|
|
|
|
- 2.1.0
|
|
|
|
- add Python 3 subpackage
|
|
|
|
|
2012-07-19 12:15:09 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-2
|
2012-12-06 18:29:13 +00:00
|
|
|
- rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
2012-07-19 12:15:09 +00:00
|
|
|
|
2012-01-24 10:41:07 +00:00
|
|
|
* Tue Jan 24 2012 Terje Rosten <terje.rosten@ntnu.no> - 2.0.1-1
|
|
|
|
- 2.0.1
|
|
|
|
- docs is removed
|
|
|
|
- rebase patch
|
|
|
|
|
2012-01-13 04:45:08 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
|
2012-12-06 18:29:13 +00:00
|
|
|
- rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
2012-01-13 04:45:08 +00:00
|
|
|
|
2011-07-10 16:30:08 +00:00
|
|
|
* Mon May 23 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.3.1-4
|
|
|
|
- add patch from Steve Traylen (thanks!) to use system liblzf
|
|
|
|
|
|
|
|
* Thu Jan 13 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.3.1-3
|
|
|
|
- fix buildroot
|
|
|
|
- add filter
|
|
|
|
- don't remove egg-info files
|
|
|
|
- remove explicit hdf5 req
|
|
|
|
|
|
|
|
* Sun Jan 2 2011 Terje Rosten <terje.rosten@ntnu.no> - 1.3.1-2
|
|
|
|
- build and ship docs as html
|
|
|
|
|
|
|
|
* Mon Dec 27 2010 Terje Rosten <terje.rosten@ntnu.no> - 1.3.1-1
|
|
|
|
- 1.3.1
|
|
|
|
- license is BSD only
|
|
|
|
- run tests
|
|
|
|
- new url
|
|
|
|
|
2013-12-20 04:52:46 +00:00
|
|
|
* Sat Jul 4 2009 Joseph Smidt <josephsmidt@gmail.com> - 1.2.0-1
|
2011-07-10 16:30:08 +00:00
|
|
|
- initial RPM release
|