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

     
    1010    }
    1111}
    1212if {!$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
    1514}
    1615if {${livecheck.regex} eq ""} {
    17     livecheck.regex {<revision>(.+)</revision>}
     16    livecheck.regex {"version": "(.+)"}
    1817}
    1918set livecheck.type "regex"