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

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


Revision: 148576
          https://trac.macports.org/changeset/148576
Author:   larryv at macports.org
Date:     2016-05-11 14:51:17 -0700 (Wed, 11 May 2016)
Log Message:
-----------
py-virtualenv: Use python.rootname from python-1.0

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

Modified: trunk/dports/python/py-virtualenv/Portfile
===================================================================
--- trunk/dports/python/py-virtualenv/Portfile	2016-05-11 19:09:34 UTC (rev 148575)
+++ trunk/dports/python/py-virtualenv/Portfile	2016-05-11 21:51:17 UTC (rev 148576)
@@ -6,7 +6,6 @@
 PortGroup           select 1.0
 
 name                py-virtualenv
-set real_name       virtualenv
 version             13.1.2
 categories-append   devel
 platforms           darwin
@@ -17,10 +16,10 @@
 description         Virtual Python Environment builder
 long_description    virtualenv is a tool to create isolated Python \
                     environments.
-homepage            http://pypi.python.org/pypi/${real_name}
+homepage            http://pypi.python.org/pypi/${python.rootname}
 
-master_sites        http://pypi.python.org/packages/source/v/${real_name}/
-distname            ${real_name}-${version}
+master_sites        http://pypi.python.org/packages/source/v/${python.rootname}
+distname            ${python.rootname}-${version}
 checksums           md5     b989598f068d64b32dead530eb25589a \
                     rmd160  4a89e7cef8b6853997dbb4b067cc292dc735f194 \
                     sha256  aabc8ef18cddbd8a2a9c7f92bc43e2fea54b1147330d65db920ef3ce9812e3dc
@@ -58,5 +57,5 @@
 } else {
     livecheck.type      regex
     livecheck.url       http://pypi.python.org/pypi/virtualenv
-    livecheck.regex     $real_name-(\\d+(?:\\.\\d+)*)${extract.suffix}
+    livecheck.regex     ${python.rootname}-(\\d+(?:\\.\\d+)*)${extract.suffix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160511/fbee2f9a/attachment.html>


More information about the macports-changes mailing list