Files
macports-ports/python/py-cssselect/Portfile
T
2025-12-02 11:51:36 -05:00

43 lines
1.3 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.2.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 46101bc28d7a1e65987a2aa8dfdf8a09f308a40a \
sha256 666b19839cfaddb9ce9d36bfe4c969132c647b92fc9088c4e23f786b30f1b3dc \
size 41423
python.versions 310 311 312 313
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
}