# -*- 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
PortGroup           select 1.0

name                py-bcrypt
version             3.1.4
revision            0
categories-append   devel
platforms           darwin
license             Apache-2

python.versions     27 34 35 36

maintainers         stromnov openmaintainer

description         Modern password hashing for your software and your servers
long_description    ${description}

homepage            https://github.com/pyca/bcrypt/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  36fafe531903767edf63c23c416f756eb39c4047 \
                    sha256  67ed1a374c9155ec0840214ce804616de49c3df9c5bc66740687c1c9b1cd9e8d

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

    livecheck.type      none
}