# -*- 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.15
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  edae7d2f1f710511d77feb3588dd3ae2f45d3618 \
                    sha256  baa856b83d0012e278e6f6cbec96ac8128de667ca9fa9a2eeb02c752e816f6d8 \
                    size    114117

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
}
