# -*- 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
# $Id: Portfile 107281 2013-06-25 02:33:01Z jmr@macports.org $

PortSystem              1.0
PortGroup               python 1.0

name                    py-passlib
version                 1.6.1
python.versions         27 31 32
categories-append       www security
maintainers             snc 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                http://packages.python.org/passlib/
master_sites            googlecode:passlib
distname                passlib-${version}

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

    checksums           rmd160  61e37ea0e65118410fe129e456336191fd16471b \
                        sha256  00cfb564feb2d97ebaf6b28acdc9277a0c73c3c1df7b2a7b65605c76e724177b

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