Changeset 104611


Ignore:
Timestamp:
Mar 30, 2013, 12:40:16 PM (7 years ago)
Author:
cal@…
Message:

Provide GNOME livecheck that support GNOME's versioning scheme of "even major is stable release"

Location:
trunk/dports/_resources/port1.0/livecheck
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/livecheck/gnome-only-unstable.tcl

    r104608 r104611  
    77}
    88if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
    9     set livecheck.url "http://ftp.gnome.org/pub/gnome/${livecheck.name}/"
     9    set livecheck.url "http://ftp.gnome.org/pub/GNOME/sources/${livecheck.name}/cache.json"
    1010}
    1111if {${livecheck.regex} eq ""} {
    12     set livecheck.regex [list "\"LATEST-IS-(.*)\""]
     12    set livecheck.regex {LATEST-IS-(\\d+\\.\\d*[13579](?:\\.\\d+)*)}
    1313}
    1414set livecheck.type "regex"
  • trunk/dports/_resources/port1.0/livecheck/gnome-with-unstable.tcl

    r104608 r104611  
    77}
    88if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
    9     set livecheck.url "http://ftp.gnome.org/pub/gnome/${livecheck.name}/"
     9    set livecheck.url "http://ftp.gnome.org/pub/GNOME/sources/${livecheck.name}/cache.json"
    1010}
    1111if {${livecheck.regex} eq ""} {
    12     set livecheck.regex [list "\"LATEST-IS-(.*)\""]
     12    set livecheck.regex {LATEST-IS-(\\d+\\.\\d*[0-9](?:\\.\\d+)*)}
    1313}
    1414set livecheck.type "regex"
  • trunk/dports/_resources/port1.0/livecheck/gnome.tcl

    r52351 r104611  
    77}
    88if {!$has_homepage || ${livecheck.url} eq ${homepage}} {
    9     set livecheck.url "http://ftp.gnome.org/pub/gnome/${livecheck.name}/"
     9    set livecheck.url "http://ftp.gnome.org/pub/GNOME/sources/${livecheck.name}/cache.json"
    1010}
    1111if {${livecheck.regex} eq ""} {
    12     set livecheck.regex [list "\"LATEST-IS-(.*)\""]
     12    set livecheck.regex {LATEST-IS-(\\d+\\.\\d*[02468](?:\\.\\d+)*)}
    1313}
    1414set livecheck.type "regex"
Note: See TracChangeset for help on using the changeset viewer.