[125473] trunk/dports/python/py-matplotlib

ryandesign at macports.org ryandesign at macports.org
Thu Sep 18 05:05:15 PDT 2014


Revision: 125473
          https://trac.macports.org/changeset/125473
Author:   ryandesign at macports.org
Date:     2014-09-18 05:05:15 -0700 (Thu, 18 Sep 2014)
Log Message:
-----------
py-matplotlib: update to 1.4.0 (#44812)

Modified Paths:
--------------
    trunk/dports/python/py-matplotlib/Portfile
    trunk/dports/python/py-matplotlib/files/patch-setupext.py.diff

Removed Paths:
-------------
    trunk/dports/python/py-matplotlib/files/patch-setup.py.diff

Modified: trunk/dports/python/py-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py-matplotlib/Portfile	2014-09-18 11:21:50 UTC (rev 125472)
+++ trunk/dports/python/py-matplotlib/Portfile	2014-09-18 12:05:15 UTC (rev 125473)
@@ -5,15 +5,14 @@
 PortGroup           python 1.0
 PortGroup           github 1.0
 
-github.setup        matplotlib matplotlib 1.3.1
+github.setup        matplotlib matplotlib 1.4.0 v
 
 name                py-matplotlib
-revision            4
 categories-append   graphics math
 platforms           darwin
 license             {PSF BSD}
 
-python.versions     26 27 32 33 34
+python.versions     26 27 33 34
 
 maintainers         sean openmaintainer
 
@@ -31,8 +30,8 @@
 
 homepage            http://matplotlib.org/
 
-checksums           rmd160  a3a3fa97ab8bdf33a6ef2f68884af649015ca05c \
-                    sha256  d1a31ab238c6d4008c20c922f2541f0827abc07dbe5f43a91c992102db63fb29
+checksums           rmd160  e56f880bbe04c81fa3f16c9a9a49c74dd91e47d3 \
+                    sha256  69ab4938c6eb6d0e6a016a5e6c32a241baf2142cb0e2a89454917d7ffde0c612
 
 if {${name} ne ${subport}} {
     depends_build-append \
@@ -64,7 +63,7 @@
         if {${name} ne ${subport}} {
             xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
                 ${destroot}${prefix}/share/${subport}
-            xinstall -m 644 -W ${worksrcpath} CHANGELOG README.rst TODO matplotlibrc.template \
+            xinstall -m 644 -W ${worksrcpath} CHANGELOG README.rst matplotlibrc.template \
                 ${destroot}${prefix}/share/doc/${subport}
             file copy ${worksrcpath}/examples \
                 ${destroot}${prefix}/share/${subport}
@@ -111,7 +110,6 @@
 
     variant pyside description "Enable PySide backend" {
         depends_lib-append  port:py${python.version}-pyside
-        patchfiles-append   patch-setup.py.diff
         post-patch {
             reinplace "s|^pyside=False|pyside=True|" ${worksrcpath}/setup.cfg
         }

Deleted: trunk/dports/python/py-matplotlib/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-matplotlib/files/patch-setup.py.diff	2014-09-18 11:21:50 UTC (rev 125472)
+++ trunk/dports/python/py-matplotlib/files/patch-setup.py.diff	2014-09-18 12:05:15 UTC (rev 125473)
@@ -1,10 +0,0 @@
---- setup.py.orig	2013-08-07 12:15:32.000000000 +0400
-+++ setup.py	2013-08-07 12:15:45.000000000 +0400
-@@ -86,6 +86,7 @@
-     # work will be selected as the default backend.
-     setupext.BackendMacOSX(),
-     setupext.BackendQt4(),
-+    setupext.BackendPySide(),
-     setupext.BackendGtk3Agg(),
-     setupext.BackendGtk3Cairo(),
-     setupext.BackendGtkAgg(),

Modified: trunk/dports/python/py-matplotlib/files/patch-setupext.py.diff
===================================================================
--- trunk/dports/python/py-matplotlib/files/patch-setupext.py.diff	2014-09-18 11:21:50 UTC (rev 125472)
+++ trunk/dports/python/py-matplotlib/files/patch-setupext.py.diff	2014-09-18 12:05:15 UTC (rev 125473)
@@ -1,6 +1,6 @@
---- setupext.py.orig	2013-10-10 14:44:25.000000000 +0200
-+++ setupext.py	2013-11-05 08:46:29.000000000 +0100
-@@ -1334,6 +1334,18 @@
+--- setupext.py.orig	2014-08-25 21:24:27.000000000 -0500
++++ setupext.py	2014-09-18 06:38:30.000000000 -0500
+@@ -1494,6 +1494,18 @@
              ext.library_dirs.extend([os.path.join(sys.prefix, 'dlls')])
  
          elif sys.platform == 'darwin':
@@ -19,7 +19,7 @@
              # this config section lifted directly from Imaging - thanks to
              # the effbot!
  
-@@ -1575,6 +1587,9 @@
+@@ -1735,6 +1747,9 @@
      name = "gtk3agg"
  
      def check_requirements(self):
@@ -29,7 +29,7 @@
          if 'TRAVIS' in os.environ:
              raise CheckFailed("Can't build with Travis")
  
-@@ -1640,6 +1655,9 @@
+@@ -1800,6 +1815,9 @@
      name = "gtk3cairo"
  
      def check_requirements(self):
@@ -39,7 +39,7 @@
          if 'TRAVIS' in os.environ:
              raise CheckFailed("Can't build with Travis")
  
-@@ -1668,6 +1686,9 @@
+@@ -1828,6 +1846,9 @@
      name = "wxagg"
  
      def check_requirements(self):
@@ -49,17 +49,7 @@
          try:
              import wxversion
          except ImportError:
-@@ -1764,6 +1785,9 @@
-         return '.'.join(temp)
- 
-     def check_requirements(self):
-+        if self.get_config() is False:
-+            raise CheckFailed("skipping due to configuration")
-+
-         try:
-             from PyQt4 import pyqtconfig
-         except ImportError:
-@@ -1800,6 +1824,9 @@
+@@ -2031,6 +2052,9 @@
      name = "cairo"
  
      def check_requirements(self):
@@ -67,5 +57,5 @@
 +            raise CheckFailed("skipping due to configuration")
 +
          try:
-             import cairo
+             import cairocffi
          except ImportError:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140918/3329f3ca/attachment-0001.html>


More information about the macports-changes mailing list