# -*- 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.18
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  df95f4d9051af7526a216fd2da5c8e7c3f1b8774 \
                    sha256  84e29528b98b623ca3cf0495e46a6973513c0e7a525d23ae642277d6f29890cb \
                    size    75224

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

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