# -*- 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-iso639
set real_name       iso-639
version             0.4.5
revision            0

platforms           darwin
license             AGPL-3
supported_archs     noarch
maintainers         nomaintainer

description         ISO 639 library for Python
long_description    {*}${description}. This library is aimed to be fully\
                    compatible with pycountry.languages v1.11 and before.\
                    In v1.12 they broke their own API and this library will\
                    not support the new API.

homepage            https://github.com/noumar/iso639
master_sites        pypi:[string index ${real_name} 0]/${real_name}

distname            ${real_name}-${version}

checksums           rmd160  601a21b5d90320412f8f406f69ce465ad84f8488 \
                    sha256  dc9cd4b880b898d774c47fe9775167404af8a85dd889d58f9008035109acce49 \
                    size    167421

python.versions     38

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

    livecheck.type      none
}

livecheck.type      pypi
