# -*- 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-pypostal
version             1.1.11
python.rootname     postal
categories          python textproc
license             MIT
maintainers         {amake @amake} openmaintainer
homepage            https://github.com/openvenues/pypostal

description         International address parsing/normalization

long_description    Python bindings to libpostal for fast international \
                    address parsing/normalization

checksums           rmd160  d6fc0d4e2c4b4975d2088e4c9cec8dc638e08a18 \
                    sha256  2c1a5de42fcaf742c99b9f0230594b990f050ad7a7ab1223c1bc5e7db91200a6 \
                    size    21958

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    patchfiles      patch-nose-setup.py.diff

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