[31155] trunk/dports/python/py-dateutil/Portfile

ram at macports.org ram at macports.org
Fri Nov 16 18:59:42 PST 2007


Revision: 31155
          http://trac.macosforge.org/projects/macports/changeset/31155
Author:   ram at macports.org
Date:     2007-11-16 18:59:40 -0800 (Fri, 16 Nov 2007)

Log Message:
-----------
make consistent with python25 version of port

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

Modified: trunk/dports/python/py-dateutil/Portfile
===================================================================
--- trunk/dports/python/py-dateutil/Portfile	2007-11-17 02:55:04 UTC (rev 31154)
+++ trunk/dports/python/py-dateutil/Portfile	2007-11-17 02:59:40 UTC (rev 31155)
@@ -4,7 +4,9 @@
 PortGroup         python24 1.0
 
 name              py-dateutil
+set my_name       python-dateutil
 version           1.2
+revision          1
 categories        python
 platforms         darwin
 maintainers       ram openmaintainer
@@ -14,17 +16,27 @@
 
 homepage          http://labix.org/python-dateutil
 master_sites      http://labix.org/download/python-dateutil
-distname          python-dateutil-${version}
+distname          ${my_name}-${version}
 use_bzip2         yes
 
-checksums         md5 6ff3de3ab61fd4ad92dceea36f7121b4
+checksums         md5 6ff3de3ab61fd4ad92dceea36f7121b4 \
+                  sha1 9884849261bc9dd64f7dd05a39e62385a30b5819 \
+                  rmd160 31e62aceb2ce980b5cfb64841f7d125f817f618b
 
+depends_run       port:py-tz
+
 test.run          yes
 test.cmd          ${python.bin} test.py
 test.target
 test.env          PYTHONPATH=${worksrcpath}/build/lib
 
 post-destroot {
-  xinstall -m 644 -W ${worksrcpath} LICENSE README \
-    ${destroot}${prefix}/share/doc/${name}
+  set docdir ${prefix}/share/doc/${name}-${version}
+  xinstall -d ${destroot}${docdir}
+  xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${detroot}${docdir}
 }
+
+universal_variant no
+
+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/20071116/5d4ecf22/attachment.html


More information about the macports-changes mailing list