# -*- 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-polib
version             1.2.0
revision            0

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

description         A library to manipulate gettext files (po and mo files).
long_description    {*}${description}

homepage            https://github.com/izimobil/polib/

checksums           rmd160  f1ecbdc73ebbdd5369cbeafd5d3fd6fa752ea219 \
                    sha256  f3ef94aefed6e183e342a8a269ae1fc4742ba193186ad76f175938621dbfc26b \
                    size    161658

python.versions     313 314

if {${subport} ne ${name}} {
    test.run        yes
    python.test_framework
    test.cmd        ${python.bin}
    test.args       tests/tests.py
}
