Search
SailfishOS Open Build Service
>
Projects
>
home:wrzof
>
python3-matplotlib
> python3-matplotlib.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-matplotlib.spec of Package python3-matplotlib
# # spec file for package python3-matplotlib for Mer, based on OpenSuse version # Name: python3-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: python3-numpy-devel >= 1.6.0 BuildRequires: python3-pyparsing BuildRequires: python3-six #BuildRequires: python3-setuptools Requires: python3-base Requires: python3-numpy >= 1.6.0 Requires: python3-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: python3-dateutil BuildRequires: python3-tz Requires: python3-dateutil Requires: python3-pytz %define py_sitedir %{_libdir}/python3.?/site-packages %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 python3 setup.py build %install python3 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*.egg-info %{py_sitedir}/matplotlib-%{version}_r0-py*-nspkg.pth %{py_sitedir}/mpl_toolkits/ %{py_sitedir}/pylab.py* %{py_sitedir}/__pycache__ %changelog