Igor Gnatenko 7d7843f
%global srcname pandas
Igor Gnatenko 7d7843f
Orion Poplawski 4aa4cd2
%if 0%{?fedora}
Igor Gnatenko 7d7843f
%bcond_without python3
Igor Gnatenko 7d7843f
%else
Igor Gnatenko 7d7843f
%bcond_with python3
Orion Poplawski 4aa4cd2
%endif
d9d660b
Igor Gnatenko 7d7843f
Name:           python-%{srcname}
Sergio Pascual f8211cb
Version:        0.19.1
b0b063c
Release:        2%{?dist}
d9d660b
Summary:        Python library providing high-performance data analysis tools
d9d660b
d9d660b
License:        BSD
d9d660b
URL:            http://pandas.pydata.org/
Sergio Pascual 8aaf409
Source0:        https://pypi.io/packages/source/p/pandas/%{srcname}-%{version}.tar.gz
Igor Gnatenko 7d7843f
Igor Gnatenko 7d7843f
%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$
Igor Gnatenko 7d7843f
Igor Gnatenko 7d7843f
%description
Igor Gnatenko 7d7843f
pandas is an open source, BSD-licensed library providing
Igor Gnatenko 7d7843f
high-performance, easy-to-use data structures and data
Igor Gnatenko 7d7843f
analysis tools for the Python programming language.
Igor Gnatenko 7d7843f
Igor Gnatenko 7d7843f
%package -n python2-%{srcname}
Igor Gnatenko 7d7843f
Summary:        Python library providing high-performance data analysis tools
Igor Gnatenko 7d7843f
BuildRequires:  python2-devel
Igor Gnatenko 7d7843f
BuildRequires:  python2-setuptools
Igor Gnatenko 7d7843f
BuildRequires:  python2-matplotlib
Igor Gnatenko 7d7843f
BuildRequires:  python2-Cython
Igor Gnatenko 7d7843f
Requires:       python2-pytz
Igor Gnatenko 7d7843f
Requires:       python2-dateutil
Igor Gnatenko 7d7843f
Requires:       python2-numpy
Igor Gnatenko 7d7843f
Requires:       python2-scipy
Igor Gnatenko 1ba5ace
# TODO: fix that package to provide python2-tables
Sergio Pascual 8746c94
Requires:       python2-tables
Igor Gnatenko 7d7843f
Requires:       python2-matplotlib
Igor Gnatenko 7d7843f
Requires:       python2-Bottleneck
Igor Gnatenko 7d7843f
Requires:       python2-numexpr
Sergio Pascual bccf76a
%if 0%{?fedora}
Sergio Pascual 8746c94
Recommends:     python2-pandas-datareader
Igor Gnatenko 7d7843f
Recommends:     python2-xlrd
Igor Gnatenko 7d7843f
Recommends:     python2-xlwt
Sergio Pascual bccf76a
%endif
Sergio Pascual f1a117a
Sergio Pascual f1a117a
%{?python_provide:%python_provide python2-%{srcname}}
Orion Poplawski 9ef72d0
Igor Gnatenko 7d7843f
%description -n python2-%{srcname}
Igor Gnatenko 7d7843f
pandas is an open source, BSD-licensed library providing
Igor Gnatenko 7d7843f
high-performance, easy-to-use data structures and data
d9d660b
analysis tools for the Python programming language.
d9d660b
Igor Gnatenko 7d7843f
Python 2 version.
Igor Gnatenko 7d7843f
Kushal Das 751e520
%if 0%{?with_python3}
Igor Gnatenko 7d7843f
%package -n python3-%{srcname}
Kushal Das 751e520
Summary:        Python library providing high-performance data analysis tools
Igor Gnatenko 7d7843f
BuildRequires:  python3-devel
Igor Gnatenko 7d7843f
BuildRequires:  python3-setuptools
Igor Gnatenko 7d7843f
BuildRequires:  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 8746c94
Recommends:     python3-pandas-datareader
Sergio Pascual bccf76a
Recommends:     python3-xlrd
Sergio Pascual f1a117a
Recommends:     python3-xlwt
Sergio Pascual bccf76a
%endif
Kushal Das 751e520
Sergio Pascual f1a117a
%{?python_provide:%python_provide python3-%{srcname}}
Sergio Pascual f1a117a
Igor Gnatenko 7d7843f
%description -n python3-%{srcname}
Igor Gnatenko 7d7843f
pandas is an open source, BSD-licensed library providing
Igor Gnatenko 7d7843f
high-performance, easy-to-use data structures and data
Kushal Das 751e520
analysis tools for the Python programming language.
Kushal Das 751e520
Igor Gnatenko 7d7843f
Python 3 version.
Kushal Das 751e520
%endif # with_python3
Kushal Das 751e520
d9d660b
%prep
Igor Gnatenko 7d7843f
%autosetup -n %{srcname}-%{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
Kushal Das 751e520
%install
Igor Gnatenko 7d7843f
%py2_install
Igor Gnatenko 7d7843f
Kushal Das 751e520
%if 0%{?with_python3}
Orion Poplawski 9ef72d0
%py3_install
Kushal Das 751e520
%endif # with_python3
d9d660b
Igor Gnatenko 7d7843f
%files -n python2-%{srcname}
Sergio Pascual d99edfb
%doc RELEASE.md
Sergio Pascual d99edfb
%license LICENSE
Igor Gnatenko 7d7843f
%{python2_sitearch}/%{srcname}*
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
Igor Gnatenko 7d7843f
%{python3_sitearch}/%{srcname}*
Kushal Das 751e520
%endif # with_python3
Kushal Das 751e520
d9d660b
%changelog
b0b063c
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.19.1-2
b0b063c
- Rebuild for Python 3.6
b0b063c
Sergio Pascual f8211cb
* Wed Nov 09 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.19.1-1
Sergio Pascual f8211cb
- New upstream version (0.19.1)
Sergio Pascual f8211cb
Sergio Pascual 8746c94
* Wed Oct 19 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.19.0-1
Sergio Pascual 8746c94
- New upstream version (0.19.0)
Sergio Pascual 8746c94
- Brings pandas-datareader using recommends
Sergio Pascual 8746c94
edb5ece
* Sat Oct 15 2016 Peter Robinson <pbrobinson@fedoraproject.org> - 0.18.1-3
edb5ece
- rebuilt for matplotlib-2.0.0
edb5ece
bb74a92
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.1-2
bb74a92
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
bb74a92
Sergio Pascual 8aaf409
* Wed Jul 13 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.18.1-1
Sergio Pascual 8aaf409
- New upstream version (0.18.1)
Sergio Pascual 8aaf409
- Update pypi url
Sergio Pascual 8aaf409
Igor Gnatenko 1ba5ace
* Sat Apr 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.18.0-3
Igor Gnatenko 1ba5ace
- Fix broken deps
Igor Gnatenko 1ba5ace
Igor Gnatenko 7d7843f
* Sat Apr 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.18.0-2
Igor Gnatenko 7d7843f
- Fix python_provide macros usage (FTBFS for some packages)
Igor Gnatenko 7d7843f
Sergio Pascual f1a117a
* Wed Mar 30 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.18.0-1
Sergio Pascual f1a117a
- New upstream version (0.18.0)
Sergio Pascual f1a117a
793350a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.1-2
793350a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
793350a
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