wok-current rev 4176
Fix: matplotlib config, build and update to 0.99.1
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 22 22:05:53 2009 +0200 (2009-09-22) |
parents | 5a780c98c23b |
children | 7e78fc2f2598 |
files | matplotlib/receipt matplotlib/stuff/setup.cfg |
line diff
1.1 --- a/matplotlib/receipt Tue Sep 22 21:44:06 2009 +0200 1.2 +++ b/matplotlib/receipt Tue Sep 22 22:05:53 2009 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="matplotlib" 1.7 -VERSION="0.98.3" 1.8 +VERSION="0.99.1" 1.9 CATEGORY="graphics" 1.10 SHORT_DESC="2D plotting library for the Python." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -10,13 +10,15 @@ 1.13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 DEPENDS="python zlib libpng freetype python-numpy gtk+ expat xorg-libXau \ 1.15 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ 1.16 -xorg-libXinerama xorg-libXrandr xorg-libXrender" 1.17 -BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy" 1.18 +xorg-libXinerama xorg-libXrandr xorg-libXrender pygtk" 1.19 +BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy \ 1.20 +pygtk-dev" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 cd $src 1.26 + cp -a ../stuff/setup.cfg . 1.27 python setup.py build 1.28 python setup.py install --root=$PWD/_pkg 1.29 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/matplotlib/stuff/setup.cfg Tue Sep 22 22:05:53 2009 +0200 2.3 @@ -0,0 +1,79 @@ 2.4 +# Rename this file to setup.cfg to modify matplotlib's 2.5 +# build options. 2.6 + 2.7 +[egg_info] 2.8 +tag_svn_revision = 1 2.9 + 2.10 +[status] 2.11 +# To suppress display of the dependencies and their versions 2.12 +# at the top of the build log, uncomment the following line: 2.13 +#suppress = True 2.14 +# 2.15 +# Uncomment to insert lots of diagnostic prints in extension code 2.16 +#verbose = True 2.17 + 2.18 +[provide_packages] 2.19 +# By default, matplotlib checks for a few dependencies and 2.20 +# installs them if missing. This feature can be turned off 2.21 +# by uncommenting the following lines. Acceptible values are: 2.22 +# True: install, overwrite an existing installation 2.23 +# False: do not install 2.24 +# auto: install only if the package is unavailable. This 2.25 +# is the default behavior 2.26 +# 2.27 +## Date/timezone support: 2.28 +pytz = True 2.29 +dateutil = True 2.30 + 2.31 + 2.32 +[gui_support] 2.33 +# Matplotlib supports multiple GUI toolkits, including Cocoa, 2.34 +# GTK, Fltk, MacOSX, Qt, Qt4, Tk, and WX. Support for many of 2.35 +# these toolkits requires AGG, the Anti-Grain Geometry library, 2.36 +# which is provided by matplotlib and built by default. 2.37 +# 2.38 +# Some backends are written in pure Python, and others require 2.39 +# extension code to be compiled. By default, matplotlib checks 2.40 +# for these GUI toolkits during installation and, if present, 2.41 +# compiles the required extensions to support the toolkit. GTK 2.42 +# support requires the GTK runtime environment and PyGTK. Wx 2.43 +# support requires wxWidgets and wxPython. Tk support requires 2.44 +# Tk and Tkinter. The other GUI toolkits do not require any 2.45 +# extension code, and can be used as long as the libraries are 2.46 +# installed on your system. 2.47 +# 2.48 +# You can uncomment any the following lines if you know you do 2.49 +# not want to use the GUI toolkit. Acceptible values are: 2.50 +# True: build the extension. Exits with a warning if the 2.51 +# required dependencies are not available 2.52 +# False: do not build the extension 2.53 +# auto: build if the required dependencies are available, 2.54 +# otherwise skip silently. This is the default 2.55 +# behavior 2.56 +# 2.57 +#gtk = False 2.58 +gtkagg = True 2.59 +tkagg = False 2.60 +wxagg = False 2.61 +macosx = False 2.62 + 2.63 +[rc_options] 2.64 +# User-configurable options 2.65 +# 2.66 +# Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg, GTKCairo, 2.67 +# FltkAgg, MacOSX, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg. 2.68 +# 2.69 +# The Agg, Ps, Pdf and SVG backends do not require external 2.70 +# dependencies. Do not choose GTK, GTKAgg, GTKCairo, MacOSX, TkAgg or WXAgg 2.71 +# if you have disabled the relevent extension modules. Agg will be used 2.72 +# by default. 2.73 +# 2.74 +backend = GTKAgg 2.75 +# 2.76 +# The numerix module was historically used to provide 2.77 +# compatibility between the Numeric, numarray, and NumPy array 2.78 +# packages. Now that NumPy has emerge as the universal array 2.79 +# package for python, numerix is not really necessary and is 2.80 +# maintained to provide backward compatibility. Do not change 2.81 +# this unless you have a compelling reason to do so. 2.82 +#numerix = numpy