[80815] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon Jul 18 11:00:18 PDT 2011


Revision: 80815
          http://trac.macports.org/changeset/80815
Author:   jmr at macports.org
Date:     2011-07-18 11:00:17 -0700 (Mon, 18 Jul 2011)
Log Message:
-----------
py*-libxslt: update to build current version, which is now bundled with the libxslt sources (#23139)

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

Modified: trunk/dports/python/py-libxslt/Portfile
===================================================================
--- trunk/dports/python/py-libxslt/Portfile	2011-07-18 16:54:27 UTC (rev 80814)
+++ trunk/dports/python/py-libxslt/Portfile	2011-07-18 18:00:17 UTC (rev 80815)
@@ -2,44 +2,45 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
 
 name                    py-libxslt
-version                 2.6.21
+epoch                   1
+version                 1.1.26
 categories              python textproc
+license                 MIT
 platforms               darwin
 maintainers             sfiera openmaintainer
 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
+homepage                http://xmlsoft.org/XSLT/
+master_sites            ftp://fr.rpmfind.net/pub/libxml/ \
+                        ftp://gd.tuwien.ac.at/pub/libxml/ \
+                        http://xmlsoft.org/sources/ \
+                        ftp://xmlsoft.org/libxslt/
+distname                libxslt-${version}
+dist_subdir             libxslt
+checksums               md5 e61d0364a30146aaa3001296f853b2b9 \
+                        sha1 69f74df8228b504a87e2b257c2d5238281c65154 \
+                        rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f
 
 depends_lib-append      port:libxslt \
-                        port:py-libxml2 \
-                        port:zlib
+                        port:py-libxml2
 
-build.env               LDFLAGS=-L${prefix}/lib
+configure.python        ${prefix}/bin/python2.4
+configure.args          --mandir=${prefix}/share/man \
+                        --enable-static \
+                        --with-libxml-prefix=${prefix} \
+                        --with-python \
+                        --without-crypto
 
-post-patch {
-  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py
-}
+destroot.dir            ${worksrcpath}/python
 
 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}
-      }
-    }
-  }
+    move ${destroot}${prefix}/share/doc/libxslt-python-${version} \
+         ${destroot}${prefix}/share/doc/${name}
 }
 
-livecheck.type          md5
-livecheck.url           ftp://xmlsoft.org/libxml2/python/
-livecheck.md5           a2cc31311f1b3fb52a08cf1056efda11
+livecheck.type  regex
+livecheck.url   ${homepage}news.html
+livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}

Modified: trunk/dports/python/py25-libxslt/Portfile
===================================================================
--- trunk/dports/python/py25-libxslt/Portfile	2011-07-18 16:54:27 UTC (rev 80814)
+++ trunk/dports/python/py25-libxslt/Portfile	2011-07-18 18:00:17 UTC (rev 80815)
@@ -1,45 +1,44 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python25 1.0
 
 name                    py25-libxslt
-version                 2.6.21
+epoch                   1
+version                 1.1.26
 categories              python textproc
+license                 MIT
 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
+homepage                http://xmlsoft.org/XSLT/
+master_sites            ftp://fr.rpmfind.net/pub/libxml/ \
+                        ftp://gd.tuwien.ac.at/pub/libxml/ \
+                        http://xmlsoft.org/sources/ \
+                        ftp://xmlsoft.org/libxslt/
+distname                libxslt-${version}
+dist_subdir             libxslt
+checksums               md5 e61d0364a30146aaa3001296f853b2b9 \
+                        sha1 69f74df8228b504a87e2b257c2d5238281c65154 \
+                        rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f
 
 depends_lib-append      port:libxslt \
-                        port:py25-libxml2 \
-                        port:zlib
+                        port:py25-libxml2
 
-build.env               LDFLAGS=-L${prefix}/lib
+configure.python        ${prefix}/bin/python2.5
+configure.args          --mandir=${prefix}/share/man \
+                        --enable-static \
+                        --with-libxml-prefix=${prefix} \
+                        --with-python \
+                        --without-crypto
 
-post-patch {
-  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py
-}
-
+destroot.dir            ${worksrcpath}/python
 post-destroot {
-  # 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 "*libxml2*" ${file}]} {
-         file delete ${file}
-      }
-    }
-  }
+    move ${destroot}${prefix}/share/doc/libxslt-python-${version} \
+         ${destroot}${prefix}/share/doc/${name}
 }
 
-livecheck.type          regex
-livecheck.url           ftp://xmlsoft.org/libxml2/python/
-livecheck.regex         {libxml2-python-(.*)\.tar\.gz}
-
+livecheck.type  regex
+livecheck.url   ${homepage}news.html
+livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}

Modified: trunk/dports/python/py26-libxslt/Portfile
===================================================================
--- trunk/dports/python/py26-libxslt/Portfile	2011-07-18 16:54:27 UTC (rev 80814)
+++ trunk/dports/python/py26-libxslt/Portfile	2011-07-18 18:00:17 UTC (rev 80815)
@@ -1,45 +1,45 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python26 1.0
 
 name                    py26-libxslt
-version                 2.6.21
+epoch                   1
+version                 1.1.26
 categories              python textproc
+license                 MIT
 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
+homepage                http://xmlsoft.org/XSLT/
+master_sites            ftp://fr.rpmfind.net/pub/libxml/ \
+                        ftp://gd.tuwien.ac.at/pub/libxml/ \
+                        http://xmlsoft.org/sources/ \
+                        ftp://xmlsoft.org/libxslt/
+distname                libxslt-${version}
+dist_subdir             libxslt
+checksums               md5 e61d0364a30146aaa3001296f853b2b9 \
+                        sha1 69f74df8228b504a87e2b257c2d5238281c65154 \
+                        rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f
 
 depends_lib-append      port:libxslt \
-                        port:py26-libxml2 \
-                        port:zlib
+                        port:py26-libxml2
 
-build.env               LDFLAGS=-L${prefix}/lib
+configure.python        ${prefix}/bin/python2.6
+configure.args          --mandir=${prefix}/share/man \
+                        --enable-static \
+                        --with-libxml-prefix=${prefix} \
+                        --with-python \
+                        --without-crypto
 
-post-patch {
-  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py
-}
-
+destroot.dir            ${worksrcpath}/python
+destroot.args           PYTHON_SITE_PACKAGES="${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages"
 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}
-      }
-    }
-  }
+    move ${destroot}${prefix}/share/doc/libxslt-python-${version} \
+         ${destroot}${prefix}/share/doc/${name}
 }
 
-livecheck.type          regex
-livecheck.url           ftp://xmlsoft.org/libxml2/python/
-livecheck.regex         {libxml2-python-(.*)\.tar\.gz}
-
+livecheck.type  regex
+livecheck.url   ${homepage}news.html
+livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110718/1a96b11b/attachment-0001.html>


More information about the macports-changes mailing list