# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pyquery version 1.2.4 categories-append devel platforms darwin supported_archs noarch license BSD maintainers nomaintainer description A jQuery-like library for Python long_description Pyquery allows you to make jQuery queries on XML \ documents. homepage http://pypi.python.org/pypi/pyquery master_sites pypi:p/pyquery distname pyquery-${version} checksums rmd160 bce4fef874ecdefcb98b1af3d15e4972e613e068 \ sha256 1c39f786c42430279eadf787f1ef06873f15c9acba2698c23dfd925ac7b169d7 python.versions 27 34 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_run-append port:py${python.version}-lxml \ port:py${python.version}-cssselect post-destroot { set doc ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} CHANGES.rst README.rst ${doc} xinstall -m 644 -W ${worksrcpath}/docs ajax.txt api.txt \ attributes.txt changes.txt css.txt future.txt index.txt \ manipulating.txt scrap.txt testing.txt tips.txt traversing.txt \ ${doc} } livecheck.type none } else { livecheck.type regex livecheck.url ${homepage} livecheck.regex "pyquery-(\\d+(?:\\.\\d+)*)${extract.suffix}" }