Package python-module-pandas: Specfile
%define oname pandas Name: python-module-%oname Version: 0.10.1 Release: alt1 Summary: Python Data Analysis Library License: BSD Group: Development/Python Url: http://pandas.pydata.org/ Source: %name-%version.tar BuildRequires(pre): rpm-build-python BuildPreReq: libnumpy-devel python-module-Cython BuildPreReq: python-module-sphinx-devel python-module-json ipython %setup_python_module %oname %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. %package tests Summary: Tests for pandas Group: Development/Python Requires: %name = %EVR %description tests 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. This package contains tests for pandas. %package docs Summary: Documentation for pandas Group: Development/Documentation BuildArch: noarch %description docs 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. This package contains documentation for pandas. %prep %setup %prepare_sphinx doc ln -s ../objects.inv doc/source/ sed -i 's|@PYPATH@|%buildroot%python_sitelibdir|' doc/make.py %build %add_optflags -fno-strict-aliasing %python_build_debug %install %python_install pushd doc ./make.py html popd %files %python_sitelibdir/* %exclude %python_sitelibdir/*/tests %exclude %python_sitelibdir/*/*/test* %files tests %python_sitelibdir/*/tests %python_sitelibdir/*/*/test* %files docs %doc doc/build/html %doc examples %changelog * Wed Apr 03 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.1-alt1 - Initial build for Sisyphus |