Orion Poplawski 4aa4cd2
%if 0%{?fedora}
Kushal Das 751e520
%global with_python3 1
Orion Poplawski 4aa4cd2
%endif
Sergio Pascual d99edfb
%global pkgname pandas
d9d660b
d9d660b
Name:           python-pandas
Sergio Pascual bccf76a
Version:        0.17.1
Sergio Pascual bccf76a
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
Sergio Pascual 4fabdbe
# pandas actually supports datautil 2
Sergio Pascual f664b2c
# https://github.com/pydata/pandas/issues/9305
Sergio Pascual 4fabdbe
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
Sergio Pascual bccf76a
%if 0%{?fedora}
Sergio Pascual bccf76a
Recommends:     python-xlrd, python-xlwt
Sergio Pascual bccf76a
%endif
Orion Poplawski 9ef72d0
Provides:       python2-%{pkgname} = %{version}-%{release}
Orion Poplawski 9ef72d0
Orion Poplawski 9ef72d0
%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
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
Sergio Pascual 4fabdbe
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
Sergio Pascual bccf76a
%if 0%{?fedora}
Sergio Pascual bccf76a
# python3-xlwt doesn't exist: bz #1282235
Sergio Pascual bccf76a
# openpyxl version is higher than 2.0
Sergio Pascual bccf76a
Recommends:     python3-xlrd
Sergio Pascual bccf76a
%endif
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
Orion Poplawski 9ef72d0
%setup -q -n %{pkgname}-%{version}
Sergio Pascual d99edfb
Kushal Das 751e520
%build
Orion Poplawski 9ef72d0
%py2_build
d9d660b
Kushal Das 751e520
%if 0%{?with_python3}
Orion Poplawski 9ef72d0
%py3_build
Kushal Das 751e520
%endif # with_python3
d9d660b
d9d660b
Kushal Das 751e520
%install
Kushal Das 751e520
%if 0%{?with_python3}
Orion Poplawski 9ef72d0
%py3_install
Kushal Das 751e520
%endif # with_python3
d9d660b
Orion Poplawski 9ef72d0
%py2_install
d9d660b
d9d660b
%files
Sergio Pascual d99edfb
%doc RELEASE.md
Sergio Pascual d99edfb
%license LICENSE
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 d99edfb
%doc RELEASE.md
Sergio Pascual d99edfb
%license LICENSE
Kushal Das 751e520
%{python3_sitearch}/pandas*
Kushal Das 751e520
%endif # with_python3
Kushal Das 751e520
d9d660b
d9d660b
%changelog
Sergio Pascual bccf76a
* Sun Jan 03 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.17.1-1
Sergio Pascual bccf76a
- New upstream version (0.17.1)
Sergio Pascual bccf76a
- Add new dependecy as weak dep (fixes bz #1288919)
Sergio Pascual bccf76a
0c45343
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.0-3
0c45343
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
0c45343
Orion Poplawski 9ef72d0
* Wed Oct 28 2015 Orion Poplawski <orion@cora.nwra.com> - 0.17.0-2
Orion Poplawski 9ef72d0
- Use common build directory, new python macros
Orion Poplawski 9ef72d0
- Filter provides
Orion Poplawski 9ef72d0
- Fix provides
Orion Poplawski 9ef72d0
Sergio Pascual 912f322
* Mon Oct 12 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.17.0-1
Sergio Pascual 912f322
- New release of pandas 0.17.0
Sergio Pascual 912f322
8a5c0a1
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.2-2
8a5c0a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8a5c0a1
Sergio Pascual f729e35
* Mon Jun 15 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.16.2-1
Sergio Pascual f729e35
- New release of pandas 0.16.2
Sergio Pascual f729e35
Sergio Pascual b6d6967
* Mon May 18 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.16.1-1
Sergio Pascual b6d6967
- New release of pandas 0.16.1
Sergio Pascual b6d6967
ee329e1
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.16.0-2
ee329e1
- Rebuilt for GCC 5 C++11 ABI change
ee329e1
Sergio Pascual d99edfb
* Tue Mar 24 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.16.0-1
Sergio Pascual d99edfb
- New release of pandas 0.16.0
Sergio Pascual d99edfb
- Use license macro
Sergio Pascual b6d6967
- Don't use py3dir (new python guidelines)
Sergio Pascual d99edfb
Sergio Pascual 4fabdbe
* Tue Jan 20 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-3
Sergio Pascual 4fabdbe
- Pandas actually supports dateutil 2
Sergio Pascual 4fabdbe
Sergio Pascual f664b2c
* Mon Jan 19 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-2
Sergio Pascual 4fabdbe
- Update dependency on dateutil to dateutil15 (bz #1183368)
Sergio Pascual f664b2c
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