# -*- 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-unidecode
python.rootname     Unidecode
version             1.1.1
revision            0

categories-append   textproc
platforms           darwin
supported_archs     noarch
license             GPL-2+
maintainers         {gmail.com:esafak @esafak} openmaintainer

description         ASCII transliterations of Unicode text
long_description    Unidecode takes Unicode data and tries to \
                    represent it in ASCII characters (i.e., the \
                    universally displayable characters between 0x00 \
                    and 0x7F), where the compromises taken when \
                    mapping between two character sets are chosen to \
                    be near what a human with a US keyboard would \
                    choose. This is a Python port of Text::Unidecode \
                    Perl module by Sean M. Burke.

homepage            https://github.com/avian2/unidecode

checksums           rmd160  26193ceec061fe94a79d4dcaf8aeb55ce90b53b0 \
                    sha256  2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8 \
                    size    212151

python.versions     27 35 36 37 38 39

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

    test.run        yes
    test.env        PYTHONPATH=${worksrcpath}/build/lib

    livecheck.type  none
}
