# -*- 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-entrypoints
version             0.3
revision            0
categories-append   devel
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 34 35 36 37

maintainers         {stromnov @stromnov} openmaintainer

description         Discover and load entry points from installed packages.
long_description    ${description}

homepage            https://github.com/takluyver/entrypoints
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

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

checksums           rmd160  368a6f43ee97280b824a597947ea3a276f4125f5 \
                    sha256  c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451 \
                    size    12315

if {${name} ne ${subport}} {

    if {${python.version} == 27} {
        depends_lib-append  port:py${python.version}-configparser
    }

    livecheck.type      none
}