New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80814


Ignore:
Timestamp:
07/18/11 09:54:27 (4 years ago)
Author:
jmr@…
Message:

py*-libxml2: update to 2.7.8 (#23139)

Location:
trunk/dports/python
Files:
5 edited

Legend:

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

    r80680 r80814  
    66 
    77name                    py-libxml2 
    8 version                 2.6.21 
     8version                 2.7.8 
    99categories              python textproc 
    1010license                 MIT 
     
    1515 
    1616homepage                http://xmlsoft.org/ 
    17 master_sites            ftp://xmlsoft.org/libxml2/python/ 
    18 distname                libxml2-python-${version} 
    19 checksums               md5 229dd2b3d110a77defeeaa73af83f7f3 
     17master_sites            ftp://fr.rpmfind.net/pub/libxml/ \ 
     18                        ftp://gd.tuwien.ac.at/pub/libxml/ \ 
     19                        ${homepage}sources/ \ 
     20                        ftp://xmlsoft.org/libxml2/ 
     21distname                libxml2-${version} 
     22dist_subdir             libxml2 
     23checksums               md5 8127a65e8c3b08856093099b52599c86 \ 
     24                        sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 
     25                        rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 
     26 
     27depends_lib-append      port:libxml2 
     28 
     29worksrcdir              ${worksrcdir}/python 
     30 
    2031patchfiles              patch-setup.py.diff 
    21  
    22 depends_lib-append      port:libxml2 \ 
    23                         port:zlib 
    24  
    25 build.env               LDFLAGS=-L${prefix}/lib 
    26  
    2732post-patch { 
    2833  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 
     
    3035 
    3136post-destroot { 
    32   # strip out anything related to libxslt, so py-libxml2 doesn't conflict with 
    33   # py-libxslt 
    34   fs-traverse file ${destroot} { 
    35     if {[file isfile ${file}]} { 
    36       if {[string match "*xslt*" ${file}]} { 
    37           file delete ${file} 
    38       } 
    39     } 
    40   } 
     37  set docdir ${prefix}/share/doc/${name} 
     38  xinstall -d ${destroot}${docdir} 
    4139  xinstall -m 644 -W ${worksrcpath} README TODO \ 
    4240    ${destroot}${prefix}/share/doc/${name} 
    4341} 
    4442 
    45 livecheck.type          md5 
    46 livecheck.url           ftp://xmlsoft.org/libxml2/python/ 
    47 livecheck.md5           a2cc31311f1b3fb52a08cf1056efda11 
     43livecheck.type  regex 
     44livecheck.url   ${homepage}news.html 
     45livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 
  • trunk/dports/python/py-libxml2/files/patch-setup.py.diff

    r25950 r80814  
    1 --- setup.py    2005-09-04 19:12:47.000000000 -0400 
    2 +++ setup.py.new        2007-05-16 07:46:02.000000000 -0400 
     1--- setup.py.orig       2007-10-11 15:24:20.000000000 +0200 
     2+++ setup.py    2007-10-11 15:24:54.000000000 +0200 
    33@@ -56,11 +56,7 @@ 
    44 # - iconv.h  
     
    2323  
    2424 xml_files = ["libxml2-api.xml", "libxml2-python-api.xml", 
     25@@ -122,32 +118,6 @@ 
     26     result.close() 
     27  
     28 with_xslt=0 
     29-if missing("libxslt-py.c") or missing("libxslt.py"): 
     30-    if missing("xsltgenerator.py") or missing("libxslt-api.xml"): 
     31-        print "libxslt stub generator not found, libxslt not built" 
     32-    else: 
     33-       try: 
     34-           import xsltgenerator 
     35-       except: 
     36-           print "failed to generate stubs for libxslt, aborting ..." 
     37-           print sys.exc_type, sys.exc_value 
     38-       else: 
     39-           head = open("libxsl.py", "r") 
     40-           generated = open("libxsltclass.py", "r") 
     41-           result = open("libxslt.py", "w") 
     42-           for line in head.readlines(): 
     43-                if WITHDLLS: 
     44-                    result.write(altImport(line)) 
     45-                else: 
     46-                    result.write(line) 
     47-           for line in generated.readlines(): 
     48-               result.write(line) 
     49-           head.close() 
     50-           generated.close() 
     51-           result.close() 
     52-           with_xslt=1 
     53-else: 
     54-    with_xslt=1 
     55  
     56 if with_xslt == 1: 
     57     xslt_includes="" 
  • trunk/dports/python/py25-libxml2/Portfile

    r80680 r80814  
    66 
    77name                    py25-libxml2 
    8 version                 2.6.21 
    9 revision                1 
     8version                 2.7.8 
    109categories              python textproc 
    1110license                 MIT 
     
    1514long_description        ${description} 
    1615 
    17 homepage                http://xmlsoft.org/python.html 
    18 master_sites            ftp://xmlsoft.org/libxml2/python/ 
    19 distname                libxml2-python-${version} 
     16homepage                http://xmlsoft.org/ 
     17master_sites            ftp://fr.rpmfind.net/pub/libxml/ \ 
     18                        ftp://gd.tuwien.ac.at/pub/libxml/ \ 
     19                        ${homepage}sources/ \ 
     20                        ftp://xmlsoft.org/libxml2/ 
     21distname                libxml2-${version} 
     22dist_subdir             libxml2 
     23checksums               md5 8127a65e8c3b08856093099b52599c86 \ 
     24                        sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 
     25                        rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 
    2026 
    21 checksums               md5 229dd2b3d110a77defeeaa73af83f7f3 \ 
    22                         sha1 2d395e8a5e9accd68f4e78ac2391431ef884e9d5 \ 
    23                         rmd160 d4973576c33e0e65c4fc41b31ee3df5f803abfad 
     27depends_lib-append      port:libxml2 
     28 
     29worksrcdir              ${worksrcdir}/python 
    2430 
    2531patchfiles              patch-setup.py.diff 
    26  
    27 depends_lib-append      port:libxml2 \ 
    28                         port:zlib 
    29  
    30 build.env               LDFLAGS=-L${prefix}/lib 
    31  
    3232post-patch { 
    3333  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 
     
    3535 
    3636post-destroot { 
    37   set docdir ${prefix}/share/doc/${name}-${version} 
     37  set docdir ${prefix}/share/doc/${name} 
    3838  xinstall -d ${destroot}${docdir} 
    3939  xinstall -m 0644 -W ${worksrcpath} README TODO \ 
     
    4141} 
    4242 
    43 livecheck.type          regex 
    44 livecheck.url           http://xmlsoft.org/sources/python/ 
    45 livecheck.regex         {libxml2-python-(\d+(?:\.\d+)*)} 
     43livecheck.type  regex 
     44livecheck.url   ${homepage}news.html 
     45livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 
  • trunk/dports/python/py26-libxml2/Portfile

    r80680 r80814  
    66 
    77name                    py26-libxml2 
    8 version                 2.6.21 
     8version                 2.7.8 
    99categories              python textproc 
    1010license                 MIT 
     
    1414long_description        ${description} 
    1515 
    16 homepage                http://xmlsoft.org/python.html 
    17 master_sites            ftp://xmlsoft.org/libxml2/python/ 
    18 distname                libxml2-python-${version} 
     16homepage                http://xmlsoft.org/ 
     17master_sites            ftp://fr.rpmfind.net/pub/libxml/ \ 
     18                        ftp://gd.tuwien.ac.at/pub/libxml/ \ 
     19                        ${homepage}sources/ \ 
     20                        ftp://xmlsoft.org/libxml2/ 
     21distname                libxml2-${version} 
     22dist_subdir             libxml2 
     23checksums               md5 8127a65e8c3b08856093099b52599c86 \ 
     24                        sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 
     25                        rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 
    1926 
    20 checksums               md5 229dd2b3d110a77defeeaa73af83f7f3 \ 
    21                         sha1 2d395e8a5e9accd68f4e78ac2391431ef884e9d5 \ 
    22                         rmd160 d4973576c33e0e65c4fc41b31ee3df5f803abfad 
     27depends_lib-append      port:libxml2 
     28 
     29worksrcdir              ${worksrcdir}/python 
    2330 
    2431patchfiles              patch-setup.py.diff 
    25  
    26 depends_lib-append      port:libxml2 \ 
    27                         port:zlib 
    28  
    29 build.env               LDFLAGS=-L${prefix}/lib 
    30  
    3132post-patch { 
    3233  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 
     
    3435 
    3536post-destroot { 
    36   set docdir ${prefix}/share/doc/${name}-${version} 
     37  set docdir ${prefix}/share/doc/${name} 
    3738  xinstall -d ${destroot}${docdir} 
    3839  xinstall -m 0644 -W ${worksrcpath} README TODO \ 
     
    4041} 
    4142 
    42 livecheck.type          regex 
    43 livecheck.url           ftp://xmlsoft.org/libxml2/python/ 
    44 livecheck.regex         {python-(\d+(?:\.\d+)*)} 
     43livecheck.type  regex 
     44livecheck.url   ${homepage}news.html 
     45livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 
  • trunk/dports/python/py27-libxml2/Portfile

    r80680 r80814  
    66 
    77name                    py27-libxml2 
    8 version                 2.6.21 
     8version                 2.7.8 
    99categories              python textproc 
    1010license                 MIT 
     
    1515 
    1616homepage                http://xmlsoft.org/python.html 
    17 master_sites            ftp://xmlsoft.org/libxml2/python/ 
    18 distname                libxml2-python-${version} 
     17master_sites            ftp://fr.rpmfind.net/pub/libxml/ \ 
     18                        ftp://gd.tuwien.ac.at/pub/libxml/ \ 
     19                        ${homepage}sources/ \ 
     20                        ftp://xmlsoft.org/libxml2/ 
     21distname                libxml2-${version} 
     22dist_subdir             libxml2 
     23checksums               md5 8127a65e8c3b08856093099b52599c86 \ 
     24                        sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 
     25                        rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 
    1926 
    20 checksums               md5 229dd2b3d110a77defeeaa73af83f7f3 \ 
    21                         sha1 2d395e8a5e9accd68f4e78ac2391431ef884e9d5 \ 
    22                         rmd160 d4973576c33e0e65c4fc41b31ee3df5f803abfad 
     27depends_lib-append      port:libxml2 
     28 
     29worksrcdir              ${worksrcdir}/python 
    2330 
    2431patchfiles              patch-setup.py.diff 
    25  
    26 depends_lib-append      port:libxml2 \ 
    27                         port:zlib 
    28  
    29 build.env               LDFLAGS=-L${prefix}/lib 
    30  
    3132post-patch { 
    3233  reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 
     
    3435 
    3536post-destroot { 
    36   set docdir ${prefix}/share/doc/${name}-${version} 
     37  set docdir ${prefix}/share/doc/${name} 
    3738  xinstall -d ${destroot}${docdir} 
    3839  xinstall -m 0644 -W ${worksrcpath} README TODO \ 
     
    4041} 
    4142 
    42 livecheck.type          regex 
    43 livecheck.url           ftp://xmlsoft.org/libxml2/python/ 
    44 livecheck.regex         {python-(\d+(?:\.\d+)*)} 
     43livecheck.type  regex 
     44livecheck.url   ${homepage}news.html 
     45livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 
Note: See TracChangeset for help on using the changeset viewer.