# -*- 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-configparser
epoch               1
version             3.5.0
revision            0
categories-append   devel
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27

maintainers         stromnov openmaintainer

description         Configparser from Python 3.5 to Python 2.6-3.5
long_description    ${description}

homepage            https://docs.python.org/3/library/configparser.html
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  3423933ee44689b74df1f670d6d911e93591f5b8 \
                    sha256  5308b47021bc2340965c371f0f058cc6971a04502638d4244225c49d80db273a

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-backports

    livecheck.type      none
} else {
    livecheck.name      configparser
    livecheck.type      pypi
}