# -*- 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-identify
version             2.6.14
revision            0

categories-append   devel
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {reneeotten @reneeotten} openmaintainer

description         File identification library for Python
long_description    {*}${description}

homepage            https://github.com/pre-commit/identify

checksums           rmd160  f9b1eacbd60bd3b362aaaa6ce56ffcba30746150 \
                    sha256  663494103b4f717cb26921c52f8751363dc89db64364cd836a9bf1535f53cd6a \
                    size    99283

python.versions     39 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}
    }
}
