# -*- 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-flufl.i18n
version             6.0.0
revision            0

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

description         High level API for internationalizing Python libraries and applications.
long_description    {*}${description} The flufl.i18n library provides \
                    a convenient API for managing translation contexts \
                    in Python applications. It provides facilities not \
                    only for single-context applications like command \
                    line scripts, but also more sophisticated \
                    management of multiple-context applications such \
                    as Internet servers.

homepage            https://flufli18n.readthedocs.io/

distname            flufl_i18n-${version}

checksums           rmd160  6ad35bfbc759761705c3925b04c6f283d63645b6 \
                    sha256  84f2076c1ff85cea1c8b8f5c66e8c41e5d61834d923cb3e6df4392a3b237a12d \
                    size    21623

python.versions     313
python.pep517_backend hatch

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

    depends_test-append \
                    port:py${python.version}-sybil

    test.run        yes
    test.env-append PYTHONPATH=${destroot}${python.pkgd}
}
