# -*- 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-linecache2
version             1.0.0
platforms           darwin
license             unknown
maintainers         {khindenburg @kurthindenburg} openmaintainer

description         A backport of linecache to older supported Pythons.
long_description    ${description}

homepage            https://pypi.python.org/pypi/${python.rootname}/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  da6bcf3bd6f14c244a0b387c5b43fc9bab2fccdf \
                    sha256  4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c

python.versions     27 34 35 36

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

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