[69480] trunk/dports/python/py26-matplotlib

ram at macports.org ram at macports.org
Wed Jul 7 15:48:22 PDT 2010


Revision: 69480
          http://trac.macports.org/changeset/69480
Author:   ram at macports.org
Date:     2010-07-07 15:48:22 -0700 (Wed, 07 Jul 2010)
Log Message:
-----------
python/py26-matplotlib: update to 1.0.0

Modified Paths:
--------------
    trunk/dports/python/py26-matplotlib/Portfile

Removed Paths:
-------------
    trunk/dports/python/py26-matplotlib/files/patch-eintr.diff

Modified: trunk/dports/python/py26-matplotlib/Portfile
===================================================================
--- trunk/dports/python/py26-matplotlib/Portfile	2010-07-07 20:45:56 UTC (rev 69479)
+++ trunk/dports/python/py26-matplotlib/Portfile	2010-07-07 22:48:22 UTC (rev 69480)
@@ -5,7 +5,7 @@
 
 categories-append  graphics math
 name               py26-matplotlib
-version            0.99.3
+version            1.0.0
 maintainers        ram openmaintainer
 platforms          darwin
 
@@ -21,9 +21,9 @@
 master_sites       sourceforge:matplotlib
 distname           matplotlib-${version}
 
-checksums          md5 c21a367dea3b98660adbb898a2f53dbc \
-                   sha1 1819ac7f9b22c942ee23c635c43825cd1e8865cc \
-                   rmd160 8309fc700717119c71603829890fd0eb73b376e2
+checksums          md5 7d964de548c9887917762a11e0ffecd3 \
+                   sha1 6004e83d09f064ecb3fe15c8ff09d61fb454757f \
+                   rmd160 b833a1d0eb708bfe46322914171ab2714b0da549
 
 depends_lib-append port:freetype \
                    port:libpng \
@@ -35,8 +35,7 @@
 
 patchfiles         patch-setupext.py.diff \
                    patch-setup.cfg.diff \
-                   patch-disable_optional_deps.diff \
-                   patch-eintr.diff
+                   patch-disable_optional_deps.diff
 
 build.env          MPLIB_BASE="${prefix}" PKG_CONFIG_PATH="${python.prefix}/lib/pkgconfig/"
 

Deleted: trunk/dports/python/py26-matplotlib/files/patch-eintr.diff
===================================================================
--- trunk/dports/python/py26-matplotlib/files/patch-eintr.diff	2010-07-07 20:45:56 UTC (rev 69479)
+++ trunk/dports/python/py26-matplotlib/files/patch-eintr.diff	2010-07-07 22:48:22 UTC (rev 69480)
@@ -1,46 +0,0 @@
---- lib/matplotlib/font_manager.py	2009/11/12 17:27:34	7952
-+++ lib/matplotlib/font_manager.py	2009/11/12 17:28:22	7953
-@@ -42,7 +42,7 @@
-             see license/LICENSE_TTFQUERY.
- """
- 
--import os, sys, glob
-+import os, sys, glob, subprocess
- try:
-     set
- except NameError:
-@@ -292,16 +292,12 @@
-     grab all of the fonts the user wants to be made available to
-     applications, without needing knowing where all of them reside.
-     """
--    try:
--        import commands
--    except ImportError:
--        return {}
--
-     fontext = get_fontext_synonyms(fontext)
- 
-     fontfiles = {}
--    status, output = commands.getstatusoutput("fc-list file")
--    if status == 0:
-+    pipe = subprocess.Popen(['fc-list', '', 'file'], stdout=subprocess.PIPE)
-+    output = pipe.communicate()[0]
-+    if pipe.returncode == 0:
-         for line in output.split('\n'):
-             fname = line.split(':')[0]
-             if (os.path.splitext(fname)[1][1:] in fontext and
-@@ -1244,11 +1240,11 @@
-     import re
- 
-     def fc_match(pattern, fontext):
--        import commands
-         fontexts = get_fontext_synonyms(fontext)
-         ext = "." + fontext
--        status, output = commands.getstatusoutput('fc-match -sv "%s"' % pattern)
--        if status == 0:
-+        pipe = subprocess.Popen(['fc-match', '-sv', pattern], stdout=subprocess.PIPE)
-+        output = pipe.communicate()[0]
-+        if pipe.returncode == 0:
-             for match in _fc_match_regex.finditer(output):
-                 file = match.group(1)
-                 if os.path.splitext(file)[1][1:] in fontexts:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100707/d4990384/attachment.html>


More information about the macports-changes mailing list