[130664] trunk/dports/python/py-phonenumbers/Portfile

larryv at macports.org larryv at macports.org
Thu Jan 1 22:28:18 PST 2015


Revision: 130664
          https://trac.macports.org/changeset/130664
Author:   larryv at macports.org
Date:     2015-01-01 22:28:17 -0800 (Thu, 01 Jan 2015)
Log Message:
-----------
py-phonenumbers: Use `eq` for string comparison

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

Modified: trunk/dports/python/py-phonenumbers/Portfile
===================================================================
--- trunk/dports/python/py-phonenumbers/Portfile	2015-01-02 06:28:15 UTC (rev 130663)
+++ trunk/dports/python/py-phonenumbers/Portfile	2015-01-02 06:28:17 UTC (rev 130664)
@@ -23,7 +23,7 @@
                     sha1    60871fa304229b5f3cfebe1bfb2961e8c91f1a67 \
                     rmd160  995bb8881ceaf50ab950d753948ac7d7da1ea452
 
-if {$subport == $name} {
+if {$subport eq $name} {
     livecheck.type  regex
     livecheck.regex [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}]
 } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150101/2d639002/attachment-0001.html>


More information about the macports-changes mailing list