|
|
6105a62 |
#global commit 16191801a53eddae8ca9380a28988c3b5b263c5e
|
|
|
7852500 |
%{?gitcommit:%global gitcommitshort %(c=%{gitcommit}; echo ${c:0:7})}
|
|
|
a7b5748 |
|
|
|
15f734c |
# Use the same directory of the main package for subpackage licence and docs
|
|
|
15f734c |
%global _docdir_fmt %{name}
|
|
|
15f734c |
|
|
|
7852500 |
Summary: HDF5 support in Python
|
|
|
7852500 |
Name: python-tables
|
|
|
7852500 |
Version: 3.3.0
|
|
|
cb1bff1 |
Release: 2%{?dist}%{?gitcommit:.git%{shortcommit}}
|
|
|
6105a62 |
#Source0: https://github.com/PyTables/PyTables/archive/%{commit}/PyTables-%{commit}.tar.gz
|
|
|
7852500 |
Source0: https://github.com/PyTables/PyTables/archive/v%{version}.tar.gz#/python-tables-%{version}.tar.gz
|
|
|
a7b5748 |
|
|
|
7852500 |
Source1: https://github.com/PyTables/PyTables/releases/download/v%{version}/pytablesmanual-%{version}.pdf
|
|
|
e14854e |
Patch0: always-use-blosc.diff
|
|
|
06a3fb7 |
Patch1: 0001-setup.py-gracefuly-handle-cpuinfo-failure.patch
|
|
Thibault North |
0c9716b |
|
|
|
c658110 |
License: BSD
|
|
|
c658110 |
URL: http://www.pytables.org
|
|
Thibault North |
0c9716b |
|
|
|
c658110 |
BuildRequires: hdf5-devel >= 1.8 bzip2-devel lzo-devel
|
|
|
4e3d0c0 |
BuildRequires: Cython >= 0.13
|
|
|
4e3d0c0 |
BuildRequires: numpy
|
|
|
4e3d0c0 |
BuildRequires: python-numexpr >= 2.4
|
|
|
a7b5748 |
BuildRequires: blosc-devel >= 1.5.2
|
|
|
c658110 |
BuildRequires: python2-devel
|
|
|
7852500 |
BuildRequires: python2-six
|
|
|
7852500 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
Orion Poplawski |
871c090 |
BuildRequires: python%{python3_pkgversion}-Cython >= 0.13
|
|
Orion Poplawski |
871c090 |
BuildRequires: python%{python3_pkgversion}-numpy
|
|
Orion Poplawski |
871c090 |
BuildRequires: python%{python3_pkgversion}-numexpr >= 2.4
|
|
|
7852500 |
BuildRequires: python%{python3_pkgversion}-six
|
|
Thibault North |
0c9716b |
|
|
Thibault North |
0c9716b |
%description
|
|
|
c658110 |
PyTables is a package for managing hierarchical datasets and designed
|
|
|
c658110 |
to efficiently and easily cope with extremely large amounts of data.
|
|
|
c658110 |
|
|
|
7852500 |
%package -n python2-tables
|
|
|
7852500 |
Summary: %{summary}
|
|
Orion Poplawski |
871c090 |
|
|
Orion Poplawski |
871c090 |
Requires: numpy
|
|
|
7852500 |
Requires: python2-six
|
|
Orion Poplawski |
871c090 |
Requires: python2-numexpr >= 2.4
|
|
|
7852500 |
%{?python_provide:%python_provide python2-tables}
|
|
Orion Poplawski |
871c090 |
|
|
|
7852500 |
%description -n python2-tables
|
|
Orion Poplawski |
871c090 |
PyTables is a package for managing hierarchical datasets and designed
|
|
Orion Poplawski |
871c090 |
to efficiently and easily cope with extremely large amounts of data.
|
|
Orion Poplawski |
871c090 |
|
|
|
3fbfdb6 |
This is the version for Python 2.
|
|
|
3fbfdb6 |
|
|
|
7852500 |
%package -n python%{python3_pkgversion}-tables
|
|
|
7852500 |
Summary: %{summary}
|
|
|
c658110 |
|
|
Orion Poplawski |
871c090 |
Requires: python%{python3_pkgversion}-numpy
|
|
|
7852500 |
Requires: python%{python3_pkgversion}-six
|
|
Orion Poplawski |
871c090 |
Requires: python%{python3_pkgversion}-numexpr >= 2.4
|
|
|
7852500 |
%{?python_provide:%python_provide python%{python3_pkgversion}-tables}
|
|
|
718804a |
|
|
|
7852500 |
%description -n python%{python3_pkgversion}-tables
|
|
|
c658110 |
PyTables is a package for managing hierarchical datasets and designed
|
|
Thibault North |
0c9716b |
to efficiently and easily cope with extremely large amounts of data.
|
|
Thibault North |
0c9716b |
|
|
|
c658110 |
This is the version for Python 3.
|
|
|
c658110 |
|
|
|
c658110 |
%package doc
|
|
|
c658110 |
Group: Development/Languages
|
|
|
c658110 |
Summary: Documentation for PyTables
|
|
|
c658110 |
BuildArch: noarch
|
|
Thibault North |
0c9716b |
|
|
Thibault North |
0c9716b |
%description doc
|
|
|
08740b8 |
The %{name}-doc package contains the documentation for %{name}.
|
|
Thibault North |
0c9716b |
|
|
|
c658110 |
%prep
|
|
|
7852500 |
%autosetup -n PyTables-%{version} -p1
|
|
|
7852500 |
cp -a %{SOURCE1} pytablesmanual.pdf
|
|
|
7852500 |
|
|
|
7d02bc2 |
echo "import sys, tables; sys.exit(tables.test(verbose=1))" > bench/check_all.py
|
|
|
7852500 |
|
|
|
08740b8 |
# Make sure we are not using anything from the bundled blosc by mistake
|
|
|
08740b8 |
find c-blosc -mindepth 1 -maxdepth 1 -name hdf5 -prune -o -exec rm -r {} +
|
|
|
08740b8 |
|
|
Thibault North |
0c9716b |
%build
|
|
Orion Poplawski |
871c090 |
%py2_build
|
|
Orion Poplawski |
871c090 |
%py3_build
|
|
|
c658110 |
|
|
Thibault North |
0c9716b |
%install
|
|
Thibault North |
0c9716b |
chmod -x examples/check_examples.sh
|
|
|
06a3fb7 |
sed -i 's|bin/env |bin/|' utils/*
|
|
Thibault North |
0c9716b |
|
|
Orion Poplawski |
871c090 |
%py2_install
|
|
Orion Poplawski |
871c090 |
%py3_install
|
|
|
c658110 |
|
|
Orion Poplawski |
871c090 |
%check
|
|
Orion Poplawski |
871c090 |
export LANG=en_US.UTF-8
|
|
Orion Poplawski |
871c090 |
PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} bench/check_all.py
|
|
Thibault North |
0c9716b |
|
|
Orion Poplawski |
871c090 |
# OOM during tests on s390
|
|
Orion Poplawski |
871c090 |
%ifnarch s390
|
|
Orion Poplawski |
871c090 |
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} bench/check_all.py
|
|
Orion Poplawski |
871c090 |
%endif
|
|
Orion Poplawski |
871c090 |
|
|
|
7852500 |
%files -n python2-tables
|
|
|
15f734c |
%license LICENSE.txt LICENSES
|
|
|
7852500 |
%{python2_sitearch}/tables
|
|
|
7852500 |
%{python2_sitearch}/tables-%{version}*.egg-info
|
|
Thibault North |
0c9716b |
|
|
|
7852500 |
%files -n python%{python3_pkgversion}-tables
|
|
|
15f734c |
%license LICENSE.txt LICENSES
|
|
|
3fbfdb6 |
%{_bindir}/ptdump
|
|
|
3fbfdb6 |
%{_bindir}/ptrepack
|
|
|
3fbfdb6 |
%{_bindir}/pt2to3
|
|
|
3fbfdb6 |
%{_bindir}/pttree
|
|
|
7852500 |
%{python3_sitearch}/tables
|
|
|
7852500 |
%{python3_sitearch}/tables-%{version}*.egg-info
|
|
|
c658110 |
|
|
Thibault North |
0c9716b |
%files doc
|
|
|
15f734c |
%license LICENSE.txt LICENSES
|
|
|
a7b5748 |
%doc pytablesmanual.pdf
|
|
|
15f734c |
%doc [A-KM-Za-z]*.txt
|
|
Thibault North |
0c9716b |
%doc examples/
|
|
Thibault North |
0c9716b |
|
|
Thibault North |
0c9716b |
%changelog
|
|
|
cb1bff1 |
* Mon Nov 07 2016 Than Ngo <than@redhat.com> - 3.3.0-2
|
|
|
cb1bff1 |
- rebuild against new blosc due to big endien issue on s390x/ppc64
|
|
|
cb1bff1 |
|
|
|
7852500 |
* Thu Sep 15 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.3.0-1
|
|
|
7852500 |
- Update to latest upstream version (#1352621)
|
|
|
7852500 |
|
|
|
c2c307a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-6
|
|
|
c2c307a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
c2c307a |
|
|
Orion Poplawski |
871c090 |
* Tue May 17 2016 Orion Poplawski <orion@cora.nwra.com> - 3.2.2-5
|
|
Orion Poplawski |
871c090 |
- Update provides filter
|
|
Orion Poplawski |
871c090 |
- Ship python2 package
|
|
Orion Poplawski |
871c090 |
- Use %%python3_pkgversion for EPEL7 compatibility
|
|
Orion Poplawski |
871c090 |
- Use current python macros
|
|
Orion Poplawski |
871c090 |
|
|
|
d62c8b2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-4
|
|
|
d62c8b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
d62c8b2 |
|
|
Orion Poplawski |
db830d4 |
* Thu Jan 21 2016 Orion Poplawski <orion@cora.nwra.com> - 3.2.2-3
|
|
Orion Poplawski |
db830d4 |
- Rebuild for hdf5 1.8.16
|
|
Orion Poplawski |
db830d4 |
|
|
|
4e3d0c0 |
* Wed Nov 18 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.2-2
|
|
|
4e3d0c0 |
- Make sure numexpr is new enough
|
|
|
4e3d0c0 |
|
|
|
4f513b3 |
* Sat Nov 14 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.2-1
|
|
|
4f513b3 |
- Update to latest version
|
|
|
4f513b3 |
|
|
|
d9ec655 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-4
|
|
|
d9ec655 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
d9ec655 |
|
|
|
80f785a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
|
|
|
80f785a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
80f785a |
|
|
Orion Poplawski |
ac2d71c |
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 3.2.0-2
|
|
Orion Poplawski |
ac2d71c |
- Rebuild for hdf5 1.8.15
|
|
Orion Poplawski |
ac2d71c |
|
|
|
6105a62 |
* Thu May 7 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.0-1
|
|
|
6105a62 |
- Update to 3.2.0
|
|
|
6105a62 |
|
|
|
e181074 |
* Thu Jan 8 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.2-4.git1619180
|
|
|
e181074 |
- Use blosc on all architectures
|
|
|
e181074 |
|
|
|
a7b5748 |
* Thu Jan 8 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.2-3.git1619180
|
|
|
a7b5748 |
- Update to latest snapshot and use external blosc
|
|
|
a7b5748 |
|
|
Orion Poplawski |
81a4ff1 |
* Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 3.1.1-2
|
|
Orion Poplawski |
81a4ff1 |
- Rebuild for hdf5 1.8.14
|
|
Orion Poplawski |
81a4ff1 |
|
|
|
48a0907 |
* Tue Jan 06 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.1.1-1
|
|
|
48a0907 |
- Update to 3.1.1 (#1080889)
|
|
|
48a0907 |
|
|
|
7f8606a |
* Tue Nov 25 2014 Dan Horák <dan[at]danny.cz> - 3.0.0-8
|
|
|
7f8606a |
- workaround OOM during Python3 tests on s390
|
|
|
7f8606a |
|
|
|
feb6934 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-7
|
|
|
feb6934 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
feb6934 |
|
|
|
07862a0 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.0-6
|
|
|
07862a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
07862a0 |
|
|
|
f977c3a |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 3.0.0-5
|
|
|
f977c3a |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
f977c3a |
|
|
|
a3c91d7 |
* Mon Mar 24 2014 Zbigniew Jędrzejewski-Szmek - 3.0.0-4
|
|
|
a3c91d7 |
- Rebuild for latest blosc
|
|
|
a3c91d7 |
|
|
|
718804a |
* Fri Jan 10 2014 Zbigniew Jędrzejewski-Szmek - 3.0.0-3
|
|
|
718804a |
- Move python3 requires to the proper package (#1051691)
|
|
|
718804a |
|
|
|
c658110 |
* Thu Sep 05 2013 Zbigniew Jędrzejewski-Szmek - 3.0.0-2
|
|
|
c658110 |
- Add python3-tables package
|
|
|
c658110 |
|
|
|
c658110 |
* Wed Aug 21 2013 Thibault North <tnorth@fedoraproject.org> - 3.0.0-1
|
|
|
e849b8c |
- Update to 3.0.0
|
|
|
e849b8c |
|
|
|
6fee6f4 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-4
|
|
|
6fee6f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
6fee6f4 |
|
|
|
82343db |
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 2.4.0-3
|
|
|
82343db |
- Rebuild for hdf5 1.8.11
|
|
|
82343db |
|
|
|
87a944e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-2
|
|
|
87a944e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
87a944e |
|
|
|
b042b5f |
* Sun Oct 28 2012 Thibault North <tnorth@fedoraproject.org> - 2.4.0-1
|
|
|
b042b5f |
- Update to 2.4.0
|
|
|
b042b5f |
|
|
|
cefb00f |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-5
|
|
|
cefb00f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
cefb00f |
|
|
|
4f2f950 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4
|
|
|
4f2f950 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4f2f950 |
|
|
Thibault North |
0c9716b |
* Mon Nov 14 2011 Thibault North <tnorth@fedoraproject.org> - 2.3.1-3
|
|
Thibault North |
0c9716b |
- Remove lrucache.py which was deprecated and under AFL license
|
|
Thibault North |
0c9716b |
|
|
|
c658110 |
* Thu Nov 10 2011 Thibault North <tnorth@fedoraproject.org> - 2.3.1-2
|
|
Thibault North |
0c9716b |
- Fixes and subpackage for the docs
|
|
Thibault North |
0c9716b |
|
|
Thibault North |
0c9716b |
* Mon Nov 07 2011 Thibault North <tnorth@fedoraproject.org> - 2.3.1-1
|
|
Thibault North |
0c9716b |
- Fixes and update to 2.3.1
|