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

larryv at macports.org larryv at macports.org
Wed May 11 14:51:23 PDT 2016


Revision: 148579
          https://trac.macports.org/changeset/148579
Author:   larryv at macports.org
Date:     2016-05-11 14:51:23 -0700 (Wed, 11 May 2016)
Log Message:
-----------
py-virtualenv: Update to 15.0.1

Also:

- Let python-1.0 create a suffixed executable; virtualenv stopped
  installing its own in 15.0.0
  (https://github.com/pypa/virtualenv/blob/15.0.0/docs/changes.rst).

- Without py24/25 subports, there's no reason to explicitly set
  "python.move_binaries no".

- Don't try to delete "virtualenv" executables.
  - `${prefix}/bin/virtualenv` is not created anymore.
  - Presumably we were deleting `${python.prefix}/bin/virtualenv`
    because we kept `${python.prefix}/bin/virtualenv-${python.branch}`,
    but the latter is not created anymore. (I think this was
    originally a hack for py24-virtualenv.)

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

Modified: trunk/dports/python/py-virtualenv/Portfile
===================================================================
--- trunk/dports/python/py-virtualenv/Portfile	2016-05-11 21:51:21 UTC (rev 148578)
+++ trunk/dports/python/py-virtualenv/Portfile	2016-05-11 21:51:23 UTC (rev 148579)
@@ -6,7 +6,7 @@
 PortGroup           select 1.0
 
 name                py-virtualenv
-version             13.1.2
+version             15.0.1
 categories-append   devel
 platforms           darwin
 license             MIT
@@ -20,9 +20,9 @@
 
 master_sites        http://pypi.python.org/packages/source/v/${python.rootname}
 distname            ${python.rootname}-${version}
-checksums           md5     b989598f068d64b32dead530eb25589a \
-                    rmd160  4a89e7cef8b6853997dbb4b067cc292dc735f194 \
-                    sha256  aabc8ef18cddbd8a2a9c7f92bc43e2fea54b1147330d65db920ef3ce9812e3dc
+checksums           md5     28d76a0d9cbd5dc42046dd14e76a6ecc \
+                    rmd160  5d45bc4b34c2483427c9556fd10833fcce9e661d \
+                    sha256  1a74278b8adb383ce4c7619e33c753b1eb7b58dc1e449601c096ca4b76125f84
 
 python.versions     26 27 33 34 35
 
@@ -33,20 +33,7 @@
     select.group        virtualenv
     select.file         virtualenv${python.version}
 
-    # The virtualenv build process creates both virtualenv and
-    # virtualenv-${python.branch} but we only want one. We cannot keep
-    # the unsuffixed one, because by the time the port's post-destroot
-    # block runs, the portgroup's post-destroot block (which creates
-    # suffixed versions by renaming or symlinking) has already run.
-    # Therefore we will keep the suffixed one and tell the portgroup not
-    # to create its own suffixed versions.
-    python.link_binaries_suffix
-    python.move_binaries no
-
     post-destroot {
-        delete ${destroot}${prefix}/bin/virtualenv \
-               ${destroot}${python.prefix}/bin/virtualenv
-
         set docdir ${prefix}/share/doc/${subport}
         xinstall -m 755 -d ${destroot}${docdir}
         xinstall -m 644 {*}[glob -directory ${worksrcpath}/docs *] \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160511/28dce90c/attachment-0001.html>


More information about the macports-changes mailing list