# -*- 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.17
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  a7c06a9cc53d8708f2c5f2ed1197e58df12f5895 \
                    sha256  f3fac9ae679f66585925cc00c5f6839ae36c1d03157619571dee18acc05b9c01 \
                    size    115637

python.versions     310 311 312 313 314

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
}
