# -*- 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.7
revision            0
categories-append   devel
platforms           darwin
license             Apache-2

python.versions     27 34 35 36 37 38

maintainers         {stromnov @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  af0842db4fab9714b313a29310be5a56e6e1356d \
                    sha256  0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42 \
                    size    42512

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
}