Ticket #34728: Portfile-py-pyquery.diff
File Portfile-py-pyquery.diff, 2.4 KB (added by larryv (Lawrence Velázquez), 12 years ago) |
---|
-
Portfile
old new 5 5 PortGroup python 1.0 6 6 7 7 name py-pyquery 8 version 1. 1.18 version 1.2.1 9 9 categories-append devel 10 10 platforms darwin 11 supported_archs noarch 11 12 license BSD 12 13 maintainers gmail.com:larry.velazquez 13 description A jQuery-like library for Python. 14 15 description A jQuery-like library for Python 14 16 long_description Pyquery allows you to make jQuery queries on XML \ 15 17 documents. 16 18 homepage http://pypi.python.org/pypi/pyquery 17 19 18 20 master_sites http://pypi.python.org/packages/source/p/pyquery 19 21 distname pyquery-${version} 20 21 checksums md5 cd2884653df59c4587e57d5f1ed94de5 \ 22 sha1 be1d145af0b5c10112f604eff5da35dcf18a0281 \ 23 rmd160 e79b002f0ca31107987194ab2ec94b227d969cba 22 checksums rmd160 f74c85ee0ef903260bd31e5e102c4ea51ae460b5 \ 23 sha256 a607f81a628887e2cf03d5dddee6f092faf411e51b894130a2b4c839e60c408f 24 24 25 25 python.versions 25 26 27 31 32 26 26 python.default_version 27 27 27 28 28 if {${subport} != ${name}} { 29 29 depends_build-append port:py${python.version}-distribute 30 depends_run-append port:py${python.version}-lxml 30 depends_run-append port:py${python.version}-lxml \ 31 port:py${python.version}-cssselect 31 32 post-destroot { 32 33 set doc ${destroot}${prefix}/share/doc/${subport} 33 xinstall -m 755 -d ${doc}34 34 xinstall -m 644 -W ${worksrcpath} CHANGES.txt README.txt ${doc} 35 35 xinstall -m 644 -W ${worksrcpath}/docs ajax.txt api.txt \ 36 36 attributes.txt css.txt future.txt index.txt \ 37 37 manipulating.txt testing.txt tips.txt traversing.txt ${doc} 38 38 } 39 livecheck.type none 40 } else { 41 livecheck.type regex 42 livecheck.url ${homepage} 43 livecheck.regex "pyquery-(\\d+(?:\\.\\d+)*)${extract.suffix}" 39 44 } 40 41 livecheck.type regex42 livecheck.url ${homepage}43 livecheck.regex "pyquery-(\[0-9.\]+)${extract.suffix}"44 No newline at end of file