[130272] trunk/dports/python/py-bpython/Portfile

larryv at macports.org larryv at macports.org
Mon Dec 29 15:26:51 PST 2014


Revision: 130272
          https://trac.macports.org/changeset/130272
Author:   larryv at macports.org
Date:     2014-12-29 15:26:51 -0800 (Mon, 29 Dec 2014)
Log Message:
-----------
py-bpython: Remove redundant `expr` in `if` conditional

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

Modified: trunk/dports/python/py-bpython/Portfile
===================================================================
--- trunk/dports/python/py-bpython/Portfile	2014-12-29 23:26:49 UTC (rev 130271)
+++ trunk/dports/python/py-bpython/Portfile	2014-12-29 23:26:51 UTC (rev 130272)
@@ -32,7 +32,7 @@
                             port:py${python.version}-setuptools
 
     # py-babel is only available for Python 2.x
-    if {[expr ${python.branch} < 3]} {
+    if {${python.branch} < 3} {
         depends_build-append \
                             port:py${python.version}-babel
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141229/2c2e3c69/attachment-0001.html>


More information about the macports-changes mailing list