Name: python-matplotlib Version: 1.5.1 Release: 1mamba Summary: Python plotting library Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://matplotlib.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-%{version}/matplotlib-%{version}.tar.gz Source1: python-matplotlib-1.0.1-setup.cfg License: Python ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libpango-devel BuildRequires: libpng-devel BuildRequires: libpython-devel BuildRequires: libpython27-devel BuildRequires: libstdc++6-devel BuildRequires: libtcl-devel BuildRequires: libtk-devel ## AUTOBUILDREQ-END BuildRequires: pygtk-devel BuildRequires: python-tk BuildRequires: wxPython # BuildRequires: PyQt # BuildRequires: PyQt4-devel Requires: dejavu-fonts-ttf Requires: python-dateutil Requires: python-numpy Requires: python-tz Requires: py2cairo Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root #basedirlist is: ['/usr/local', '/usr'] #============================================================================ #BUILDING MATPLOTLIB # matplotlib: 1.0.1 # python: 2.6.6 (r266:84292, Nov 11 2010, 12:17:58) [GCC # 4.5.1] # platform: linux2 #REQUIRED DEPENDENCIES # numpy: 1.5.1 # freetype2: 12.2.6 #OPTIONAL BACKEND DEPENDENCIES # libpng: 1.4.5 # Tkinter: Tkinter: 73770, Tk: 8.5, Tcl: 8.5 #/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning) # Gtk+: gtk+: 2.22.1, glib: 2.27.5, pygtk: 2.22.0, # pygobject: 2.26.0 # Qt: no # Qt4: no # Cairo: 1.8.10 #OPTIONAL DATE/TIMEZONE DEPENDENCIES # datetime: present, version unknown # dateutil: 1.4.1 # pytz: 2010l #OPTIONAL USETEX DEPENDENCIES # dvipng: 1.5 # ghostscript: 8.71 # latex: 3.141592 # pdftops: 0.14.0 #[Edit setup.cfg to suppress the above messages] #============================================================================ %description Matplotlib is a python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. Matplotlib can be used in python scripts, the python and ipython shell (ala MATLAB®* or Mathematica®†), web application servers, and six graphical user interface toolkits. %prep %setup -q -n matplotlib-%{version} chmod -x lib/matplotlib/mpl-data/images/*.svg cp %{SOURCE1} ./setup.cfg %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} chmod +x %{buildroot}%{python_sitearch}/matplotlib/dates.py rm -rf %{buildroot}%{python_sitearch}/matplotlib/mpl-data/fonts %files %defattr(-,root,root) %{python_sitearch}/*.py* %dir %{python_sitearch}/matplotlib %{python_sitearch}/matplotlib/* %dir %{python_sitearch}/mpl_toolkits %{python_sitearch}/mpl_toolkits/* %{python27_sitearch}/matplotlib-%{version}.post0-py* %doc LICENSE/LICENSE LICENSE/LICENSE_enthought.txt %changelog * Mon Jan 11 2016 Automatic Build System 1.5.1-1mamba - automatic version update by autodist * Mon Nov 23 2015 Automatic Build System 1.5.0-1mamba - automatic version update by autodist * Sat Feb 21 2015 Automatic Build System 1.4.3-1mamba - automatic version update by autodist * Sun Oct 26 2014 Automatic Build System 1.4.2-1mamba - automatic version update by autodist * Thu Sep 18 2014 Automatic Build System 1.4.0-1mamba - automatic version update by autodist * Fri Jul 18 2014 Silvan Calarco 1.3.1-1mamba - update to 1.3.1 * Sun Feb 06 2011 gil 1.0.1-1mamba - package created by autospec