# -*- 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

# also update py-pycryptodome
name                py-pycryptodomex
version             3.21.0
revision            0

license             BSD
maintainers         nomaintainer

description         Cryptographic library for Python
long_description    ${description}

homepage            https://www.pycryptodome.org

checksums           rmd160  af9463c04f7e2215a18ac2ed5ca8b854b351c853 \
                    sha256  222d0bd05381dd25c32dd6065c071ebf084212ab79bab4599ba9e6a3e0009e6c \
                    size    4818543

python.versions     39 310 311 312 313

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

    test.run        yes
    test.cmd        ${python.bin} setup.py test
    test.args

    livecheck.type  none
}
