Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
python-matplotlib
> python-matplotlib.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-matplotlib.spec of Package python-matplotlib
# # spec file for package python-matplotlib for Mer, based on OpenSuse version # Name: python-matplotlib Version: 1.4.2 Release: 0 Summary: Plotting Library for Python License: Matplotlib Group: Development/Libraries Packager: Roberto Colistete Jr. <matplotlib-devel@lists.sourceforge.net> Url: http://sourceforge.net/projects/matplotlib Source: matplotlib-%{version}.tar.gz Source1: matplotlib-setup.cfg # For Qt : # Source2: matplotlibplugin.py # Source3: matplotlibwidget.py Patch0: use-setuptools.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: libpng-devel BuildRequires: python-numpy-devel >= 1.6.0 BuildRequires: python-pyparsing BuildRequires: python-six >= 1.3 BuildRequires: python-setuptools Requires: python >= %{py_ver} Requires: python-numpy >= 1.6.0 Requires: python-pyparsing ## webagg backend Requires: python-tornado ## These packages are required to prevent that matplotlib installs it's ## own versions of the packages from the lib directory BuildRequires: python-dateutil BuildRequires: python-tz Requires: python-dateutil Requires: python-pytz %description MatPlotLib is a Python based plotting system in a style similar to Matlab Matplotlib is a pure Python plotting library designed to bring publication quality plotting to Python with a syntax familiar to Matlab users. All of the plotting commands in the pylab interface can be accessed either via a functional interface familiar to Matlab users or an object oriented interface familiar to Python users. %prep %setup -q -n matplotlib-%{version} %patch0 chmod -x lib/matplotlib/mpl-data/images/*.svg chmod -R 664 examples/*/*.py %build cp %{SOURCE1} ./setup.cfg python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} %fdupes %{buildroot}%{py_sitedir}/matplotlib/tests/baseline_images/ %files %defattr(-,root,root,-) %doc README.rst LICENSE CHANGELOG PKG-INFO examples doc/users/license.rst %{py_sitedir}/matplotlib/ %{py_sitedir}/matplotlib-%{version}_r0-py%{py_ver}.egg-info %{py_sitedir}/matplotlib-%{version}_r0-py%{py_ver}-nspkg.pth %{py_sitedir}/mpl_toolkits/ %{py_sitedir}/pylab.py* %changelog