# -*- 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-xmlsec
version             1.3.16
revision            0

categories-append   security textproc
platforms           darwin
license             MIT
maintainers         {mps @Schamschula} openmaintainer

description         A set of Python bindings for the XML Security Library.
long_description    {*}${description}

homepage            https://xmlsec.readthedocs.io/en/latest/

checksums           rmd160  33afb2fb9a679c551287a8adf2d405e2947617aa \
                    sha256  2b6c70544c6d1d4ca006aaa314958e0ef3514dc81fffde1b23f2ec41a5791f9d \
                    size    114202

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                    port:libtool \
                    port:py${python.version}-pkgconfig \
                    port:py${python.version}-setuptools_scm \
                    port:py${python.version}-toml

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