[59446] trunk/dports/python/py25-pybtex/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Oct 15 00:57:15 PDT 2009


On Oct 15, 2009, at 02:43, lightnin at macports.org wrote:

> Revision: 59446
>          http://trac.macports.org/changeset/59446
> Author:   lightnin at macports.org
> Date:     2009-10-15 00:43:04 -0700 (Thu, 15 Oct 2009)
> Log Message:
> -----------
> Updated py25-pybtex to latest version 0.11 from september 7th 2009.


> Modified Paths:
> --------------
>    trunk/dports/python/py25-pybtex/Portfile
>
> Modified: trunk/dports/python/py25-pybtex/Portfile
> ===================================================================
> --- trunk/dports/python/py25-pybtex/Portfile	2009-10-15 06:53:44 UTC  
> (rev 59445)
> +++ trunk/dports/python/py25-pybtex/Portfile	2009-10-15 07:43:04 UTC  
> (rev 59446)
> @@ -5,10 +5,10 @@
> PortGroup           python25 1.0
>
> name                py25-pybtex
> -version             20090402
> +version             0.11

MacPorts isn't going to know on its own that "0.11" is supposed to be  
considered newer than "20090402". It's going to compare the first dot- 
separated number of each, see that "0" is smaller than "20090402", and  
not show the port in "port outdated". To fix this, I increased the  
epoch from its default 0 to 1. Keep this in mind any time you upgrade  
the version in a way that the version numbers do not increase in the  
usual way.

Note that the epoch line can never be removed from a portfile. The  
epoch can only ever increase.




More information about the macports-dev mailing list