# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-keyczar
version             0.7b
categories-append   devel crypto
license             Apache-2
maintainers         nomaintainer
description         Easy to use cryptographic toolkit
long_description \
   Keyczar is an open source cryptographic toolkit designed to make it \
   easier and safer for developers to use cryptography in their applications. \
   Keyczar supports authentication and encryption with both symmetric and \
   asymmetric keys.

platforms           darwin
supported_archs     noarch

homepage            http://www.keyczar.org/
master_sites        http://keyczar.googlecode.com/files/
distname            python-keyczar-${version}.081911
worksrcdir          python-keyczar-${version}

checksums           sha1    cc538552d79e9e0fc372813316b50d421b71118c \
                    rmd160  576a863f23dc9baae5374e3e61f9e88bb106080d

python.default_version   27
python.versions          25 26 27

if {${name} != ${subport}} {
   depends_lib         port:py${python.version}-crypto \
                       port:py${python.version}-asn1 \
                       port:py${python.version}-simplejson
}

livecheck.type      regex
livecheck.url       http://code.google.com/p/keyczar/downloads/list
livecheck.regex     {Keyczar ([a-z0-9.]+) Python}

