# -*- 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           github 1.0

name                py-keyczar
github.setup        google keyczar Python_release_0.716
regexp {([^_]+)$} ${version} version
revision            0

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.

python.versions     27

platforms           darwin
supported_archs     noarch

checksums           sha256  42e6f7d5de24bce33fd86b6cfa2b7a80bbb0e55443bb608d815a545df7f43665 \
                    rmd160  2a59d61666f367e864a9d19889ffb05e82f9e632 \
                    size    3535280

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-asn1 \
                        port:py${python.version}-crypto \
                        port:py${python.version}-setuptools \
                        port:py${python.version}-simplejson

    build.cmd           cd python && ${python.bin} setup.py --no-user-cfg
    destroot.cmd        cd python && ${python.bin} setup.py --no-user-cfg

    livecheck.type      none
}
