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

PortSystem          1.0
PortGroup           python 1.0

name                py-certifi
version             0.0.8
python.versions     25 26 27
python.default_version  27
categories          python devel
platforms           darwin
maintainers         nomaintainer
license             {MPL-1.1 GPL-2+ LGPL-2.1+}
homepage            http://pypi.python.org/pypi/certifi
description         Python SSL Certificates
long_description    This packge contains a modified version of ca-bundle.crt.

master_sites        http://pypi.python.org/packages/source/c/certifi
distname            certifi-${version}

checksums           rmd160  c4f67773b79b12d7b6cb747d4e93a5dde9d3dcd7 \
                    sha256  46ecf5f7526a08cc1f8bc8232adf0cffce046f46ceff95539daec42ebc4849ef

if {$subport != $name} {
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${homepage}
    livecheck.regex     certifi (\\d+(\\.\\d+)+)
}