# -*- 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-babel
python.rootname     Babel
version             2.9.1
revision            0
categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 35 36 37 38 39

maintainers         {stromnov @stromnov} openmaintainer

description         A collection of tools for internationalizing Python applications.

long_description    Babel is an integrated collection of utilities that \
                    assist in internationalizing and localizing Python \
                    applications, with an emphasis on web-based applications.

homepage            http://babel.pocoo.org/

checksums           rmd160  b833ad421470429e1740f19dc79e02842e3ff4b1 \
                    sha256  bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0 \
                    size    8683505

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

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

    test.run                yes
    test.cmd                py.test-${python.branch}
    test.target

    livecheck.type      none
}
