# -*- 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.6
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  f56db3b6441656d56d0ccde1f4e676a7bf05007e \
                    sha256  ea9db067c3053854fd87f8d5a1cf01221dc893b54dbf6019c689052e05c64f22 \
                    size    26385

python.versions     310 311 312 313 314 315

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