[MacPorts] #58001: XviD: livecheck not working

MacPorts noreply at macports.org
Sat Feb 2 03:31:56 UTC 2019


#58001: XviD: livecheck not working
--------------------------+--------------------
 Reporter:  chrstphrchvz  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:                |       Port:  XviD
--------------------------+--------------------
 …though I'm not sure why it doesn't work when the pattern seems to clearly
 be in [https://labs.xvid.com/source/ the page loaded] (should match
 `xvidcore-1.3.5.tar.bz2`).
 {{{
 $ port -d livecheck xvid
 […]
 DEBUG: Port (livecheck) version is 1.3.5
 DEBUG: Fetching https://labs.xvid.com/Downloads.43.0.html
 DEBUG: The regex is "xvidcore-([0-9.]+).tar.bz2"
 Error: cannot check if XviD was updated (regex didn't match)
 }}}

 I thought about simplifying this to something like
 `xvidcore-(\d+\.\d+\.\d+)` but that doesn't work either. Anything more
 complex than `(\d+\.\d+)` seems to not work; is there some quirk in
 MacPorts'/Tcl's regex at play here?

 It seems non-ideal for the `.` in `${extract.suffix}` to not be escaped
 (`\.`), but maybe that's not an issue worth worrying about, or
 `${extract.suffix}` might be unnecessary.

 It might also be better to use `livecheck.url ${homepage}source/` since
 that's what the existing one redirects to.

-- 
Ticket URL: <https://trac.macports.org/ticket/58001>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list