# -*- 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-soupsieve
version             3.0
revision            0

license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         Soup Sieve is a CSS selector library designed to be used with \
                    Beautiful Soup 4
long_description    {*}${description} It aims to provide selecting, matching, and filtering using \
                    modern CSS selectors. Soup Sieve currently provides selectors from \
                    the CSS level 1 specifications up through the latest CSS level 4 \
                    drafts and beyond.
homepage            https://github.com/facelessuser/soupsieve

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  995924012f00cd6b555987109316c3e433449875 \
                    sha256  1136e639f72f95f1a9351b4587f640553d08d41a5653b187da30d6c9200c296c \
                    size    115160

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    if {${python.version} eq 310} {
        version     2.10
        revision    0

        checksums   rmd160  8779d5f321ddec7a1361e72448c64558dcfa2e4b \
                    sha256  49e9380d7d2905463583bafe285e818c7366a9ed7b3aee221c1ac79c905d8bc0 \
                    size    124337
    }
}
