# HG changeset patch # User Christophe Lincoln # Date 1253649953 -7200 # Node ID 90fa5e62d1abcd127a415c84ec51e00f41249f10 # Parent 5a780c98c23bf74669769af69f53dab3d1735cb7 Fix: matplotlib config, build and update to 0.99.1 diff -r 5a780c98c23b -r 90fa5e62d1ab matplotlib/receipt --- a/matplotlib/receipt Tue Sep 22 21:44:06 2009 +0200 +++ b/matplotlib/receipt Tue Sep 22 22:05:53 2009 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="matplotlib" -VERSION="0.98.3" +VERSION="0.99.1" CATEGORY="graphics" SHORT_DESC="2D plotting library for the Python." MAINTAINER="pascal.bellard@slitaz.org" @@ -10,13 +10,15 @@ WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="python zlib libpng freetype python-numpy gtk+ expat xorg-libXau \ xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ -xorg-libXinerama xorg-libXrandr xorg-libXrender" -BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy" +xorg-libXinerama xorg-libXrandr xorg-libXrender pygtk" +BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy \ +pygtk-dev" # Rules to configure and make the package. compile_rules() { cd $src + cp -a ../stuff/setup.cfg . python setup.py build python setup.py install --root=$PWD/_pkg } diff -r 5a780c98c23b -r 90fa5e62d1ab matplotlib/stuff/setup.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/matplotlib/stuff/setup.cfg Tue Sep 22 22:05:53 2009 +0200 @@ -0,0 +1,79 @@ +# Rename this file to setup.cfg to modify matplotlib's +# build options. + +[egg_info] +tag_svn_revision = 1 + +[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 = True +dateutil = True + + +[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 = False +gtkagg = True +tkagg = False +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