# -*- 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-webcolors
version             24.11.1
revision            0
categories-append   graphics
license             BSD
supported_archs     noarch
platforms           {darwin any}

python.versions     38 39 310 311 312 313
python.pep517_backend pdm

maintainers         {stromnov @stromnov} openmaintainer

description         A library for working with web color names
long_description    {*}${description}

homepage            https://github.com/ubernostrum/webcolors

checksums           rmd160  e4aefba6ecdce855acf800c666081142275be25b \
                    sha256  ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6 \
                    size    45064

if {${name} ne ${subport}} {
    if {${python.version} eq 38} {
        version             1.13
        checksums           rmd160  caec157f554ad082f3462a575830fb73fb18f2f4 \
                            sha256  c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a \
                            size    41152
        python.pep517_backend setuptools
    }

    livecheck.type      none
}
