[49556] trunk/dports/python/py25-libxslt/Portfile

blb at macports.org blb at macports.org
Sun Apr 12 00:28:24 PDT 2009


Revision: 49556
          http://trac.macports.org/changeset/49556
Author:   blb at macports.org
Date:     2009-04-12 00:28:20 -0700 (Sun, 12 Apr 2009)
Log Message:
-----------
python/py25-libxslt - fix removal of files which interfere with py25-libxml2
since the build path will most like contain the port's name and, hence,
always match "*xslt*" (ticket #16795)
use regex instead of md5 for livecheck

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

Modified: trunk/dports/python/py25-libxslt/Portfile
===================================================================
--- trunk/dports/python/py25-libxslt/Portfile	2009-04-12 07:08:14 UTC (rev 49555)
+++ trunk/dports/python/py25-libxslt/Portfile	2009-04-12 07:28:20 UTC (rev 49556)
@@ -28,17 +28,18 @@
 }
 
 post-destroot {
-  # strip out anything not related to libxslt, so py-libxml2 doesn't conflict
-  # with py-libxml2
+  # strip out anything not related to libxslt, so this doesn't conflict
+  # with py25-libxml2
   fs-traverse file ${destroot} {
     if {[file isfile ${file}]} {
-      if {![string match "*xslt*" ${file}]} {
+      if {[string match "*libxml2*" ${file}]} {
          file delete ${file}
       }
     }
   }
 }
 
-livecheck.check         md5
+livecheck.check         regex
 livecheck.url           ftp://xmlsoft.org/libxml2/python/
-livecheck.md5           a2cc31311f1b3fb52a08cf1056efda11
+livecheck.regex         {libxml2-python-(.*)\.tar\.gz}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090412/dca66cba/attachment.html>


More information about the macports-changes mailing list