# -*- 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-certomancer
version             0.11.0
revision            0

supported_archs     noarch
platforms           {darwin any}

license             MIT
maintainers         nomaintainer

description         PKI testing tool
long_description    {*}${description}

homepage            https://pypi.org/project/certomancer

checksums           rmd160  34007fbd2d2a1865d08899ab598bd92c2b93c1c5 \
                    sha256  f414455830fde27265b12dc50a7f619a63479597761f96200e082c8a8d3e55b5 \
                    size    74450

python.versions     310 311 312

if {${name} ne ${subport}} {
    # See: https://github.com/MatthiasValvekens/certomancer/issues/10
    depends_build-append \
                    port:py${python.version}-pytest-runner

    depends_lib-append \
                    port:py${python.version}-asn1crypto \
                    port:py${python.version}-click \
                    port:py${python.version}-dateutil \
                    port:py${python.version}-oscrypto \
                    port:py${python.version}-tzlocal \
                    port:py${python.version}-yaml

    # NOTE: test data is missed, no tests :(
    # See: https://github.com/MatthiasValvekens/certomancer/issues/9
}
