# -*- 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
PortGroup           deprecated 1.0

name                py-bleach
version             6.3.0
revision            0
categories-append   www
license             Apache
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         An easy safelist-based HTML-sanitizing tool.
long_description    {*}${description}

homepage            https://github.com/mozilla/bleach

checksums           rmd160  67b0ca6818afc3fefac0fca1866fb0195bb65cdd \
                    sha256  6f3b91b1c0a02bb9a78b5a454c92506aa0fdf197e1d5e114d2e00c6f64306d22 \
                    size    203533

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

    patchfiles      patch-setup.py.diff
}
