[146074] trunk/dports/python/py-pip/Portfile

stromnov at macports.org stromnov at macports.org
Thu Feb 25 23:01:50 PST 2016


Revision: 146074
          https://trac.macports.org/changeset/146074
Author:   stromnov at macports.org
Date:     2016-02-25 23:01:50 -0800 (Thu, 25 Feb 2016)
Log Message:
-----------
py-pip: update to version 8.0.3

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

Modified: trunk/dports/python/py-pip/Portfile
===================================================================
--- trunk/dports/python/py-pip/Portfile	2016-02-26 06:52:05 UTC (rev 146073)
+++ trunk/dports/python/py-pip/Portfile	2016-02-26 07:01:50 UTC (rev 146074)
@@ -5,10 +5,8 @@
 PortGroup           python 1.0
 PortGroup           select 1.0
 
-set realname        pip
-
-name                py-${realname}
-version             8.0.2
+name                py-pip
+version             8.0.3
 revision            0
 categories-append   www
 platforms           darwin
@@ -27,12 +25,12 @@
                     well.
 
 homepage            http://www.pip-installer.org/
-master_sites        https://pypi.python.org/packages/source/p/pip/
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
 
-distname            ${realname}-${version}
+distname            ${python.rootname}-${version}
 
-checksums           rmd160  40aa1a3ad6dfdb3dd1a7d398a3c77f78257d2f4e \
-                    sha256  46f4bd0d8dfd51125a554568d646fe4200a3c2c6c36b9f2d06d2212148439521
+checksums           rmd160  4a215fbfdf9f52b1bd81b0c88066ef212a081b73 \
+                    sha256  30f98b66f3fe1069c529a491597d34a1c224a68640c82caf2ade5f88aa1405e8
 
 if {${name} ne ${subport}} {
     depends_lib-append  port:py${python.version}-setuptools
@@ -48,8 +46,8 @@
         delete ${destroot}${prefix}/bin/pip${python.branch}-${python.branch}
     }
 
-    select.group        ${realname}
-    select.file         ${filespath}/${realname}${python.version}
+    select.group        ${python.rootname}
+    select.file         ${filespath}/${python.rootname}${python.version}
 
     notes "
     To make the Python ${python.branch} version of pip the one that is run\
@@ -60,7 +58,5 @@
 
     livecheck.type      none
 } else {
-    livecheck.type      regex
-    livecheck.url       https://pypi.python.org/pypi/pip/json
-    livecheck.regex     {pip-(\d+(?:\.\d+)*)\.[tz]}
+    livecheck.type      pypi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160225/c334236a/attachment.html>


More information about the macports-changes mailing list