# -*- 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-paho-mqtt
version             1.5.1
revision            0
platforms           darwin
# Eclipse Public License v1.0 / Eclipse Distribution License v1.0
license             unknown
maintainers         {mojca @mojca} openmaintainer

description         MQTT version 3.1/3.1.1 client class
long_description    Eclipse Paho MQTT Python client library

homepage            https://eclipse.org/paho
master_sites        pypi:p/${python.rootname}
distname            ${python.rootname}-${version}

checksums           rmd160  16be65b419a07bfa3584881b7dd75e2332ebd534 \
                    sha256  9feb068e822be7b3a116324e01fb6028eb1d66412bf98595ae72698965cb1cae \
                    size    101757

python.versions     27 36 37 38 39

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

    livecheck.type  none
}
