[141319] trunk/dports/python/py-pep8-157/Portfile

petr at macports.org petr at macports.org
Sat Dec 12 01:01:46 PST 2015


Revision: 141319
          https://trac.macports.org/changeset/141319
Author:   petr at macports.org
Date:     2015-10-15 16:38:17 -0700 (Thu, 15 Oct 2015)
Log Message:
-----------
py-pep8-157: fix deactivate hack, #47429 related

Modified Paths:
--------------
    trunk/dports/python/py-pep8-157/Portfile

Modified: trunk/dports/python/py-pep8-157/Portfile
===================================================================
--- trunk/dports/python/py-pep8-157/Portfile	2015-10-15 23:08:20 UTC (rev 141318)
+++ trunk/dports/python/py-pep8-157/Portfile	2015-10-15 23:38:17 UTC (rev 141319)
@@ -46,8 +46,8 @@
         set port_v 1.6.2
         if {![catch {set installed [lindex [registry_active ${port_c}] 0]}]} {
             set _version [lindex $installed 1]
-            if {[vercmp $_version ${port_v}] < 0} {
-                registry_deactivate_composite ${port_v} "" [list ports_nodepcheck 1]
+            if {[vercmp $_version ${port_v}] == 0} {
+                registry_deactivate_composite ${port_c} "" [list ports_nodepcheck 1]
             }
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/0c60d0d5/attachment.html>


More information about the macports-changes mailing list