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

phw at macports.org phw at macports.org
Thu Jan 12 12:05:40 PST 2012


Revision: 88815
          http://trac.macports.org/changeset/88815
Author:   phw at macports.org
Date:     2012-01-12 12:05:40 -0800 (Thu, 12 Jan 2012)
Log Message:
-----------
py-metar: added livecheck url and regex

Modified Paths:
--------------
    trunk/dports/python/py-metar/Portfile

Modified: trunk/dports/python/py-metar/Portfile
===================================================================
--- trunk/dports/python/py-metar/Portfile	2012-01-12 20:01:52 UTC (rev 88814)
+++ trunk/dports/python/py-metar/Portfile	2012-01-12 20:05:40 UTC (rev 88815)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
@@ -3,18 +4,31 @@
 PortGroup python 1.0
 
-name			py-metar
-version			0.18
-categories		python
-platforms		darwin
-maintainers		phw openmaintainer
-python.versions 24 25 26 27 27
-description		python interface to the weather reports of the NOAA
+name			    py-metar
+version			    0.18
+revision            1
+categories		    python
+platforms		    darwin
+maintainers		    phw openmaintainer
+python.versions     24 25 26 27
+description		    python interface to the weather reports of the NOAA
 long_description	This library downloads the weather report for a \
-				given NOAA station ID (get yours here), decodes it and \
-				provides easy access to all the data found in the \
-				report.
+				    given NOAA station ID (get yours here), decodes it and \
+				    provides easy access to all the data found in the \
+				    report.
 
-homepage		http://www.schwarzvogel.de/software-pymetar.shtml
-master_sites	http://www.schwarzvogel.de/pkgs/
-distname		pymetar-${version}
-checksums       sha1    60c2f0e885dcf69e2b7bd579f945ae591937c75f
+homepage		    http://www.schwarzvogel.de/software-pymetar.shtml
+master_sites	    http://www.schwarzvogel.de/pkgs/
+distname		    pymetar-${version}
+checksums           sha1    60c2f0e885dcf69e2b7bd579f945ae591937c75f
+
+
+post-destroot {
+    #xinstall -m 644 -W ${worksrcpath} COPYING README THANKS librarydoc.txt 
+    xinstall -m 644 -W ${worksrcpath} COPYING README THANKS librarydoc.txt ${destroot}${prefix}/share/doc/${name}
+    #${destroot}${prefix}/share/doc/${name}
+}
+
+
+livecheck.type  regex
+livecheck.url   http://schwarzvogel.de/pkgs/ 
+livecheck.regex {"pymetar-([0-9\.]+)\.tar\.gz"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120112/1328f37d/attachment.html>


More information about the macports-changes mailing list