# -*- 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-pkcs11
python.rootname     python_pkcs11
version             0.10.1
revision            0

categories-append   security
license             MIT
maintainers         {mps @Schamschula} openmaintainer
description         A high level, "more Pythonic" interface to the PKCS#11 (Cryptoki) \
                    standard to support HSM and Smartcard devices in Python.
long_description    {*}${description}
homepage            https://github.com/pyauth/python-pkcs11

checksums           rmd160  fd13c754e9a49b9291556289befa10fab1a575ee \
                    sha256  e0d7ccede3b3145a678d7c8c59b3c64dcebeb77c9146ad3394a4b1309c4ab2a2 \
                    size    207635

python.versions     310 311 312 313 314 315

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