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

name                py-tlslite
version             0.4.9
revision            0
categories-append   crypto security
license             public-domain
maintainers         nomaintainer
description         Python library for TLSv1 and SSLv3 operations
long_description \
    TLS Lite is a free python library that implements SSL v3 and TLS v1. \
    It supports non-traditional authentication methods such as SRP, shared \
    keys, and cryptoIDs, in addition to X.509 certificates.  TLS Lite is \
    pure python, however it can access OpenSSL or cryptlib for faster \
    crypto operations.

platforms           darwin
supported_archs     noarch

homepage            http://trevp.net/tlslite/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            tlslite-${version}
checksums           rmd160  49e40ed711e0a35983cc53cab21bf03186cc6ea4 \
                    sha256  9b9a487694c239efea8cec4454a99a56ee1ae1a5f3af0858ccf8029e2ac2d42d \
                    size    105402

python.versions     27

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README LICENSE\
            ${destroot}${docdir}
    }

    livecheck.type  none
}
