New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80815


Ignore:
Timestamp:
07/18/11 11:00:17 (4 years ago)
Author:
jmr@…
Message:

py*-libxslt: update to build current version, which is now bundled with the libxslt sources (#23139)

Location:
trunk/dports/python
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-libxslt/Portfile

    r57375 r80815  
    33 
    44PortSystem 1.0 
    5 PortGroup python24 1.0 
    65 
    76name                    py-libxslt 
    8 version                 2.6.21 
     7epoch                   1 
     8version                 1.1.26 
    99categories              python textproc 
     10license                 MIT 
    1011platforms               darwin 
    1112maintainers             sfiera openmaintainer 
     
    1314long_description        ${description} 
    1415 
    15 homepage                http://xmlsoft.org/ 
    16 master_sites            ftp://xmlsoft.org/libxml2/python/ 
    17 distname                libxml2-python-${version} 
    18 checksums               md5 229dd2b3d110a77defeeaa73af83f7f3 
    19 patchfiles              patch-setup.py.diff 
     16homepage                http://xmlsoft.org/XSLT/ 
     17master_sites            ftp://fr.rpmfind.net/pub/libxml/ \ 
     18                        ftp://gd.tuwien.ac.at/pub/libxml/ \ 
     19                        http://xmlsoft.org/sources/ \ 
     20                        ftp://xmlsoft.org/libxslt/ 
     21distname                libxslt-${version} 
     22dist_subdir             libxslt 
     23checksums               md5 e61d0364a30146aaa3001296f853b2b9 \ 
     24                        sha1 69f74df8228b504a87e2b257c2d5238281c65154 \ 
     25                        rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f 
    2026 
    2127depends_lib-append      port:libxslt \ 
    22                         port:py-libxml2 \ 
    23                         port:zlib 
     28                        port:py-libxml2 
    2429 
    25 build.env               LDFLAGS=-L${prefix}/lib 
     30configure.python        ${prefix}/bin/python2.4 
     31configure.args          --mandir=${prefix}/share/man \ 
     32                        --enable-static \ 
     33                        --with-libxml-prefix=${prefix} \ 
     34                        --with-python \ 
     35                        --without-crypto 
    2636 
    27 post-patch { 
    28   reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 
     37destroot.dir            ${worksrcpath}/python 
     38 
     39post-destroot { 
     40    move ${destroot}${prefix}/share/doc/libxslt-python-${version} \ 
     41         ${destroot}${prefix}/share/doc/${name} 
    2942} 
    3043 
    31 post-destroot { 
    32   # strip out anything not related to libxslt, so py-libxml2 doesn't conflict 
    33   # with py-libxml2 
    34   fs-traverse file ${destroot} { 
    35     if {[file isfile ${file}]} { 
    36       if {![string match "*xslt*" ${file}]} { 
    37           file delete ${file} 
    38       } 
    39     } 
    40   } 
    41 } 
    42  
    43 livecheck.type          md5 
    44 livecheck.url           ftp://xmlsoft.org/libxml2/python/ 
    45 livecheck.md5           a2cc31311f1b3fb52a08cf1056efda11 
     44livecheck.type  regex 
     45livecheck.url   ${homepage}news.html 
     46livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 
  • trunk/dports/python/py25-libxslt/Portfile

    r57375 r80815  
    22 
    33PortSystem 1.0 
    4 PortGroup python25 1.0 
    54 
    65name                    py25-libxslt 
    7 version                 2.6.21 
     6epoch                   1 
     7version                 1.1.26 
    88categories              python textproc 
     9license                 MIT 
    910platforms               darwin 
    1011maintainers             nomaintainer 
     
    1213long_description        ${description} 
    1314 
    14 homepage                http://xmlsoft.org/ 
    15 master_sites            ftp://xmlsoft.org/libxml2/python/ 
    16 distname                libxml2-python-${version} 
    17 checksums               md5 229dd2b3d110a77defeeaa73af83f7f3 
    18 patchfiles              patch-setup.py.diff 
     15homepage                http://xmlsoft.org/XSLT/ 
     16master_sites            ftp://fr.rpmfind.net/pub/libxml/ \ 
     17                        ftp://gd.tuwien.ac.at/pub/libxml/ \ 
     18                        http://xmlsoft.org/sources/ \ 
     19                        ftp://xmlsoft.org/libxslt/ 
     20distname                libxslt-${version} 
     21dist_subdir             libxslt 
     22checksums               md5 e61d0364a30146aaa3001296f853b2b9 \ 
     23                        sha1 69f74df8228b504a87e2b257c2d5238281c65154 \ 
     24                        rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f 
    1925 
    2026depends_lib-append      port:libxslt \ 
    21                         port:py25-libxml2 \ 
    22                         port:zlib 
     27                        port:py25-libxml2 
    2328 
    24 build.env               LDFLAGS=-L${prefix}/lib 
     29configure.python        ${prefix}/bin/python2.5 
     30configure.args          --mandir=${prefix}/share/man \ 
     31                        --enable-static \ 
     32                        --with-libxml-prefix=${prefix} \ 
     33                        --with-python \ 
     34                        --without-crypto 
    2535 
    26 post-patch { 
    27   reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 
     36destroot.dir            ${worksrcpath}/python 
     37post-destroot { 
     38    move ${destroot}${prefix}/share/doc/libxslt-python-${version} \ 
     39         ${destroot}${prefix}/share/doc/${name} 
    2840} 
    2941 
    30 post-destroot { 
    31   # strip out anything not related to libxslt, so this doesn't conflict 
    32   # with py25-libxml2 
    33   fs-traverse file ${destroot} { 
    34     if {[file isfile ${file}]} { 
    35       if {[string match "*libxml2*" ${file}]} { 
    36          file delete ${file} 
    37       } 
    38     } 
    39   } 
    40 } 
    41  
    42 livecheck.type          regex 
    43 livecheck.url           ftp://xmlsoft.org/libxml2/python/ 
    44 livecheck.regex         {libxml2-python-(.*)\.tar\.gz} 
    45  
     42livecheck.type  regex 
     43livecheck.url   ${homepage}news.html 
     44livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 
  • trunk/dports/python/py26-libxslt/Portfile

    r57375 r80815  
    22 
    33PortSystem 1.0 
    4 PortGroup python26 1.0 
    54 
    65name                    py26-libxslt 
    7 version                 2.6.21 
     6epoch                   1 
     7version                 1.1.26 
    88categories              python textproc 
     9license                 MIT 
    910platforms               darwin 
    1011maintainers             nomaintainer 
     
    1213long_description        ${description} 
    1314 
    14 homepage                http://xmlsoft.org/ 
    15 master_sites            ftp://xmlsoft.org/libxml2/python/ 
    16 distname                libxml2-python-${version} 
    17 checksums               md5 229dd2b3d110a77defeeaa73af83f7f3 
    18 patchfiles              patch-setup.py.diff 
     15homepage                http://xmlsoft.org/XSLT/ 
     16master_sites            ftp://fr.rpmfind.net/pub/libxml/ \ 
     17                        ftp://gd.tuwien.ac.at/pub/libxml/ \ 
     18                        http://xmlsoft.org/sources/ \ 
     19                        ftp://xmlsoft.org/libxslt/ 
     20distname                libxslt-${version} 
     21dist_subdir             libxslt 
     22checksums               md5 e61d0364a30146aaa3001296f853b2b9 \ 
     23                        sha1 69f74df8228b504a87e2b257c2d5238281c65154 \ 
     24                        rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f 
    1925 
    2026depends_lib-append      port:libxslt \ 
    21                         port:py26-libxml2 \ 
    22                         port:zlib 
     27                        port:py26-libxml2 
    2328 
    24 build.env               LDFLAGS=-L${prefix}/lib 
     29configure.python        ${prefix}/bin/python2.6 
     30configure.args          --mandir=${prefix}/share/man \ 
     31                        --enable-static \ 
     32                        --with-libxml-prefix=${prefix} \ 
     33                        --with-python \ 
     34                        --without-crypto 
    2535 
    26 post-patch { 
    27   reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 
     36destroot.dir            ${worksrcpath}/python 
     37destroot.args           PYTHON_SITE_PACKAGES="${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages" 
     38post-destroot { 
     39    move ${destroot}${prefix}/share/doc/libxslt-python-${version} \ 
     40         ${destroot}${prefix}/share/doc/${name} 
    2841} 
    2942 
    30 post-destroot { 
    31   # strip out anything not related to libxslt, so this doesn't conflict 
    32   # with py26-libxml2 
    33   fs-traverse file ${destroot} { 
    34     if {[file isfile ${file}]} { 
    35       if {[string match "*libxml2*" ${file}]} { 
    36          file delete ${file} 
    37       } 
    38     } 
    39   } 
    40 } 
    41  
    42 livecheck.type          regex 
    43 livecheck.url           ftp://xmlsoft.org/libxml2/python/ 
    44 livecheck.regex         {libxml2-python-(.*)\.tar\.gz} 
    45  
     43livecheck.type  regex 
     44livecheck.url   ${homepage}news.html 
     45livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 
Note: See TracChangeset for help on using the changeset viewer.