# -*- 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-setproctitle
version             1.2.1
revision            0

license             BSD
platforms           darwin
supported_archs     noarch
maintainers         {@xeron gmail.com:xeron.oskom} openmaintainer
description         A Python module to customize the process title
long_description    The setproctitle module allows a process to change \
                    its title (as displayed by system tools such as ps and top).

python.versions     27 36 37 38 39

homepage            https://pypi.python.org/pypi/${python.rootname}/

checksums           rmd160  bc3675811dfc15bcfb9ae1e28edfff9d6e39ff60 \
                    sha256  5f0eecb27815e31799a69eb6a06b4d375d38887d079d410565b0be82da65c950 \
                    size    23628

if {${name} ne ${subport}} {
    if {${python.version} eq 27} {
        version     1.1.10
        revision    0
        checksums   rmd160  c2a6c024fcd7d30f6d2f3ead2b021821a5ecaa34 \
                    sha256  6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398 \
                    size    24042
    }

    depends_build-append    port:py${python.version}-setuptools

    livecheck.type  none
}
