[149160] trunk/dports/_resources/port1.0/livecheck/pypi.tcl
raimue at macports.org
raimue at macports.org
Fri Jun 3 02:14:38 PDT 2016
Revision: 149160
https://trac.macports.org/changeset/149160
Author: raimue at macports.org
Date: 2016-06-03 02:14:38 -0700 (Fri, 03 Jun 2016)
Log Message:
-----------
portgroup pypi: Use json endpoint for livecheck
Closes #51463.
Modified Paths:
--------------
trunk/dports/_resources/port1.0/livecheck/pypi.tcl
Modified: trunk/dports/_resources/port1.0/livecheck/pypi.tcl
===================================================================
--- trunk/dports/_resources/port1.0/livecheck/pypi.tcl 2016-06-03 08:38:59 UTC (rev 149159)
+++ trunk/dports/_resources/port1.0/livecheck/pypi.tcl 2016-06-03 09:14:38 UTC (rev 149160)
@@ -11,9 +11,9 @@
}
if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
livecheck.url \
- https://pypi.python.org/pypi?:action=doap&name=${livecheck.name}
+ https://pypi.python.org/pypi/${livecheck.name}/json
}
if {${livecheck.regex} eq ""} {
- livecheck.regex {<revision>(.+)</revision>}
+ livecheck.regex {"version": "(.+)",}
}
set livecheck.type "regex"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160603/a4af60a1/attachment-0001.html>
More information about the macports-changes
mailing list