# -*- 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.10.1
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  a5eef89358f96ff3f8f095e77a181f31fd4cd7bd \
                    sha256  83b0d820ef589dabaf693289b647c2f5b410f76d285f56deba911ffa75a7b9d1 \
                    size    35653

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
}
