Livecheck and the github port group

Adam Mercer ram at macports.org
Sat Nov 17 08:31:08 PST 2012


Hi

I'm trying to get the py-matplotlib port updated to the 1.2.0 version
and as they have moved development over to github I'm trying to use
the github port group to make things easier.

So far everything seems to be working fine apart from the livecheck.
Tags for the release candiate versions are getting returned as newer
versions, i.e. version 1.2.0 is the lastest stable release but
livecheck thinks that 1.2.0rc3 is a newer release.

I have the following:

github.setup       matplotlib matplotlib 1.2.0 v

and then the following exception for the subports:

if {${name} != ${subport}} {
  livecheck.type     none
}

however when I run livecheck I get told:

[ram at cizin py-matplotlib]$ port livecheck
py-matplotlib seems to have been updated (port version: 1.2.0, new
version: 1.2.0rc3)
[ram at cizin py-matplotlib]$

I imagine I need to use a custom livecheck but am not very comfortable
with regular expressions so I don't know how to modify the livecheck,
as supplied by the port group, to ignore release candidates. Can
anyone offer any suggestions?

Cheers

Adam


More information about the macports-dev mailing list