# -*- 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-hanko-certvalidator
python.rootname     pyhanko_certvalidator
version             0.31.1
revision            0

license             MIT
maintainers         nomaintainer
description         Validates X.509 certificates and paths, forked from \
                    wbond/certvalidator
long_description    {*}${description}
homepage            https://github.com/MatthiasValvekens/pyHanko/tree/master/pkgs/pyhanko-certvalidator

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  e9a5298b27a2e09c162b4344ee448a5e98347878 \
                    sha256  b7abc5672878994a050cf70a19b8247891aa30c9e6507eea77a6b10c7dbc1e50 \
                    size    584700

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-asn1crypto \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-oscrypto \
                    port:py${python.version}-requests \
                    port:py${python.version}-uritools
}
