|
Kushal Das |
751e520 |
%global with_python3 1
|
|
Kushal Das |
751e520 |
%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
|
|
|
d9d660b |
|
|
|
d9d660b |
|
|
|
d9d660b |
Name: python-pandas
|
|
Sergio Pascual |
4bfe7d7 |
Version: 0.15.2
|
|
Sergio Pascual |
0f85752 |
Release: 1%{?dist}
|
|
|
d9d660b |
Summary: Python library providing high-performance data analysis tools
|
|
|
d9d660b |
|
|
|
d9d660b |
Group: Development/Languages
|
|
|
d9d660b |
License: BSD
|
|
|
d9d660b |
URL: http://pandas.pydata.org/
|
|
|
d9d660b |
Source0: http://pypi.python.org/packages/source/p/pandas/pandas-%{version}.tar.gz
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
BuildRequires: python2-devel, python-setuptools, python-matplotlib
|
|
Kushal Das |
751e520 |
BuildRequires: Cython
|
|
|
d9d660b |
Requires: pytz
|
|
|
d9d660b |
Requires: python-dateutil
|
|
|
d9d660b |
Requires: numpy
|
|
|
d9d660b |
Requires: scipy
|
|
|
ba4a122 |
Requires: python-tables
|
|
|
ba4a122 |
Requires: python-matplotlib
|
|
|
719642b |
Requires: python-Bottleneck
|
|
|
697aaf5 |
Requires: python-numexpr
|
|
|
d9d660b |
|
|
|
d9d660b |
%description
|
|
|
d9d660b |
pandas is an open source, BSD-licensed library providing
|
|
|
d9d660b |
high-performance, easy-to-use data structures and data
|
|
|
d9d660b |
analysis tools for the Python programming language.
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
%if 0%{?with_python3}
|
|
Kushal Das |
751e520 |
%package -n python3-pandas
|
|
Kushal Das |
751e520 |
Summary: Python library providing high-performance data analysis tools
|
|
Kushal Das |
751e520 |
BuildRequires: python3-devel, python3-setuptools, python3-matplotlib
|
|
Kushal Das |
751e520 |
BuildRequires: python3-Cython
|
|
Kushal Das |
751e520 |
Requires: python3-pytz
|
|
Kushal Das |
751e520 |
Requires: python3-dateutil
|
|
Kushal Das |
751e520 |
Requires: python3-numpy
|
|
Kushal Das |
751e520 |
Requires: python3-scipy
|
|
Kushal Das |
751e520 |
Requires: python3-tables
|
|
Kushal Das |
751e520 |
Requires: python3-matplotlib
|
|
Kushal Das |
751e520 |
Requires: python3-Bottleneck
|
|
Kushal Das |
751e520 |
Requires: python3-numexpr
|
|
Kushal Das |
751e520 |
|
|
Kushal Das |
751e520 |
%description -n python3-pandas
|
|
Kushal Das |
751e520 |
pandas is an open source, BSD-licensed library providing
|
|
Kushal Das |
751e520 |
high-performance, easy-to-use data structures and data
|
|
Kushal Das |
751e520 |
analysis tools for the Python programming language.
|
|
Kushal Das |
751e520 |
|
|
Kushal Das |
751e520 |
%endif # with_python3
|
|
Kushal Das |
751e520 |
|
|
|
d9d660b |
%prep
|
|
|
d9d660b |
%setup -q -n pandas-%{version}
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python2}|'
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
%if 0%{?with_python3}
|
|
Kushal Das |
751e520 |
rm -rf %{py3dir}
|
|
Kushal Das |
751e520 |
cp -a . %{py3dir}
|
|
Kushal Das |
751e520 |
find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
|
|
Kushal Das |
751e520 |
%endif # with_python3
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
%build
|
|
Kushal Das |
751e520 |
CFLAGS=$RPM_OPT_FLAGS %{__python2} setup.py build
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
%if 0%{?with_python3}
|
|
Kushal Das |
751e520 |
pushd %{py3dir}
|
|
Kushal Das |
751e520 |
CFLAGS=$RPM_OPT_FLAGS %{__python3} setup.py build
|
|
Kushal Das |
751e520 |
popd
|
|
Kushal Das |
751e520 |
%endif # with_python3
|
|
|
d9d660b |
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
%install
|
|
Kushal Das |
751e520 |
%if 0%{?with_python3}
|
|
Kushal Das |
751e520 |
pushd %{py3dir}
|
|
Kushal Das |
751e520 |
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
Kushal Das |
751e520 |
popd
|
|
Kushal Das |
751e520 |
%endif # with_python3
|
|
|
d9d660b |
|
|
Kushal Das |
751e520 |
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
d9d660b |
|
|
|
d9d660b |
%files
|
|
Sergio Pascual |
0f85752 |
%doc LICENSE RELEASE.md
|
|
Kushal Das |
751e520 |
%{python2_sitearch}/pandas*
|
|
Kushal Das |
751e520 |
|
|
Kushal Das |
751e520 |
%if 0%{?with_python3}
|
|
Kushal Das |
751e520 |
%files -n python3-pandas
|
|
Sergio Pascual |
0f85752 |
%doc LICENSE RELEASE.md
|
|
Kushal Das |
751e520 |
%{python3_sitearch}/pandas*
|
|
Kushal Das |
751e520 |
%endif # with_python3
|
|
Kushal Das |
751e520 |
|
|
|
d9d660b |
|
|
|
d9d660b |
|
|
|
d9d660b |
%changelog
|
|
Sergio Pascual |
4bfe7d7 |
* Wed Dec 17 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-1
|
|
Sergio Pascual |
4bfe7d7 |
- New release of pandas 0.15.2
|
|
Sergio Pascual |
4bfe7d7 |
|
|
Sergio Pascual |
d8914f5 |
* Thu Nov 20 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.1-1
|
|
Sergio Pascual |
d8914f5 |
- New release of pandas 0.15.1
|
|
Sergio Pascual |
d8914f5 |
|
|
Sergio Pascual |
0f85752 |
* Mon Oct 20 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.0-1
|
|
Sergio Pascual |
0f85752 |
- New release of pandas 0.15.0
|
|
Sergio Pascual |
0f85752 |
|
|
|
3de51bb |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-2
|
|
|
3de51bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
3de51bb |
|
|
Sergio Pascual |
b5eb366 |
* Sun Jul 13 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.1-1
|
|
Sergio Pascual |
b5eb366 |
- New release of pandas 0.14.1
|
|
Sergio Pascual |
b5eb366 |
|
|
Sergio Pascual |
f5c5ff5 |
* Mon Jun 16 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.0-1
|
|
Sergio Pascual |
f5c5ff5 |
- New release of pandas 0.14.0
|
|
Sergio Pascual |
f5c5ff5 |
|
|
|
1720220 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-6
|
|
|
1720220 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1720220 |
|
|
|
6bc67ba |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.12.0-5
|
|
|
6bc67ba |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
6bc67ba |
|
|
Kushal Das |
751e520 |
* Tue Jan 28 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.12.0-4
|
|
Kushal Das |
751e520 |
- Enable python3 build
|
|
Kushal Das |
751e520 |
- Set CFLAGS before build
|
|
Kushal Das |
751e520 |
|
|
|
719642b |
* Fri Dec 13 2013 Kushal Das <kushal@fedoraproject.org> 0.12.0-3
|
|
|
719642b |
- Fixed dependency name
|
|
|
719642b |
|
|
|
7451db7 |
* Fri Dec 06 2013 Pierre-Yves Chibon <pingou@pingoured>fr - 0.12.0-2
|
|
|
7451db7 |
- Change BR from python-setuptools-devel to python-setuptools
|
|
|
7451db7 |
See https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel
|
|
|
7451db7 |
|
|
|
697aaf5 |
* Fri Sep 20 2013 Kushal Das <kushal@fedoraproject.org> 0.12.0-1
|
|
|
697aaf5 |
- New release of pandas 0.12.0
|
|
|
697aaf5 |
|
|
|
b57cf95 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-3
|
|
|
b57cf95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b57cf95 |
|
|
|
cfb26f8 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-2
|
|
|
cfb26f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
cfb26f8 |
|
|
|
ba4a122 |
* Mon Dec 24 2012 Kushal Das <kushal@fedoraproject.org> 0.10.0-1
|
|
|
ba4a122 |
- New release of pandas 0.10.0
|
|
|
ba4a122 |
|
|
|
ba4a122 |
* Thu Nov 08 2012 Kushal Das <kushal@fedoraproject.org> 0.10.0-1
|
|
|
ba4a122 |
- New release of pandas 0.10.0
|
|
|
ba4a122 |
|
|
|
75744e8 |
* Thu Nov 08 2012 Kushal Das <kushal@fedoraproject.org> 0.9-1
|
|
|
75744e8 |
- New release of pandas
|
|
|
75744e8 |
|
|
|
d9d660b |
* Fri Aug 03 2012 Kushal Das <kushal@fedoraproject.org> 0.8.1-2
|
|
|
d9d660b |
- Fixes from review request
|
|
|
d9d660b |
|
|
|
d9d660b |
* Tue Jul 10 2012 Kushal Das <kushal@fedoraproject.org> 0.8.1-1
|
|
|
d9d660b |
- Initial release in Fedora
|
|
|
d9d660b |
|