[82300] trunk/dports/python/py-tz/Portfile

ram at macports.org ram at macports.org
Fri Aug 12 06:26:32 PDT 2011


Revision: 82300
          http://trac.macports.org/changeset/82300
Author:   ram at macports.org
Date:     2011-08-12 06:26:32 -0700 (Fri, 12 Aug 2011)
Log Message:
-----------
python/py-tz: update to 2011h

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

Modified: trunk/dports/python/py-tz/Portfile
===================================================================
--- trunk/dports/python/py-tz/Portfile	2011-08-12 13:26:10 UTC (rev 82299)
+++ trunk/dports/python/py-tz/Portfile	2011-08-12 13:26:32 UTC (rev 82300)
@@ -4,7 +4,8 @@
 PortGroup       python24 1.0
 
 name            py-tz
-version         2009a
+set my_name     pytz
+version         2011h
 categories      python devel
 platforms       darwin
 supported_archs noarch
@@ -17,7 +18,20 @@
 
 homepage        http://pytz.sourceforge.net/
 master_sites    http://cheeseshop.python.org/packages/source/p/pytz/
-distname        pytz-${version}
-use_bzip2       yes
+distname        ${my_name}-${version}
+#use_zip         yes
 
-checksums       md5 454be5c4b09ab879bb3a98be0b44f674
+checksums       md5 37248de48c28e1ae4ffb5ee47a298e4c \
+                sha1 46d8c71eb06631bc50fc1671b7a071758655a236 \
+                rmd160 30fb4fb855615df2ac8ca10cd160b7286a14bd10
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}-${version}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W $worksrcpath CHANGES.txt LICENSE.txt README.txt \
+        ${destroot}${docdir}
+}
+
+livecheck.type  regex
+livecheck.url   ${master_sites}?C=M&O=D
+livecheck.regex ${my_name}-(\\d+\\w?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110812/d1739a3e/attachment.html>


More information about the macports-changes mailing list