# -*- 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
PortGroup           gitlab 1.0

gitlab.instance     https://dev.gajim.org
gitlab.setup        gajim python-nbxmpp 5.0.4
name                py-nbxmpp
revision            0

categories-append   net chat
license             GPL-3
supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer

description         Non blocking Jabber/XMPP module
long_description    The goal of this python library is to provide a way \
                    for python applications to use Jabber/XMPP networks in a non-blocking \
                    way. Originally, a fork of the xmpppy jabber python library.

checksums           rmd160  f7b3f6926f1ae7cf3670721361a6f94bbd8b1844 \
                    sha256  6b762bcf41b2711a0d7e108ad3a227906048edddb2740e04225ff4ae5eb7f1dd \
                    size    143198

python.versions     310 311 312

if {${name} ne ${subport}} {
    depends_lib-append \
                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    path:lib/pkgconfig/libsoup-3.0.pc:libsoup \
                    port:py${python.version}-gobject3

    depends_run-append \
                    port:py${python.version}-idna \
                    port:py${python.version}-precis-i18n

    test.run        yes
    python.test_framework unittest
}
