# -*- 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-trustme
version             1.2.1
categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             {Apache-2 MIT}

python.versions     310 311 312 313

maintainers         {@jandemter demter.de:jan} openmaintainer

description         #1 quality TLS certs while you wait, for the discerning tester
long_description    trustme is a tiny Python package that does one thing: it \
                    gives you a fake certificate authority (CA) that you can \
                    use to generate fake TLS certs to use in your tests.

homepage            https://github.com/python-trio/trustme/

checksums           rmd160  2465e06e898ca4013b9260a9fc48bf1b6898b8ca \
                    sha256  6528ba2bbc7f2db41f33825c8dd13e3e3eb9d334ba0f909713c8c3139f4ae47f \
                    size    26844

python.pep517_backend   hatch

if {${name} ne ${subport}} {
    depends_run-append      port:py${python.version}-cryptography \
                            port:py${python.version}-idna

}
