# -*- 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.1
python.versions         27 34 35 36
categories-append       www security
maintainers             {snc @nerdling} openmaintainer
license                 bsd
supported_archs         noarch

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

platforms               darwin

homepage                https://bitbucket.org/ecollins/passlib
master_sites            pypi:p/passlib/
distname                passlib-${version}

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

    checksums           md5     254869dae3fd9f09f0746a3cb29a0b15 \
                        rmd160  5e46aff6cdb6aeb26991f2d794cd78e8ba1490f2 \
                        sha256  3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0

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