[30118] trunk/dports/python/py25-dateutil/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Oct 20 06:22:46 PDT 2007


Revision: 30118
          http://trac.macosforge.org/projects/macports/changeset/30118
Author:   nox at macports.org
Date:     2007-10-20 06:22:45 -0700 (Sat, 20 Oct 2007)

Log Message:
-----------
py25-dateutil:
 * Added livecheck.
 * Added sha1 and rmd160 checksums.
 * Whitespace changes.

Modified Paths:
--------------
    trunk/dports/python/py25-dateutil/Portfile

Modified: trunk/dports/python/py25-dateutil/Portfile
===================================================================
--- trunk/dports/python/py25-dateutil/Portfile	2007-10-20 10:37:54 UTC (rev 30117)
+++ trunk/dports/python/py25-dateutil/Portfile	2007-10-20 13:22:45 UTC (rev 30118)
@@ -1,28 +1,38 @@
 # $Id$
 
-PortSystem 1.0
-PortGroup python25 1.0
+PortSystem      1.0
+PortGroup       python25 1.0
 
-name			py25-dateutil
-version			1.2
-categories		python
-platforms		darwin
-maintainers		nomaintainer at macports.org
-description		powerful extensions to the standard python datetime module
-long_description	"${description}"
+name            py25-dateutil
+set my_name     python-dateutil
+version         1.2
+categories      python
+platforms       darwin
+maintainers     nomaintainer
+description     powerful extensions to the standard python datetime module
 
-homepage		http://labix.org/python-dateutil
-master_sites		http://labix.org/download/python-dateutil
-checksums		md5 6ff3de3ab61fd4ad92dceea36f7121b4
-distname		python-dateutil-${version}
-use_bzip2		yes
+long_description \
+    ${description}
 
-test.run		yes
-test.cmd		${python.bin} test.py
+homepage        http://labix.org/python-dateutil
+master_sites    http://labix.org/download/python-dateutil
+distname        ${my_name}-${version}
+use_bzip2       yes
+
+checksums       md5 6ff3de3ab61fd4ad92dceea36f7121b4 \
+                sha1 9884849261bc9dd64f7dd05a39e62385a30b5819 \
+                rmd160 31e62aceb2ce980b5cfb64841f7d125f817f618b
+
+test.run        yes
+test.cmd        ${python.bin} test.py
 test.target
-test.env		PYTHONPATH=${worksrcpath}/build/lib
+test.env        PYTHONPATH=${worksrcpath}/build/lib
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} LICENSE README \
-		${destroot}${prefix}/share/doc/${name}
+post-destroot   {
+    xinstall -m 0644 -W ${worksrcpath} LICENSE README \
+        ${destroot}${prefix}/share/doc/${name}
 }
+
+livecheck.check regex
+livecheck.regex /${my_name}-(\\d+(?:\\.\\d+)*)
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071020/ca15de80/attachment.html


More information about the macports-changes mailing list