[92296] trunk/dports/python/py-metar/Portfile

Ryan Schmidt ryandesign at macports.org
Tue Apr 24 06:06:55 PDT 2012


On Apr 24, 2012, at 07:04, phw at macports.org wrote:

> Revision: 92296
>          https://trac.macports.org/changeset/92296
> Author:   phw at macports.org
> Date:     2012-04-24 05:04:09 -0700 (Tue, 24 Apr 2012)
> Log Message:
> -----------
> updated py-metar 0.17 to 0.18
> 
> Modified Paths:
> --------------
>    trunk/dports/python/py-metar/Portfile
> 
> Modified: trunk/dports/python/py-metar/Portfile
> ===================================================================
> --- trunk/dports/python/py-metar/Portfile	2012-04-24 11:56:48 UTC (rev 92295)
> +++ trunk/dports/python/py-metar/Portfile	2012-04-24 12:04:09 UTC (rev 92296)
> @@ -5,7 +5,7 @@
> PortGroup python 1.0
> 
> name			    py-metar
> -version			    0.18
> +version			    0.19
> revision            2
> categories		    python
> platforms		    darwin

Don't change it now but remember for future reference that whenever the version is increased, the revision should be set to 0, for example by deleting the revision line.

> @@ -20,7 +20,7 @@
> homepage		    http://www.schwarzvogel.de/software-pymetar.shtml
> master_sites	    http://www.schwarzvogel.de/pkgs/
> distname		    pymetar-${version}
> -checksums           sha1    60c2f0e885dcf69e2b7bd579f945ae591937c75f
> +checksums           sha1    968c4ec413f034e1ba7da99e91bd5e048fbf53c0
> 
> livecheck.type  regex
> livecheck.url   http://schwarzvogel.de/pkgs/ 

Remember that it's best to use two checksum types per distfile, not just one—specifically, rmd160 and sha256. You can simply remove the checksums line, then run "sudo port -d checksum" to have MacPorts generate the checksums lines for you, then you can copy them into the Portfile.




More information about the macports-dev mailing list