[37475] trunk/dports/python
ram at macports.org
ram at macports.org
Mon Jun 9 07:02:47 PDT 2008
Revision: 37475
http://trac.macosforge.org/projects/macports/changeset/37475
Author: ram at macports.org
Date: 2008-06-09 07:02:45 -0700 (Mon, 09 Jun 2008)
Log Message:
-----------
py-matplotlib/py25-matplotlib: whitespace only changes
Modified Paths:
--------------
trunk/dports/python/py-matplotlib/Portfile
trunk/dports/python/py25-matplotlib/Portfile
Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile 2008-06-09 13:11:12 UTC (rev 37474)
+++ trunk/dports/python/py-matplotlib/Portfile 2008-06-09 14:02:45 UTC (rev 37475)
@@ -1,98 +1,98 @@
# $Id$
-PortSystem 1.0
-PortGroup python24 1.0
+PortSystem 1.0
+PortGroup python24 1.0
-categories-append graphics math
-name py-matplotlib
-version 0.91.2
-maintainers ram openmaintainer
+categories-append graphics math
+name py-matplotlib
+version 0.91.2
+maintainers ram openmaintainer
+platforms darwin
-description matlab-like syntax for creating plots in python
-long_description Matplotlib is a pure python plotting library with the goal of making \
- publication quality plots using a syntax familiar to matlab users. \
- The library uses numpy for handling large data sets and supports a \
- variety of output backends. This port provides variants for the \
- different GUIs (gtk2, tkinter, wxpython).
-homepage http://matplotlib.sourceforge.net
-master_sites sourceforge:matplotlib
-distname matplotlib-${version}
+description matlab-like syntax for creating plots in python
+long_description Matplotlib is a pure python plotting library with the \
+ goal of making publication quality plots using a syntax \
+ familiar to matlab users. The library uses numpy for \
+ handling large data sets and supports a variety of \
+ output backends. This port provides variants for the \
+ different GUIs (gtk2, tkinter, wxpython).
-checksums md5 7abe21ca9e26df4a44f3208d6007fe16 \
- sha1 1424fe2f105dc82080920f89f97f1e6cb639952b \
- rmd160 dfffd6d4925d96ccffdc45e5da4e8426d24c095c
+homepage http://matplotlib.sourceforge.net
+master_sites sourceforge:matplotlib
+distname matplotlib-${version}
-platforms darwin
+checksums md5 7abe21ca9e26df4a44f3208d6007fe16 \
+ sha1 1424fe2f105dc82080920f89f97f1e6cb639952b \
+ rmd160 dfffd6d4925d96ccffdc45e5da4e8426d24c095c
-depends_lib-append port:freetype \
- port:libpng \
- port:py-dateutil \
- port:py-tz \
- port:py-numpy
+depends_lib-append port:freetype \
+ port:libpng \
+ port:py-dateutil \
+ port:py-tz \
+ port:py-numpy
-patchfiles patch-setupext.py.diff
+patchfiles patch-setupext.py.diff
-build.env MPLIB_BASE="${prefix}"
+build.env MPLIB_BASE="${prefix}"
-
post-extract {
- if {[variant_isset gtk2]} {
- reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=1|" \
- ${worksrcpath}/setup.py
- reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=1|" \
- ${worksrcpath}/setup.py
- } else {
- reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=0|" \
- ${worksrcpath}/setup.py
- reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=0|" \
- ${worksrcpath}/setup.py
- }
- if {[variant_isset tkinter]} {
- reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \
- ${worksrcpath}/setup.py
- } else {
- reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
- ${worksrcpath}/setup.py
- }
- if {[variant_isset wxpython]} {
- reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=1|" \
- ${worksrcpath}/setup.py
- } else {
- reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=0|" \
- ${worksrcpath}/setup.py
- }
+ if {[variant_isset gtk2]} {
+ reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=1|" \
+ ${worksrcpath}/setup.py
+ reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=1|" \
+ ${worksrcpath}/setup.py
+ } else {
+ reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=0|" \
+ ${worksrcpath}/setup.py
+ reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=0|" \
+ ${worksrcpath}/setup.py
+ }
+ if {[variant_isset tkinter]} {
+ reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \
+ ${worksrcpath}/setup.py
+ } else {
+ reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
+ ${worksrcpath}/setup.py
+ }
+ if {[variant_isset wxpython]} {
+ reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=1|" \
+ ${worksrcpath}/setup.py
+ } else {
+ reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=0|" \
+ ${worksrcpath}/setup.py
+ }
}
post-patch {
- reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py
+ reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py
}
post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
- ${destroot}${prefix}/share/${name}
- xinstall -m 644 -W ${worksrcpath} API_CHANGES CHANGELOG INSTALL \
- INTERACTIVE KNOWN_BUGS README TODO \
- ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/license \
- ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/examples \
- ${destroot}${prefix}/share/${name}
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
+ ${destroot}${prefix}/share/${name}
+ xinstall -m 644 -W ${worksrcpath} API_CHANGES CHANGELOG INSTALL \
+ INTERACTIVE KNOWN_BUGS README TODO \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/license \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/examples \
+ ${destroot}${prefix}/share/${name}
}
variant cairo description "Allow to use cairo for interactive plotting" {
- depends_lib-append port:py-cairo
+ depends_lib-append port:py-cairo
}
variant gtk2 conflicts tkinter wxpython description "Use GTKAgg for interactive plotting" {
- depends_lib-append port:py-gtk
+ depends_lib-append port:py-gtk
}
variant tkinter conflicts gtk2 wxpython description "Use tkAgg for interactive plotting" {
- depends_lib-append port:py-tkinter
+ depends_lib-append port:py-tkinter
}
variant wxpython conflicts gtk2 tkinter description "Use wxAgg for interactive plotting" {
- depends_lib-append port:py-wxpython
+ depends_lib-append port:py-wxpython
}
if { ![variant_isset gtk2] && ![variant_isset tkinter] && ![variant_isset wxpython] } {
- default_variants +tkinter
+ default_variants +tkinter
}
-livecheck.version matplotlib-${version}
+livecheck.version matplotlib-${version}
Modified: trunk/dports/python/py25-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py25-matplotlib/Portfile 2008-06-09 13:11:12 UTC (rev 37474)
+++ trunk/dports/python/py25-matplotlib/Portfile 2008-06-09 14:02:45 UTC (rev 37475)
@@ -1,98 +1,98 @@
# $Id$
-PortSystem 1.0
-PortGroup python25 1.0
+PortSystem 1.0
+PortGroup python25 1.0
-categories-append graphics math
-name py25-matplotlib
-version 0.91.2
-maintainers ram openmaintainer
+categories-append graphics math
+name py25-matplotlib
+version 0.91.2
+maintainers ram openmaintainer
+platforms darwin
-description matlab-like syntax for creating plots in python
-long_description Matplotlib is a pure python plotting library with the goal of making \
- publication quality plots using a syntax familiar to matlab users. \
- The library uses numpy for handling large data sets and supports a \
- variety of output backends. This port provides variants for the \
- different GUIs (gtk2, tkinter, wxpython).
-homepage http://matplotlib.sourceforge.net
-master_sites sourceforge:matplotlib
-distname matplotlib-${version}
+description matlab-like syntax for creating plots in python
+long_description Matplotlib is a pure python plotting library with the \
+ goal of making publication quality plots using a syntax \
+ familiar to matlab users. The library uses numpy for \
+ handling large data sets and supports a variety of \
+ output backends. This port provides variants for the \
+ different GUIs (gtk2, tkinter, wxpython).
-checksums md5 7abe21ca9e26df4a44f3208d6007fe16 \
- sha1 1424fe2f105dc82080920f89f97f1e6cb639952b \
- rmd160 dfffd6d4925d96ccffdc45e5da4e8426d24c095c
+homepage http://matplotlib.sourceforge.net
+master_sites sourceforge:matplotlib
+distname matplotlib-${version}
-platforms darwin
+checksums md5 7abe21ca9e26df4a44f3208d6007fe16 \
+ sha1 1424fe2f105dc82080920f89f97f1e6cb639952b \
+ rmd160 dfffd6d4925d96ccffdc45e5da4e8426d24c095c
-depends_lib-append port:freetype \
- port:libpng \
- port:py25-dateutil \
- port:py25-tz \
- port:py25-numpy
+depends_lib-append port:freetype \
+ port:libpng \
+ port:py25-dateutil \
+ port:py25-tz \
+ port:py25-numpy
-patchfiles patch-setupext.py.diff
+patchfiles patch-setupext.py.diff
-build.env MPLIB_BASE="${prefix}"
+build.env MPLIB_BASE="${prefix}"
-
post-extract {
- if {[variant_isset gtk2]} {
- reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=1|" \
- ${worksrcpath}/setup.py
- reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=1|" \
- ${worksrcpath}/setup.py
- } else {
- reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=0|" \
- ${worksrcpath}/setup.py
- reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=0|" \
- ${worksrcpath}/setup.py
- }
- if {[variant_isset tkinter]} {
- reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \
- ${worksrcpath}/setup.py
- } else {
- reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
- ${worksrcpath}/setup.py
- }
- if {[variant_isset wxpython]} {
- reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=1|" \
- ${worksrcpath}/setup.py
- } else {
- reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=0|" \
- ${worksrcpath}/setup.py
- }
+ if {[variant_isset gtk2]} {
+ reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=1|" \
+ ${worksrcpath}/setup.py
+ reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=1|" \
+ ${worksrcpath}/setup.py
+ } else {
+ reinplace "s|^BUILD_GTKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTKAGG=0|" \
+ ${worksrcpath}/setup.py
+ reinplace "s|^BUILD_GTK\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_GTK=0|" \
+ ${worksrcpath}/setup.py
+ }
+ if {[variant_isset tkinter]} {
+ reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=1|" \
+ ${worksrcpath}/setup.py
+ } else {
+ reinplace "s|^BUILD_TKAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_TKAGG=0|" \
+ ${worksrcpath}/setup.py
+ }
+ if {[variant_isset wxpython]} {
+ reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=1|" \
+ ${worksrcpath}/setup.py
+ } else {
+ reinplace "s|^BUILD_WXAGG\[\[:space:\]\]*=\[\[:space:\]\]*'auto'|BUILD_WXAGG=0|" \
+ ${worksrcpath}/setup.py
+ }
}
post-patch {
- reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py
+ reinplace "s|@@MPORTS_PREFIX@@|${prefix}|" ${worksrcpath}/setupext.py
}
post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
- ${destroot}${prefix}/share/${name}
- xinstall -m 644 -W ${worksrcpath} API_CHANGES CHANGELOG INSTALL \
- INTERACTIVE KNOWN_BUGS README TODO \
- ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/license \
- ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/examples \
- ${destroot}${prefix}/share/${name}
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \
+ ${destroot}${prefix}/share/${name}
+ xinstall -m 644 -W ${worksrcpath} API_CHANGES CHANGELOG INSTALL \
+ INTERACTIVE KNOWN_BUGS README TODO \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/license \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/examples \
+ ${destroot}${prefix}/share/${name}
}
variant cairo description "Allow to use cairo for interactive plotting" {
- depends_lib-append port:py25-cairo
+ depends_lib-append port:py25-cairo
}
variant gtk2 conflicts tkinter wxpython description "Use GTKAgg for interactive plotting" {
- depends_lib-append port:py25-gtk
+ depends_lib-append port:py25-gtk
}
variant tkinter conflicts gtk2 wxpython description "Use tkAgg for interactive plotting" {
- depends_lib-append port:py25-tkinter
+ depends_lib-append port:py25-tkinter
}
variant wxpython conflicts gtk2 tkinter description "Use wxAgg for interactive plotting" {
- depends_lib-append port:py25-wxpython
+ depends_lib-append port:py25-wxpython
}
if { ![variant_isset gtk2] && ![variant_isset tkinter] && ![variant_isset wxpython] } {
- default_variants +tkinter
+ default_variants +tkinter
}
-livecheck.version matplotlib-${version}
+livecheck.version matplotlib-${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080609/3f8645be/attachment.htm
More information about the macports-changes
mailing list