# -*- 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.9
revision            1

categories-append   security textproc
platforms           darwin
license             MIT
maintainers         nomaintainer

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

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

checksums           rmd160  d1002778ba13cce192943a8071a06562026b372e \
                    sha256  3d13d7b6cb921dbc4d60d00ad00081a038df73a1e69f5bcc3695deb1bf2093b0 \
                    size    62553

python.versions     27 36 37 38 39

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

    livecheck.type  none
}
