# -*- 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.9.5
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  2ce6e3cb59f8d253b190809edf4d3648b18f7fd3 \
                    sha256  6b65ec741ea45f47438c495e3d71d97ae671d03afaee6358022babda634508bd \
                    size    194453

python.versions     310 311 312 313 314

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