# -*- 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
set _n [string index ${_name} 0]
description cssselect parses CSS3 Selectors and translates \
long_description cssselect parses CSS3 Selectors and translates \
them to XPath 1.0 expressions. Such expressions \
can be used in lxml or another XPath engine to \
find the matching elements in an XML or HTML \
homepage https://pythonhosted.org/${name}/
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
checksums rmd160 5e1c8da5e94411ca3928d3a805b60fe51d7f8484 \
sha256 0535a7e27014874b27ae3a4d33e8749e345bdfa62766195208b7996bf1100682
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
xinstall -m 644 -W ${worksrcpath} \
AUTHORS CHANGES LICENSE README.rst \
${destroot}${prefix}/share/doc/${subport}
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""