# -*- 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-cssselect2
version             0.9.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         {reneeotten @reneeotten} openmaintainer

description         cssselect2 is a straightforward implementation of CSS4 Selectors for markup documents
long_description    {*}${description}

homepage            https://doc.courtbouillon.org/cssselect2/

checksums           rmd160  9c62d0f3923be2c972af7812fa698aa957d02f28 \
                    sha256  759aa22c216326356f65e62e791d66160a0f9c91d1424e8d8adc5e74dddfc6fb \
                    size    35595

python.versions     310 311 312 313 314
python.pep517_backend   flit

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-tinycss2 \
                    port:py${python.version}-webencodings

    test.run        yes
}
