65 lines
1.6 KiB
RPMSpec
65 lines
1.6 KiB
RPMSpec
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
%{?filter_setup:
|
|
%filter_provides_in %{python_sitearch}.*\.so$
|
|
%filter_setup
|
|
}
|
|
|
|
|
|
Name: python-pandas
|
|
Version: 0.9.0
|
|
Release: 1%{?dist}
|
|
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
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: python-devel, python-setuptools-devel, python-matplotlib
|
|
Requires: pytz
|
|
Requires: python-dateutil
|
|
Requires: numpy
|
|
Requires: scipy
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n pandas-%{version}
|
|
sed -i -e "s|#!/usr/bin/env python||" pandas/setup.py
|
|
|
|
|
|
%build
|
|
%{__python} setup.py build
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc PKG-INFO README.rst LICENSE
|
|
%{python_sitearch}/pandas*
|
|
|
|
|
|
%changelog
|
|
* Thu Nov 08 2012 Kushal Das <kushal@fedoraproject.org> 0.9-1
|
|
- New release of pandas
|
|
|
|
* 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
|
|
|