# -*- 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-conllu
version             6.0.0
revision            0

categories-append   textproc
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Convert a CoNLL-U string into a nested python dictionary.
long_description    CoNLL-U Parser parses a CoNLL-U formatted string \
                    into a nested python dictionary. CoNLL-U is often \
                    the output of natural language processing tasks.

homepage            https://github.com/EmilStenstrom/conllu

checksums           rmd160  b6659a68ef0da5024d0c58ef7ed9c1c3aaa8ab46 \
                    sha256  bc6072d49d00e77f4454039519118c0500fafa0d0eb509f53793081084f50aba \
                    size    33856

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
            ${destroot}${docdir}
    }
}
