Files
2026-03-14 02:52:09 +11:00

45 lines
1.4 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-cssselect
version 1.4.0
revision 0
categories-append devel
platforms {darwin any}
supported_archs noarch
license BSD
maintainers nomaintainer
description cssselect parses CSS3 Selectors and translates \
them to XPath 1.0
long_description ${description}. Such expressions can be used in \
lxml or another XPath engine to find the matching \
elements in an XML or HTML document.
homepage https://github.com/scrapy/cssselect
checksums rmd160 e5731d6a49db5c0aed5e966f3fb63dc19ee84bc7 \
sha256 fdaf0a1425e17dfe8c5cf66191d211b357cf7872ae8afc4c6762ddd8ac47fc92 \
size 40589
python.versions 310 311 312 313 314
python.pep517_backend \
hatch
if {${name} ne ${subport}} {
depends_test-append \
port:py${python.version}-hypothesis \
port:py${python.version}-pytest-asyncio
post-destroot {
xinstall -m 0644 -W ${worksrcpath} \
AUTHORS CHANGES LICENSE README.rst \
${destroot}${prefix}/share/doc/${subport}
}
test.run yes
}