Ticket #51463: pypi_livecheck.patch
File pypi_livecheck.patch, 644 bytes (added by xeron (Ivan Larionov), 8 years ago) |
---|
-
_resources/port1.0/livecheck/pypi.tcl
10 10 } 11 11 } 12 12 if {!$has_homepage || ${livecheck.url} eq ${homepage}} { 13 livecheck.url \ 14 https://pypi.python.org/pypi?:action=doap&name=${livecheck.name} 13 livecheck.url https://pypi.python.org/pypi/${livecheck.name}/json 15 14 } 16 15 if {${livecheck.regex} eq ""} { 17 livecheck.regex { <revision>(.+)</revision>}16 livecheck.regex {"version": "(.+)"} 18 17 } 19 18 set livecheck.type "regex"