# -*- 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-certifi
version             2025.10.5
set distversion     [regsub -all {(\.)0} ${version} {\1}]
revision            0
categories-append   devel net
license             {MPL-1.1 GPL-2+ LGPL-2.1+}
supported_archs     noarch
platforms           {darwin any}

python.versions     27 35 36 37 38 39 310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Python package for providing Mozilla's CA Bundle.
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/certifi

distname            ${python.rootname}-${distversion}

checksums           rmd160  19c56e65031398fb5274000f1c6570124e049100 \
                    sha256  47c09d31ccf2acf0be3f701ea53595ee7e0b8fa08801c6624be771df09ae7b43 \
                    size    164519

if {${name} ne ${subport}} {
    if {${python.version} < 37} {
        version             2021.10.8
        revision            0
        distname            ${python.rootname}-${version}
        checksums           rmd160  8972d4fb7b192cf6e3a13a7ea9dfc497b0866eea \
                            sha256  78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872 \
                            size    151214
        python.pep517       no
    }

    livecheck.type      none
} else {
    livecheck.version   ${distversion}
}
