# -*- 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-zeroconf
version             0.148.0
revision            0
categories-append   net
license             LGPL-2.1
maintainers         nomaintainer
description         A pure python implementation of multicast DNS service discovery
long_description    {*}${description}
homepage            https://github.com/python-zeroconf/python-zeroconf
checksums           rmd160  6966b6381a93c5039e75d98e2812a696c1b91328 \
                    sha256  03fcca123df3652e23d945112d683d2f605f313637611b7d4adf31056f681702 \
                    size    164447

python.versions         310 311 312 313 314

python.pep517_backend   poetry

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