# -*- 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-helpdev
version             0.7.1
revision            0

categories-append   devel
platforms           darwin
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         HelpDev - Extracts information about the Python environment easily.
long_description    ${description}

homepage            https://gitlab.com/dpizetta/helpdev

checksums           sha256  bb62a79acbac141dadf42cadeb92bb7450dd18b9824a62043b6a0b149190db3d \
                    rmd160  7e59fdd17c3e5b3d502ed7a72992d1354fb10172 \
                    size    51575

python.versions     27 35 36 37 38 39 310

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

    if {${python.version} == 27} {
        version     0.6.10
        checksums   sha256  9e61d24458b7506809670222ca656b139e67d46c530cd227a899780152d7b44e \
                    rmd160  b80d5a0368aaf5e9e2623902a257fa0b72c5d459 \
                    size    12864
    } elseif {${python.version} < 38} {
        depends_lib-append \
                    port:py${python.version}-importlib-metadata
    }

    livecheck.type  none
}
