[135342] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Thu Apr 23 05:24:31 PDT 2015


Revision: 135342
          https://trac.macports.org/changeset/135342
Author:   stromnov at macports.org
Date:     2015-04-23 05:24:31 -0700 (Thu, 23 Apr 2015)
Log Message:
-----------
py-{alabaster,anyjson,beaker,colorama,flask,futures,markupsafe,nose,pep8,readline,six,tables}: fix livecheck

Modified Paths:
--------------
    trunk/dports/python/py-alabaster/Portfile
    trunk/dports/python/py-anyjson/Portfile
    trunk/dports/python/py-beaker/Portfile
    trunk/dports/python/py-colorama/Portfile
    trunk/dports/python/py-flask/Portfile
    trunk/dports/python/py-futures/Portfile
    trunk/dports/python/py-markupsafe/Portfile
    trunk/dports/python/py-nose/Portfile
    trunk/dports/python/py-pep8/Portfile
    trunk/dports/python/py-readline/Portfile
    trunk/dports/python/py-six/Portfile
    trunk/dports/python/py-tables/Portfile

Modified: trunk/dports/python/py-alabaster/Portfile
===================================================================
--- trunk/dports/python/py-alabaster/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-alabaster/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -29,5 +29,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${master_sites}
+    livecheck.url       https://pypi.python.org/pypi/alabaster/json
+    livecheck.regex     {alabaster-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-anyjson/Portfile
===================================================================
--- trunk/dports/python/py-anyjson/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-anyjson/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -32,8 +32,10 @@
 
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
+
+    livecheck.type          none
+} else {
+    livecheck.type          regex
+    livecheck.url           https://pypi.python.org/pypi/anyjson/json
+    livecheck.regex         {anyjson-(\d+(?:\.\d+)*)\.[tz]}
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "anyjson-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Modified: trunk/dports/python/py-beaker/Portfile
===================================================================
--- trunk/dports/python/py-beaker/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-beaker/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -44,6 +44,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${master_sites}
-    livecheck.regex     "Beaker-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/Beaker/json
+    livecheck.regex     {Beaker-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-colorama/Portfile
===================================================================
--- trunk/dports/python/py-colorama/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-colorama/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -32,6 +32,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${master_sites}
-    livecheck.regex     "colorama-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/colorama/json
+    livecheck.regex     {colorama-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-flask/Portfile
===================================================================
--- trunk/dports/python/py-flask/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-flask/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -32,6 +32,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       [lindex ${master_sites} 0]
-    livecheck.regex     Flask-(\[0-9.\]+)${extract.suffix}
+    livecheck.url       https://pypi.python.org/pypi/Flask/json
+    livecheck.regex     {Flask-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-futures/Portfile
===================================================================
--- trunk/dports/python/py-futures/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-futures/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -38,6 +38,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${master_sites}
-    livecheck.regex     "futures-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/futures/json
+    livecheck.regex     {futures-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-markupsafe/Portfile
===================================================================
--- trunk/dports/python/py-markupsafe/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-markupsafe/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -32,6 +32,6 @@
 
 } else {
     livecheck.type          regex
-    livecheck.url           ${master_sites}
-    livecheck.regex         "MarkupSafe-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.url           https://pypi.python.org/pypi/MarkupSafe/json
+    livecheck.regex         {MarkupSafe-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-nose/Portfile
===================================================================
--- trunk/dports/python/py-nose/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-nose/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -73,6 +73,6 @@
 
 } else {
     livecheck.type  regex
-    livecheck.url   ${master_sites}
+    livecheck.url   https://pypi.python.org/pypi/${my_name}/json
     livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }

Modified: trunk/dports/python/py-pep8/Portfile
===================================================================
--- trunk/dports/python/py-pep8/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-pep8/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -43,6 +43,6 @@
     livecheck.type  none
 } else {
     livecheck.type  regex
-    livecheck.url   [lindex ${master_sites} 0]
-    livecheck.regex ">${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+    livecheck.url   https://pypi.python.org/pypi/${realname}/json
+    livecheck.regex "${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}"
 }

Modified: trunk/dports/python/py-readline/Portfile
===================================================================
--- trunk/dports/python/py-readline/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-readline/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -40,6 +40,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${master_sites}
+    livecheck.url       https://pypi.python.org/pypi/readline/json
     livecheck.regex     {readline-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-six/Portfile
===================================================================
--- trunk/dports/python/py-six/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-six/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -31,6 +31,6 @@
     livecheck.type      none
 } else {
     livecheck.type      regex
-    livecheck.url       ${master_sites}
-    livecheck.regex     "six-(\\d+(\\.\\d+){2})${extract.suffix}"
+    livecheck.url       https://pypi.python.org/pypi/six/json
+    livecheck.regex     {six-(\d+(?:\.\d+)*)\.[tz]}
 }

Modified: trunk/dports/python/py-tables/Portfile
===================================================================
--- trunk/dports/python/py-tables/Portfile	2015-04-23 12:01:04 UTC (rev 135341)
+++ trunk/dports/python/py-tables/Portfile	2015-04-23 12:24:31 UTC (rev 135342)
@@ -85,8 +85,8 @@
 
 if {${name} eq ${subport}} {
     livecheck.type      regex
-    livecheck.url       ${homepage}
-    livecheck.regex     {PyTables ([0-9]+\.[0-9]+\.[0-9]+) documentation}
+    livecheck.url       https://pypi.python.org/pypi/tables/json
+    livecheck.regex     {tables-(\d+(?:\.\d+)*)\.[tz]}
 } else {
     livecheck.type      none
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150423/aa22058e/attachment.html>


More information about the macports-changes mailing list