Changeset 80815
- Timestamp:
- 07/18/11 11:00:17 (4 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 3 edited
-
py-libxslt/Portfile (modified) (2 diffs)
-
py25-libxslt/Portfile (modified) (2 diffs)
-
py26-libxslt/Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-libxslt/Portfile
r57375 r80815 3 3 4 4 PortSystem 1.0 5 PortGroup python24 1.06 5 7 6 name py-libxslt 8 version 2.6.21 7 epoch 1 8 version 1.1.26 9 9 categories python textproc 10 license MIT 10 11 platforms darwin 11 12 maintainers sfiera openmaintainer … … 13 14 long_description ${description} 14 15 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 16 homepage http://xmlsoft.org/XSLT/ 17 master_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/ 21 distname libxslt-${version} 22 dist_subdir libxslt 23 checksums md5 e61d0364a30146aaa3001296f853b2b9 \ 24 sha1 69f74df8228b504a87e2b257c2d5238281c65154 \ 25 rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f 20 26 21 27 depends_lib-append port:libxslt \ 22 port:py-libxml2 \ 23 port:zlib 28 port:py-libxml2 24 29 25 build.env LDFLAGS=-L${prefix}/lib 30 configure.python ${prefix}/bin/python2.4 31 configure.args --mandir=${prefix}/share/man \ 32 --enable-static \ 33 --with-libxml-prefix=${prefix} \ 34 --with-python \ 35 --without-crypto 26 36 27 post-patch { 28 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 37 destroot.dir ${worksrcpath}/python 38 39 post-destroot { 40 move ${destroot}${prefix}/share/doc/libxslt-python-${version} \ 41 ${destroot}${prefix}/share/doc/${name} 29 42 } 30 43 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 44 livecheck.type regex 45 livecheck.url ${homepage}news.html 46 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} -
trunk/dports/python/py25-libxslt/Portfile
r57375 r80815 2 2 3 3 PortSystem 1.0 4 PortGroup python25 1.05 4 6 5 name py25-libxslt 7 version 2.6.21 6 epoch 1 7 version 1.1.26 8 8 categories python textproc 9 license MIT 9 10 platforms darwin 10 11 maintainers nomaintainer … … 12 13 long_description ${description} 13 14 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 15 homepage http://xmlsoft.org/XSLT/ 16 master_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/ 20 distname libxslt-${version} 21 dist_subdir libxslt 22 checksums md5 e61d0364a30146aaa3001296f853b2b9 \ 23 sha1 69f74df8228b504a87e2b257c2d5238281c65154 \ 24 rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f 19 25 20 26 depends_lib-append port:libxslt \ 21 port:py25-libxml2 \ 22 port:zlib 27 port:py25-libxml2 23 28 24 build.env LDFLAGS=-L${prefix}/lib 29 configure.python ${prefix}/bin/python2.5 30 configure.args --mandir=${prefix}/share/man \ 31 --enable-static \ 32 --with-libxml-prefix=${prefix} \ 33 --with-python \ 34 --without-crypto 25 35 26 post-patch { 27 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 36 destroot.dir ${worksrcpath}/python 37 post-destroot { 38 move ${destroot}${prefix}/share/doc/libxslt-python-${version} \ 39 ${destroot}${prefix}/share/doc/${name} 28 40 } 29 41 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 42 livecheck.type regex 43 livecheck.url ${homepage}news.html 44 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} -
trunk/dports/python/py26-libxslt/Portfile
r57375 r80815 2 2 3 3 PortSystem 1.0 4 PortGroup python26 1.05 4 6 5 name py26-libxslt 7 version 2.6.21 6 epoch 1 7 version 1.1.26 8 8 categories python textproc 9 license MIT 9 10 platforms darwin 10 11 maintainers nomaintainer … … 12 13 long_description ${description} 13 14 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 15 homepage http://xmlsoft.org/XSLT/ 16 master_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/ 20 distname libxslt-${version} 21 dist_subdir libxslt 22 checksums md5 e61d0364a30146aaa3001296f853b2b9 \ 23 sha1 69f74df8228b504a87e2b257c2d5238281c65154 \ 24 rmd160 fc7630352ae5772d25fc8132a373d477fb8d8d5f 19 25 20 26 depends_lib-append port:libxslt \ 21 port:py26-libxml2 \ 22 port:zlib 27 port:py26-libxml2 23 28 24 build.env LDFLAGS=-L${prefix}/lib 29 configure.python ${prefix}/bin/python2.6 30 configure.args --mandir=${prefix}/share/man \ 31 --enable-static \ 32 --with-libxml-prefix=${prefix} \ 33 --with-python \ 34 --without-crypto 25 35 26 post-patch { 27 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 36 destroot.dir ${worksrcpath}/python 37 destroot.args PYTHON_SITE_PACKAGES="${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages" 38 post-destroot { 39 move ${destroot}${prefix}/share/doc/libxslt-python-${version} \ 40 ${destroot}${prefix}/share/doc/${name} 28 41 } 29 42 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 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.

