# -*- 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-passlib
version                 1.7.4
revision                1
python.versions         37 38 39 310
python.pep517           yes
categories-append       www security
maintainers             {snc @nerdling} openmaintainer
license                 bsd
supported_archs         noarch

description             password hashing library
long_description        ${name} is a {*}${description} \
                        which provides cross-platform implementations \
                        of over 20 password hashing algorithms, as \
                        well as a framework for managing existing \
                        passowrd hashes.

platforms               {darwin any}

homepage                https://passlib.readthedocs.io/en/stable/
master_sites            pypi:p/passlib/
distname                passlib-${version}

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

    checksums           md5     3a229cbd00dfb33e99885b43325e0591 \
                        rmd160  b32ad2ad061cc5eaac37b114684f8364686dfbdd \
                        sha256  defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04 \
                        size    689844

livecheck.type          none
} else {
    livecheck.name          passlib
    livecheck.regex         passlib-(\\d+(\\.\\d+)+)${extract.suffix}
}
