2014-04-04 06:04:44 +00:00
|
|
|
%global with_python3 1
|
2015-03-24 10:23:45 +00:00
|
|
|
%global pkgname pandas
|
2012-08-30 06:53:02 +00:00
|
|
|
|
|
|
|
Name: python-pandas
|
2015-03-24 10:23:45 +00:00
|
|
|
Version: 0.16.0
|
|
|
|
Release: 1%{?dist}
|
2012-08-30 06:53:02 +00:00
|
|
|
Summary: Python library providing high-performance data analysis tools
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
License: BSD
|
|
|
|
URL: http://pandas.pydata.org/
|
|
|
|
Source0: http://pypi.python.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
|
|
|
|
2014-04-04 06:04:44 +00:00
|
|
|
BuildRequires: python2-devel, python-setuptools, python-matplotlib
|
|
|
|
BuildRequires: Cython
|
2012-08-30 06:53:02 +00:00
|
|
|
Requires: pytz
|
2015-01-20 12:28:00 +00:00
|
|
|
# pandas actually supports datautil 2
|
2015-01-19 23:13:37 +00:00
|
|
|
# https://github.com/pydata/pandas/issues/9305
|
2015-01-20 12:28:00 +00:00
|
|
|
Requires: python-dateutil
|
2012-08-30 06:53:02 +00:00
|
|
|
Requires: numpy
|
|
|
|
Requires: scipy
|
2012-12-24 09:47:10 +00:00
|
|
|
Requires: python-tables
|
|
|
|
Requires: python-matplotlib
|
2013-12-11 09:12:09 +00:00
|
|
|
Requires: python-Bottleneck
|
2013-09-23 10:28:26 +00:00
|
|
|
Requires: python-numexpr
|
2012-08-30 06:53:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
pandas is an open source, BSD-licensed library providing
|
|
|
|
high-performance, easy-to-use data structures and data
|
|
|
|
analysis tools for the Python programming language.
|
|
|
|
|
2014-04-04 06:04:44 +00:00
|
|
|
%if 0%{?with_python3}
|
|
|
|
%package -n python3-pandas
|
|
|
|
Summary: Python library providing high-performance data analysis tools
|
|
|
|
BuildRequires: python3-devel, python3-setuptools, python3-matplotlib
|
|
|
|
BuildRequires: python3-Cython
|
|
|
|
Requires: python3-pytz
|
2015-01-20 12:28:00 +00:00
|
|
|
Requires: python3-dateutil
|
2014-04-04 06:04:44 +00:00
|
|
|
Requires: python3-numpy
|
|
|
|
Requires: python3-scipy
|
|
|
|
Requires: python3-tables
|
|
|
|
Requires: python3-matplotlib
|
|
|
|
Requires: python3-Bottleneck
|
|
|
|
Requires: python3-numexpr
|
|
|
|
|
|
|
|
%description -n python3-pandas
|
|
|
|
pandas is an open source, BSD-licensed library providing
|
|
|
|
high-performance, easy-to-use data structures and data
|
|
|
|
analysis tools for the Python programming language.
|
|
|
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
2012-08-30 06:53:02 +00:00
|
|
|
%prep
|
2015-03-24 10:23:45 +00:00
|
|
|
%setup -qc -n %{pkgname}-%{version}
|
|
|
|
mv %{pkgname}-%{version} python2
|
|
|
|
pushd python2
|
|
|
|
# Common docs
|
|
|
|
cp -a LICENSE RELEASE.md ../
|
|
|
|
popd
|
2012-08-30 06:53:02 +00:00
|
|
|
|
2014-04-04 06:04:44 +00:00
|
|
|
%if 0%{?with_python3}
|
2015-03-24 10:23:45 +00:00
|
|
|
cp -a python2 python3
|
|
|
|
find python3 -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
2014-04-04 06:04:44 +00:00
|
|
|
%endif # with_python3
|
2012-08-30 06:53:02 +00:00
|
|
|
|
2015-03-24 10:23:45 +00:00
|
|
|
find python2 -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|'
|
|
|
|
|
2014-04-04 06:04:44 +00:00
|
|
|
%build
|
2015-03-24 10:23:45 +00:00
|
|
|
pushd python2
|
2014-04-04 06:04:44 +00:00
|
|
|
CFLAGS=$RPM_OPT_FLAGS %{__python2} setup.py build
|
2015-03-24 10:23:45 +00:00
|
|
|
popd
|
2012-08-30 06:53:02 +00:00
|
|
|
|
2014-04-04 06:04:44 +00:00
|
|
|
%if 0%{?with_python3}
|
2015-03-24 10:23:45 +00:00
|
|
|
pushd python3
|
2014-04-04 06:04:44 +00:00
|
|
|
CFLAGS=$RPM_OPT_FLAGS %{__python3} setup.py build
|
|
|
|
popd
|
|
|
|
%endif # with_python3
|
2012-08-30 06:53:02 +00:00
|
|
|
|
|
|
|
|
2014-04-04 06:04:44 +00:00
|
|
|
%install
|
|
|
|
%if 0%{?with_python3}
|
2015-03-24 10:23:45 +00:00
|
|
|
pushd python3
|
2014-04-04 06:04:44 +00:00
|
|
|
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
popd
|
|
|
|
%endif # with_python3
|
2012-08-30 06:53:02 +00:00
|
|
|
|
2015-03-24 10:23:45 +00:00
|
|
|
pushd python2
|
2014-04-04 06:04:44 +00:00
|
|
|
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
2015-03-24 10:23:45 +00:00
|
|
|
popd
|
2012-08-30 06:53:02 +00:00
|
|
|
|
|
|
|
%files
|
2015-03-24 10:23:45 +00:00
|
|
|
%doc RELEASE.md
|
|
|
|
%license LICENSE
|
2014-04-04 06:04:44 +00:00
|
|
|
%{python2_sitearch}/pandas*
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%files -n python3-pandas
|
2015-03-24 10:23:45 +00:00
|
|
|
%doc RELEASE.md
|
|
|
|
%license LICENSE
|
2014-04-04 06:04:44 +00:00
|
|
|
%{python3_sitearch}/pandas*
|
|
|
|
%endif # with_python3
|
|
|
|
|
2012-08-30 06:53:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-03-24 10:23:45 +00:00
|
|
|
* Tue Mar 24 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.16.0-1
|
|
|
|
- New release of pandas 0.16.0
|
|
|
|
- Use license macro
|
|
|
|
- Don't use py3dir (ne python guidelines)
|
|
|
|
|
2015-01-20 12:28:00 +00:00
|
|
|
* Tue Jan 20 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-3
|
|
|
|
- Pandas actually supports dateutil 2
|
|
|
|
|
2015-01-19 23:13:37 +00:00
|
|
|
* Mon Jan 19 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-2
|
2015-01-20 12:28:00 +00:00
|
|
|
- Update dependency on dateutil to dateutil15 (bz #1183368)
|
2015-01-19 23:13:37 +00:00
|
|
|
|
2014-12-16 23:21:52 +00:00
|
|
|
* Wed Dec 17 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-1
|
|
|
|
- New release of pandas 0.15.2
|
|
|
|
|
2014-11-20 22:16:00 +00:00
|
|
|
* Thu Nov 20 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.1-1
|
|
|
|
- New release of pandas 0.15.1
|
|
|
|
|
2014-10-20 09:15:46 +00:00
|
|
|
* Mon Oct 20 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.0-1
|
|
|
|
- New release of pandas 0.15.0
|
|
|
|
|
2014-08-17 21:30:23 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-13 21:43:10 +00:00
|
|
|
* Sun Jul 13 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.1-1
|
|
|
|
- New release of pandas 0.14.1
|
|
|
|
|
2014-06-17 12:06:00 +00:00
|
|
|
* Mon Jun 16 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.0-1
|
|
|
|
- New release of pandas 0.14.0
|
|
|
|
|
2014-06-07 21:53:57 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-16 14:20:06 +00:00
|
|
|
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.12.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2014-04-04 06:04:44 +00:00
|
|
|
* Tue Jan 28 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.12.0-4
|
|
|
|
- Enable python3 build
|
|
|
|
- Set CFLAGS before build
|
|
|
|
|
2013-12-11 09:12:09 +00:00
|
|
|
* Fri Dec 13 2013 Kushal Das <kushal@fedoraproject.org> 0.12.0-3
|
|
|
|
- Fixed dependency name
|
|
|
|
|
2013-12-06 08:47:43 +00:00
|
|
|
* Fri Dec 06 2013 Pierre-Yves Chibon <pingou@pingoured>fr - 0.12.0-2
|
|
|
|
- Change BR from python-setuptools-devel to python-setuptools
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel
|
|
|
|
|
2013-09-23 10:28:26 +00:00
|
|
|
* Fri Sep 20 2013 Kushal Das <kushal@fedoraproject.org> 0.12.0-1
|
|
|
|
- New release of pandas 0.12.0
|
|
|
|
|
2013-08-04 08:53:08 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 20:01:38 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-24 09:47:10 +00:00
|
|
|
* Mon Dec 24 2012 Kushal Das <kushal@fedoraproject.org> 0.10.0-1
|
|
|
|
- New release of pandas 0.10.0
|
|
|
|
|
|
|
|
* Thu Nov 08 2012 Kushal Das <kushal@fedoraproject.org> 0.10.0-1
|
|
|
|
- New release of pandas 0.10.0
|
|
|
|
|
2012-11-08 06:49:11 +00:00
|
|
|
* Thu Nov 08 2012 Kushal Das <kushal@fedoraproject.org> 0.9-1
|
|
|
|
- New release of pandas
|
|
|
|
|
2012-08-30 06:53:02 +00:00
|
|
|
* Fri Aug 03 2012 Kushal Das <kushal@fedoraproject.org> 0.8.1-2
|
|
|
|
- Fixes from review request
|
|
|
|
|
|
|
|
* Tue Jul 10 2012 Kushal Das <kushal@fedoraproject.org> 0.8.1-1
|
|
|
|
- Initial release in Fedora
|
|
|
|
|