# -*- 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.8.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  4f43b6392eee6cfbeff25532f3e4d2e8d65fb2b3 \
                    sha256  7674ffb954a3b46162392aee2a3a0aedb2e14ecf99fcc28644900f4e6e3e9d3a \
                    size    35716

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

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

    test.run        yes
}
