update to 1.3.1 [release 1.3.1-1mamba;Fri Jul 18 2014]
This commit is contained in:
parent
c4b96e7d16
commit
0d24ffa2e4
@ -1,2 +1,7 @@
|
||||
# python-matplotlib
|
||||
|
||||
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.
|
||||
|
||||
|
83
python-matplotlib-1.0.1-setup.cfg
Normal file
83
python-matplotlib-1.0.1-setup.cfg
Normal file
@ -0,0 +1,83 @@
|
||||
# Rename this file to setup.cfg to modify matplotlib's
|
||||
# build options.
|
||||
|
||||
[egg_info]
|
||||
tag_svn_revision = 1
|
||||
|
||||
[directories]
|
||||
# Uncomment to override the default basedir in setupext.py.
|
||||
# This can be a single directory or a space-delimited list of directories.
|
||||
#basedirlist = /usr
|
||||
|
||||
[status]
|
||||
# To suppress display of the dependencies and their versions
|
||||
# at the top of the build log, uncomment the following line:
|
||||
#suppress = True
|
||||
#
|
||||
# Uncomment to insert lots of diagnostic prints in extension code
|
||||
#verbose = True
|
||||
|
||||
[provide_packages]
|
||||
# By default, matplotlib checks for a few dependencies and
|
||||
# installs them if missing. This feature can be turned off
|
||||
# by uncommenting the following lines. Acceptible values are:
|
||||
# True: install, overwrite an existing installation
|
||||
# False: do not install
|
||||
# auto: install only if the package is unavailable. This
|
||||
# is the default behavior
|
||||
#
|
||||
## Date/timezone support:
|
||||
#pytz = False
|
||||
#dateutil = False
|
||||
|
||||
[gui_support]
|
||||
# Matplotlib supports multiple GUI toolkits, including Cocoa,
|
||||
# GTK, Fltk, MacOSX, Qt, Qt4, Tk, and WX. Support for many of
|
||||
# these toolkits requires AGG, the Anti-Grain Geometry library,
|
||||
# which is provided by matplotlib and built by default.
|
||||
#
|
||||
# Some backends are written in pure Python, and others require
|
||||
# extension code to be compiled. By default, matplotlib checks
|
||||
# for these GUI toolkits during installation and, if present,
|
||||
# compiles the required extensions to support the toolkit. GTK
|
||||
# support requires the GTK runtime environment and PyGTK. Wx
|
||||
# support requires wxWidgets and wxPython. Tk support requires
|
||||
# Tk and Tkinter. The other GUI toolkits do not require any
|
||||
# extension code, and can be used as long as the libraries are
|
||||
# installed on your system.
|
||||
#
|
||||
# You can uncomment any the following lines if you know you do
|
||||
# not want to use the GUI toolkit. Acceptible values are:
|
||||
# True: build the extension. Exits with a warning if the
|
||||
# required dependencies are not available
|
||||
# False: do not build the extension
|
||||
# auto: build if the required dependencies are available,
|
||||
# otherwise skip silently. This is the default
|
||||
# behavior
|
||||
#
|
||||
gtk = True
|
||||
gtkagg = True
|
||||
tkagg = True
|
||||
wxagg = False
|
||||
macosx = False
|
||||
|
||||
[rc_options]
|
||||
# User-configurable options
|
||||
#
|
||||
# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg, GTKCairo,
|
||||
# FltkAgg, MacOSX, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
|
||||
#
|
||||
# The Agg, Ps, Pdf and SVG backends do not require external
|
||||
# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, TkAgg or WXAgg
|
||||
# if you have disabled the relevent extension modules. Agg will be used
|
||||
# by default.
|
||||
#
|
||||
backend = GTKAgg
|
||||
#
|
||||
# The numerix module was historically used to provide
|
||||
# compatibility between the Numeric, numarray, and NumPy array
|
||||
# packages. Now that NumPy has emerge as the universal array
|
||||
# package for python, numerix is not really necessary and is
|
||||
# maintained to provide backward compatibility. Do not change
|
||||
# this unless you have a compelling reason to do so.
|
||||
numerix = numpy
|
161
python-matplotlib.spec
Normal file
161
python-matplotlib.spec
Normal file
@ -0,0 +1,161 @@
|
||||
Name: python-matplotlib
|
||||
Version: 1.3.1
|
||||
Release: 1mamba
|
||||
Summary: Python plotting library
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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}/matplotlib-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitearch}/*.py*
|
||||
%dir %{python_sitearch}/matplotlib
|
||||
%{python_sitearch}/matplotlib/*.py*
|
||||
%{python_sitearch}/matplotlib/_cntr.so
|
||||
%{python_sitearch}/matplotlib/_delaunay.so
|
||||
%{python_sitearch}/matplotlib/_image.so
|
||||
%{python_sitearch}/matplotlib/_path.so
|
||||
%{python_sitearch}/matplotlib/_png.so
|
||||
%{python_sitearch}/matplotlib/_tri.so
|
||||
%{python_sitearch}/matplotlib/ft2font.so
|
||||
#%{python_sitearch}/matplotlib/nxutils.so
|
||||
%{python_sitearch}/matplotlib/ttconv.so
|
||||
%dir %{python_sitearch}/matplotlib/backends
|
||||
%{python_sitearch}/matplotlib/backends/_backend_agg.so
|
||||
%{python_sitearch}/matplotlib/backends/_backend_gdk.so
|
||||
%{python_sitearch}/matplotlib/backends/_gtkagg.so
|
||||
%{python_sitearch}/matplotlib/backends/_tkagg.so
|
||||
%{python_sitearch}/matplotlib/backends/*.py*
|
||||
%dir %{python_sitearch}/matplotlib/backends/Matplotlib.nib
|
||||
%{python_sitearch}/matplotlib/backends/Matplotlib.nib/*.nib
|
||||
%dir %{python_sitearch}/matplotlib/backends/qt4_editor
|
||||
%{python_sitearch}/matplotlib/backends/qt4_editor/*.py*
|
||||
%dir %{python_sitearch}/matplotlib/backends/web_backend
|
||||
%{python_sitearch}/matplotlib/backends/web_backend/*
|
||||
%dir %{python_sitearch}/matplotlib/compat
|
||||
%{python_sitearch}/matplotlib/compat/*
|
||||
%{python_sitearch}/matplotlib/delaunay
|
||||
%{python_sitearch}/matplotlib/mpl-data
|
||||
#%{python_sitearch}/matplotlib/numerix
|
||||
%{python_sitearch}/matplotlib/projections
|
||||
%{python_sitearch}/matplotlib/sphinxext
|
||||
%{python_sitearch}/matplotlib/testing
|
||||
%{python_sitearch}/matplotlib/tests
|
||||
%{python_sitearch}/matplotlib/tri
|
||||
%{python_sitearch}/matplotlib-*-nspkg.pth
|
||||
%dir %{python_sitearch}/matplotlib-*.egg-info
|
||||
%{python_sitearch}/matplotlib-*.egg-info/*
|
||||
%dir %{python_sitearch}/mpl_toolkits
|
||||
%{python_sitearch}/mpl_toolkits/*.py*
|
||||
%{python_sitearch}/mpl_toolkits/axes_grid
|
||||
%{python_sitearch}/mpl_toolkits/axes_grid1
|
||||
%{python_sitearch}/mpl_toolkits/axisartist
|
||||
%{python_sitearch}/mpl_toolkits/mplot3d
|
||||
%doc LICENSE/LICENSE LICENSE/LICENSE_enthought.txt
|
||||
|
||||
%changelog
|
||||
* Fri Jul 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
|
||||
- update to 1.3.1
|
||||
|
||||
* Sun Feb 06 2011 gil <puntogil@libero.it> 1.0.1-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user