[29562] trunk/dports/python/py-ply/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 29 13:23:02 PDT 2007


Revision: 29562
          http://trac.macosforge.org/projects/macports/changeset/29562
Author:   nox at macports.org
Date:     2007-09-29 13:23:02 -0700 (Sat, 29 Sep 2007)

Log Message:
-----------
py-ply:
 * Updated to 2.3.
 * Changed docdir name to a versioned one.
 * Added standard doc install.
 * Added sha1 and rmd160 checksums.
 * Added livecheck.
 * Taken over.

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

Modified: trunk/dports/python/py-ply/Portfile
===================================================================
--- trunk/dports/python/py-ply/Portfile	2007-09-29 20:15:39 UTC (rev 29561)
+++ trunk/dports/python/py-ply/Portfile	2007-09-29 20:23:02 UTC (rev 29562)
@@ -4,11 +4,13 @@
 PortGroup       python24 1.0
 
 name            py-ply
-version         2.2
-categories      python lang devel
+set my_name     ply
+version         2.3
+categories-append   lang devel
 platforms       darwin
-maintainers     nomaintainer
+maintainers     nox
 description     lex and yacc implementation for Python
+
 long_description \
     ${description}
 
@@ -16,10 +18,21 @@
 master_sites    ${homepage}
 distname        ply-${version}
 
-checksums       sha1 5ab8b06a52bfdd81243169e03a462bd84c6259f7
+checksums       md5 e406e5eef98661d395d901f8cc3d1219 \
+                sha1 2e322cb71a2c9c3fc17cc601de7da26156b00792 \
+                rmd160 4157470feabc38cc01c764bfd72d6e1dc70cf12f
 
 post-destroot {
-    xinstall -m 644 -W ${worksrcpath}/doc ply.html \
-        ${destroot}${prefix}/share/doc/${name}
+    set docdir ${prefix}/share/doc/${my_name}-${version}
+    xinstall -d ${destroot}${docdir}/html
+
+    xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES COPYING README \
+        TODO ${destroot}${docdir}
+
+    xinstall -m 0644 ${worksrcpath}/doc/ply.html \
+        ${destroot}${docdir}/html
 }
 
+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/20070929/6d2a7925/attachment.html


More information about the macports-changes mailing list