# -*- 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-lxml_html_clean
version             0.4.5
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         HTML cleaner is blocklist-based.
long_description    {*}${description} This project was initially a part of lxml, but \
                    many reports about possible security vulnerabilities were filed \
                    for lxml and that make the project problematic for \
                    security-sensitive environments. Therefore we decided to extract \
                    the problematic part to a separate project.
homepage            https://github.com/fedora-python/lxml_html_clean/

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  d7b1ffe147da5b4a6da420b6539fc652267787a9 \
                    sha256  e2a4c7d5beedd17cd7b484d848a0571e54baa239a4f9df5546e3acba7f990560 \
                    size    24142

python.versions     310 311 312 313 314

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