# -*- 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-g2p-en
python.rootname     g2p_en
version             2.1.0
revision            0
license             Apache-2
maintainers         nomaintainer

description         A Simple Python Module for English Grapheme To Phoneme Conversion
long_description    {*}${description}

homepage            https://github.com/Kyubyong/g2p
checksums           rmd160  7e9f0675a905bab747c7067016dfb9a3084eaf31 \
                    sha256 32ecb119827a3b10ea8c1197276f4ea4f44070ae56cbbd01f0f261875f556a58 \
                    size    3116166

python.versions     310 311 312

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