# -*- 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-josepy
version             2.2.0
revision            0
epoch               2

categories-append   security
license             Apache-2
maintainers         {mps @Schamschula} openmaintainer
homepage            https://github.com/certbot/josepy
description         JOSE protocol implementation in Python using cryptography
long_description    {*}${description}

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  36888ebd8a267e8549d48b0d8710cec2340fd974 \
                    sha256  74c033151337c854f83efe5305a291686cef723b4b970c43cfe7270cf4a677a9 \
                    size    56500

python.versions     310 311 312 313 314

python.pep517_backend \
                    poetry

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