[136825] trunk/dports/python/py-virtualenv/Portfile

larryv at macports.org larryv at macports.org
Wed May 27 22:17:08 PDT 2015


Revision: 136825
          https://trac.macports.org/changeset/136825
Author:   larryv at macports.org
Date:     2015-05-27 22:17:08 -0700 (Wed, 27 May 2015)
Log Message:
-----------
py-virtualenv: Remove legacy conditional

For the supported Python ports (python{26,27,33,34}), `python.prefix` is
never equal to `prefix`.

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

Modified: trunk/dports/python/py-virtualenv/Portfile
===================================================================
--- trunk/dports/python/py-virtualenv/Portfile	2015-05-28 05:03:50 UTC (rev 136824)
+++ trunk/dports/python/py-virtualenv/Portfile	2015-05-28 05:17:08 UTC (rev 136825)
@@ -43,10 +43,8 @@
     python.move_binaries no
 
     post-destroot {
-        delete ${destroot}${prefix}/bin/virtualenv
-        if {${prefix} ne ${python.prefix}} {
-            delete ${destroot}${python.prefix}/bin/virtualenv
-        }
+        delete ${destroot}${prefix}/bin/virtualenv \
+               ${destroot}${python.prefix}/bin/virtualenv
 
         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
         foreach f [glob -directory ${worksrcpath}/docs *] {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150527/18f30ff1/attachment.html>


More information about the macports-changes mailing list