Changeset 80814
- Timestamp:
- 07/18/11 09:54:27 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 5 edited
-
py-libxml2/Portfile (modified) (3 diffs)
-
py-libxml2/files/patch-setup.py.diff (modified) (2 diffs)
-
py25-libxml2/Portfile (modified) (4 diffs)
-
py26-libxml2/Portfile (modified) (4 diffs)
-
py27-libxml2/Portfile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-libxml2/Portfile
r80680 r80814 6 6 7 7 name py-libxml2 8 version 2. 6.218 version 2.7.8 9 9 categories python textproc 10 10 license MIT … … 15 15 16 16 homepage http://xmlsoft.org/ 17 master_sites ftp://xmlsoft.org/libxml2/python/ 18 distname libxml2-python-${version} 19 checksums md5 229dd2b3d110a77defeeaa73af83f7f3 17 master_sites ftp://fr.rpmfind.net/pub/libxml/ \ 18 ftp://gd.tuwien.ac.at/pub/libxml/ \ 19 ${homepage}sources/ \ 20 ftp://xmlsoft.org/libxml2/ 21 distname libxml2-${version} 22 dist_subdir libxml2 23 checksums md5 8127a65e8c3b08856093099b52599c86 \ 24 sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 25 rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 26 27 depends_lib-append port:libxml2 28 29 worksrcdir ${worksrcdir}/python 30 20 31 patchfiles patch-setup.py.diff 21 22 depends_lib-append port:libxml2 \23 port:zlib24 25 build.env LDFLAGS=-L${prefix}/lib26 27 32 post-patch { 28 33 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py … … 30 35 31 36 post-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} 41 39 xinstall -m 644 -W ${worksrcpath} README TODO \ 42 40 ${destroot}${prefix}/share/doc/${name} 43 41 } 44 42 45 livecheck.type md546 livecheck.url ftp://xmlsoft.org/libxml2/python/47 livecheck. md5 a2cc31311f1b3fb52a08cf1056efda1143 livecheck.type regex 44 livecheck.url ${homepage}news.html 45 livecheck.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 -04002 +++ setup.py .new 2007-05-16 07:46:02.000000000 -04001 --- setup.py.orig 2007-10-11 15:24:20.000000000 +0200 2 +++ setup.py 2007-10-11 15:24:54.000000000 +0200 3 3 @@ -56,11 +56,7 @@ 4 4 # - iconv.h … … 23 23 24 24 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 6 6 7 7 name py25-libxml2 8 version 2.6.21 9 revision 1 8 version 2.7.8 10 9 categories python textproc 11 10 license MIT … … 15 14 long_description ${description} 16 15 17 homepage http://xmlsoft.org/python.html 18 master_sites ftp://xmlsoft.org/libxml2/python/ 19 distname libxml2-python-${version} 16 homepage http://xmlsoft.org/ 17 master_sites ftp://fr.rpmfind.net/pub/libxml/ \ 18 ftp://gd.tuwien.ac.at/pub/libxml/ \ 19 ${homepage}sources/ \ 20 ftp://xmlsoft.org/libxml2/ 21 distname libxml2-${version} 22 dist_subdir libxml2 23 checksums md5 8127a65e8c3b08856093099b52599c86 \ 24 sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 25 rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 20 26 21 checksums md5 229dd2b3d110a77defeeaa73af83f7f3 \ 22 sha1 2d395e8a5e9accd68f4e78ac2391431ef884e9d5 \ 23 rmd160 d4973576c33e0e65c4fc41b31ee3df5f803abfad 27 depends_lib-append port:libxml2 28 29 worksrcdir ${worksrcdir}/python 24 30 25 31 patchfiles patch-setup.py.diff 26 27 depends_lib-append port:libxml2 \28 port:zlib29 30 build.env LDFLAGS=-L${prefix}/lib31 32 32 post-patch { 33 33 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py … … 35 35 36 36 post-destroot { 37 set docdir ${prefix}/share/doc/${name} -${version}37 set docdir ${prefix}/share/doc/${name} 38 38 xinstall -d ${destroot}${docdir} 39 39 xinstall -m 0644 -W ${worksrcpath} README TODO \ … … 41 41 } 42 42 43 livecheck.type regex44 livecheck.url http://xmlsoft.org/sources/python/45 livecheck.regex {libxml2-python-(\d+(?:\.\d+)*)}43 livecheck.type regex 44 livecheck.url ${homepage}news.html 45 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} -
trunk/dports/python/py26-libxml2/Portfile
r80680 r80814 6 6 7 7 name py26-libxml2 8 version 2. 6.218 version 2.7.8 9 9 categories python textproc 10 10 license MIT … … 14 14 long_description ${description} 15 15 16 homepage http://xmlsoft.org/python.html 17 master_sites ftp://xmlsoft.org/libxml2/python/ 18 distname libxml2-python-${version} 16 homepage http://xmlsoft.org/ 17 master_sites ftp://fr.rpmfind.net/pub/libxml/ \ 18 ftp://gd.tuwien.ac.at/pub/libxml/ \ 19 ${homepage}sources/ \ 20 ftp://xmlsoft.org/libxml2/ 21 distname libxml2-${version} 22 dist_subdir libxml2 23 checksums md5 8127a65e8c3b08856093099b52599c86 \ 24 sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 25 rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 19 26 20 checksums md5 229dd2b3d110a77defeeaa73af83f7f3 \ 21 sha1 2d395e8a5e9accd68f4e78ac2391431ef884e9d5 \ 22 rmd160 d4973576c33e0e65c4fc41b31ee3df5f803abfad 27 depends_lib-append port:libxml2 28 29 worksrcdir ${worksrcdir}/python 23 30 24 31 patchfiles patch-setup.py.diff 25 26 depends_lib-append port:libxml2 \27 port:zlib28 29 build.env LDFLAGS=-L${prefix}/lib30 31 32 post-patch { 32 33 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py … … 34 35 35 36 post-destroot { 36 set docdir ${prefix}/share/doc/${name} -${version}37 set docdir ${prefix}/share/doc/${name} 37 38 xinstall -d ${destroot}${docdir} 38 39 xinstall -m 0644 -W ${worksrcpath} README TODO \ … … 40 41 } 41 42 42 livecheck.type regex43 livecheck.url ftp://xmlsoft.org/libxml2/python/44 livecheck.regex {python-(\d+(?:\.\d+)*)}43 livecheck.type regex 44 livecheck.url ${homepage}news.html 45 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} -
trunk/dports/python/py27-libxml2/Portfile
r80680 r80814 6 6 7 7 name py27-libxml2 8 version 2. 6.218 version 2.7.8 9 9 categories python textproc 10 10 license MIT … … 15 15 16 16 homepage http://xmlsoft.org/python.html 17 master_sites ftp://xmlsoft.org/libxml2/python/ 18 distname libxml2-python-${version} 17 master_sites ftp://fr.rpmfind.net/pub/libxml/ \ 18 ftp://gd.tuwien.ac.at/pub/libxml/ \ 19 ${homepage}sources/ \ 20 ftp://xmlsoft.org/libxml2/ 21 distname libxml2-${version} 22 dist_subdir libxml2 23 checksums md5 8127a65e8c3b08856093099b52599c86 \ 24 sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ 25 rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 19 26 20 checksums md5 229dd2b3d110a77defeeaa73af83f7f3 \ 21 sha1 2d395e8a5e9accd68f4e78ac2391431ef884e9d5 \ 22 rmd160 d4973576c33e0e65c4fc41b31ee3df5f803abfad 27 depends_lib-append port:libxml2 28 29 worksrcdir ${worksrcdir}/python 23 30 24 31 patchfiles patch-setup.py.diff 25 26 depends_lib-append port:libxml2 \27 port:zlib28 29 build.env LDFLAGS=-L${prefix}/lib30 31 32 post-patch { 32 33 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py … … 34 35 35 36 post-destroot { 36 set docdir ${prefix}/share/doc/${name} -${version}37 set docdir ${prefix}/share/doc/${name} 37 38 xinstall -d ${destroot}${docdir} 38 39 xinstall -m 0644 -W ${worksrcpath} README TODO \ … … 40 41 } 41 42 42 livecheck.type regex43 livecheck.url ftp://xmlsoft.org/libxml2/python/44 livecheck.regex {python-(\d+(?:\.\d+)*)}43 livecheck.type regex 44 livecheck.url ${homepage}news.html 45 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
Note: See TracChangeset
for help on using the changeset viewer.

