# -*- 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-signxml
version             5.2.0
revision            0

license             Apache
maintainers         {mps @Schamschula} openmaintainer
description         SignXML is an implementation of the W3C XML Signature standard \
                    in Python.
long_description    {*}${description} This standard (also known as \"XMLDSig\") is \
                    used to provide payload security in SAML 2.0, XAdES, EBICS, and \
                    WS-Security, among other uses.
homepage            https://github.com/XML-Security/signxml

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  f544f2cc7b0c44fe5d4c827d3064983afa2aec40 \
                    sha256  18aa6c3dc6833c7f441d9d20875ea50fe50149402f87061c27d0b6ea7f039096 \
                    size    1624371

python.versions     310 311 312 313 314

python.pep517_backend \
                    hatch

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-hatch-vcs

    depends_lib-append \
                    port:py${python.version}-certifi \
                    port:py${python.version}-cryptography \
                    port:py${python.version}-lxml
}
