# -*- 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.19.0
revision            0

license             BSD
platforms           darwin
maintainers         {@catap korins.ky:kirill} openmaintainer

description         Cryptographic library for Python
long_description    ${description}

homepage            https://www.pycryptodome.org

checksums           rmd160  16f401205b6f5147810fb36050a682a08310c948 \
                    sha256  af83a554b3f077564229865c45af0791be008ac6469ef0098152139e6bd4b5b6 \
                    size    4779021

python.versions     38 39 310 311 312

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
}
