[111836] trunk/dports/python/py-memprof/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Oct 3 07:41:42 PDT 2013


Revision: 111836
          https://trac.macports.org/changeset/111836
Author:   ryandesign at macports.org
Date:     2013-10-03 07:41:42 -0700 (Thu, 03 Oct 2013)
Log Message:
-----------
py-memprof: fix adding argparse dependency only for py26 (#40657)

Modified Paths:
--------------
    trunk/dports/python/py-memprof/Portfile

Modified: trunk/dports/python/py-memprof/Portfile
===================================================================
--- trunk/dports/python/py-memprof/Portfile	2013-10-03 08:04:01 UTC (rev 111835)
+++ trunk/dports/python/py-memprof/Portfile	2013-10-03 14:41:42 UTC (rev 111836)
@@ -23,7 +23,7 @@
 python.versions     26 27 32 33
 
 
-if {${name} != ${subport}} {
+if {${name} ne ${subport}} {
     depends_run         port:py${python.version}-matplotlib \
                         port:memprof_select
 
@@ -31,7 +31,7 @@
                         sha256  70421492bcbbb801df3dfc85928a2b610e441b65e477ab8ec66da3d1d2c0610c
 
     # The argparse module was included in the standard library from 2.7 onwards.
-    if { ${python.branch} < 27 } {
+    if { ${python.version} < 27 } {
         depends_run-append  port:py26-argparse
     } else {
         patchfiles-append   setup.py.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131003/47c91860/attachment.html>


More information about the macports-changes mailing list