# -*- 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-argon2-cffi
python.rootname     argon2_cffi
version             25.1.0
revision            0

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
license             MIT

python.versions     310 311 312 313 314
python.pep517_backend   hatch

maintainers         {stromnov @stromnov} openmaintainer

description         Argon2 is a secure password hashing algorithm.
long_description    {*}${description}

homepage            https://argon2-cffi.readthedocs.io/

checksums           rmd160  29cf461569b6b257ed7a82bba14f71291b001386 \
                    sha256  694ae5cc8a42f4c4e2bf2ca0e64e51e23a040c6a517a85074683d3959e1346c1 \
                    size    45706

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-hatch-vcs \
                        port:py${python.version}-hatch-fancy-pypi-readme

    depends_run-append  port:py${python.version}-argon2-cffi-bindings
}
