source: orange/install-scripts/mac/fink/matplotlib-py.info @ 9183:99968461acad

Revision 9183:99968461acad, 3.4 KB checked in by mitar, 2 years ago (diff)

Updated matplotlib for Fink once more.

RevLine 
[9179]1Info2: <<
2
3# https://github.com/matplotlib/matplotlib/issues/434
4
5Package: matplotlib-py%type_pkg[python]
6Version: 1.0.1
[9183]7Revision: 3
[9179]8Source: mirror:sourceforge:matplotlib/matplotlib-%v.tar.gz
9Source-MD5: 2196c0482d5b33dc8d33f67bbafc1323
10Type: python (2.7)
11
12# FIX: libpng15 failed to work.
13
14Maintainer: Kurt Schwehr <goatbar@users.sourceforge.net>
15Depends: <<
16 atk1-shlibs (>= 1.20.0-1),
17 cairo-shlibs (>= 1.6-1),
18 configobj-py%type_pkg[python],
19 dateutil-py%type_pkg[python],
20 fontconfig2-shlibs (>= 2.4.1-1),
21 freetype219-shlibs (>= 2.3.5-1),
22 glib2-shlibs (>= 2.14.0-1),
23 gtk+2-shlibs (>= 2.12.0-1),
24 libgettext8-shlibs,
25 libiconv,
26 libpng14-shlibs,
27 pango1-xft2-ft219-shlibs (>= 1.18.4-4),
28 pygobject2-py%type_pkg[python],
29 pygtk2-gtk-py%type_pkg[python],
30 python%type_pkg[python],
31 pytz-py%type_pkg[python],
32 numpy-py%type_pkg[python],
33 tcltk-shlibs,
34 tetex-base,
35 x11-shlibs
36<<
37
38BuildDepends: <<
39 fink (>= 0.24.12),
40 atk1 (>= 1.20.0-1),
41 cairo (>= 1.6-1),
42 expat1,
43 fontconfig2-dev (>= 2.4.1-1),
44 freetype219 (>= 2.3.5-1),
45 gettext-bin,
46 gettext-tools,
47 glib2-dev (>= 2.14.0-1),
48 glitz,
49 gtk+2-dev (>= 2.12.0-1),
50 libgettext8-dev,
51 libiconv-dev,
52 libpng14,
53 pango1-xft2-ft219-dev (>= 1.18.4-4),
54 pixman (>= 0.10.0-1),
55 pkgconfig (>= 0.21-1),
56 pygobject2-py%type_pkg[python]-dev,
57 pygtk2-gtk-py%type_pkg[python]-dev,
58 distribute-py%type_pkg[python],
59 tcltk-dev,
60 x11-dev,
61 xft2-dev
62<<
63
64GCC: 4.0
65
66# Apple clang and gcc 4.6 compiler gags on matplotlib
67#SetCC: gcc-4.2
68#SetCC: gcc-fsf-4.6
69#SetCXX: g++-fsf-4.6
70
71NoSetCPPFLAGS: True
72SetCPPFLAGS: -I%p/include/pygtk-2.0 -I%p/lib/freetype219/include/freetype2 -I%p/lib/fontconfig2/include -DNSIG=32
73NoSetLDFLAGS: True
74SetLDFLAGS: -L%p/lib/freetype219/lib -L%p/lib/fontconfig2/lib
75
76PatchFile: %{ni}.patch
77PatchFile-MD5: 758179e681590f68d65f36344a5e268f
78PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
79
80CompileScript:  <<
81 #!/bin/sh -ev
82 export PATH=%p/lib/freetype219:$PATH
83 export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
84 %p/bin/python%type_raw[python] setup.py build
85<<
86
87# --compiler=%p/bin/g++-fsf-4.6
88
89InstallScript: <<
90 #!/bin/sh -ev
91 export PATH=%p/lib/freetype219:$PATH
92 export PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
93 %p/bin/python%type_raw[python] setup.py install --root %d
94 mkdir -p %i/share/doc/%n
95 cp -R examples %i/share/doc/%n
96<<
97License: OSI-Approved
98DocFiles: README.txt license/*LICENSE* TODO INTERACTIVE INSTALL CHANGELOG  KNOWN_BUGS
99# API_CHANGES
100Description: Pure python 2D plotting with a Matlab syntax
101DescDetail: <<
102Produces publication quality figures using in a variety of hardcopy
103formats (PNG, JPG, TIFF, PS) and interactive GUI environments
104across platforms. matplotlib can be used in python scripts,
105interactively from the python shell (ala matlab or mathematica),
106in web application servers generating dynamic charts, or embedded
107in applications.
108
109Includes GTK, TkAgg, GTKAgg, SVG, PS and Agg backends.
110<<
111DescPackaging: <<
112 Checks for qt, qt4, cairo (their python bindings) but doesn't use
113 those test results, so don't bother setting dependencies or forcing
114 non-detection of them.
115<<
116DescPort: <<
117-DNSIG is only need for the build of the py25 variant.  Don't know why.
118<<
119Homepage: http://matplotlib.sf.net
120DescUsage: <<
121The pylab frontend is broken on x86_64.
122<<
123
124<<
Note: See TracBrowser for help on using the repository browser.