# -*- 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.8.3
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

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  8a67c95e7d7042e74957daca055d3408070d8b32 \
                    sha256  e564105f78ded564e3ae7c923924435e1daa7463faeab5bb932bc53ffae63407 \
                    size    162386

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}
}
