Initial import to Fedora
This commit is contained in:
parent
2392e5c3a2
commit
d9d660b4a6
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/pandas-0.8.1.tar.gz
|
61
python-pandas.spec
Normal file
61
python-pandas.spec
Normal file
@ -0,0 +1,61 @@
|
||||
%{!?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.8.1
|
||||
Release: 2%{?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
|
||||
* 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user