[49557] trunk/dports/python

blb at macports.org blb at macports.org
Sun Apr 12 00:33:07 PDT 2009


Revision: 49557
          http://trac.macports.org/changeset/49557
Author:   blb at macports.org
Date:     2009-04-12 00:33:07 -0700 (Sun, 12 Apr 2009)
Log Message:
-----------
New port - py26-libxslt, Python bindings for libxslt (ticket #18022)

Added Paths:
-----------
    trunk/dports/python/py26-libxslt/
    trunk/dports/python/py26-libxslt/Portfile

Removed Paths:
-------------
    trunk/dports/python/py26-libxslt/Portfile

Deleted: trunk/dports/python/py26-libxslt/Portfile
===================================================================
--- trunk/dports/python/py25-libxslt/Portfile	2009-04-11 22:23:44 UTC (rev 49535)
+++ trunk/dports/python/py26-libxslt/Portfile	2009-04-12 07:33:07 UTC (rev 49557)
@@ -1,44 +0,0 @@
-# $Id$
-
-PortSystem 1.0
-PortGroup python25 1.0
-
-name                    py25-libxslt
-version                 2.6.21
-categories              python textproc
-platforms               darwin
-maintainers             nomaintainer
-description             Python bindings for libxslt
-long_description        ${description}
-
-homepage                http://xmlsoft.org/
-master_sites            ftp://xmlsoft.org/libxml2/python/
-distname                libxml2-python-${version}
-checksums               md5 229dd2b3d110a77defeeaa73af83f7f3
-patchfiles              patch-setup.py.diff
-
-depends_lib-append      port:libxslt \
-                        port:py25-libxml2 \
-                        port:zlib
-
-build.env               LDFLAGS=-L${prefix}/lib
-
-post-patch {
-  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py
-}
-
-post-destroot {
-  # strip out anything not related to libxslt, so py-libxml2 doesn't conflict
-  # with py-libxml2
-  fs-traverse file ${destroot} {
-    if {[file isfile ${file}]} {
-      if {![string match "*xslt*" ${file}]} {
-         file delete ${file}
-      }
-    }
-  }
-}
-
-livecheck.check         md5
-livecheck.url           ftp://xmlsoft.org/libxml2/python/
-livecheck.md5           a2cc31311f1b3fb52a08cf1056efda11

Copied: trunk/dports/python/py26-libxslt/Portfile (from rev 49556, trunk/dports/python/py25-libxslt/Portfile)
===================================================================
--- trunk/dports/python/py26-libxslt/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-libxslt/Portfile	2009-04-12 07:33:07 UTC (rev 49557)
@@ -0,0 +1,45 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name                    py26-libxslt
+version                 2.6.21
+categories              python textproc
+platforms               darwin
+maintainers             nomaintainer
+description             Python bindings for libxslt
+long_description        ${description}
+
+homepage                http://xmlsoft.org/
+master_sites            ftp://xmlsoft.org/libxml2/python/
+distname                libxml2-python-${version}
+checksums               md5 229dd2b3d110a77defeeaa73af83f7f3
+patchfiles              patch-setup.py.diff
+
+depends_lib-append      port:libxslt \
+                        port:py26-libxml2 \
+                        port:zlib
+
+build.env               LDFLAGS=-L${prefix}/lib
+
+post-patch {
+  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py
+}
+
+post-destroot {
+  # strip out anything not related to libxslt, so this doesn't conflict
+  # with py26-libxml2
+  fs-traverse file ${destroot} {
+    if {[file isfile ${file}]} {
+      if {[string match "*libxml2*" ${file}]} {
+         file delete ${file}
+      }
+    }
+  }
+}
+
+livecheck.check         regex
+livecheck.url           ftp://xmlsoft.org/libxml2/python/
+livecheck.regex         {libxml2-python-(.*)\.tar\.gz}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090412/2613c1cf/attachment.html>


More information about the macports-changes mailing list