# -*- 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-google-i18n-address
version             3.1.1
revision            0

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

description         Address validation helpers for Google's i18n address \
                    database
long_description    {*}${description}

homepage            https://github.com/mirumee/google-i18n-address

checksums           rmd160  e9af82737a646f76702198a76f7f5dc1bd9a4919 \
                    sha256  c9ea70e35cb312948651fbbbe4ad4ba97781e129096502fab6ed4e94f629ab0e \
                    size    721615

distname            google_i18n_address-${version}

python.versions     312 313 314
python.pep517_backend hatch

if {${name} ne ${subport}} {
    patchfiles      patch-pyproject.toml.diff

    depends_lib-append \
                    port:py${python.version}-requests
}
