# -*- 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.13
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  f2419f5f134c1a5c76b56d9f755caefa332188f9 \
                    sha256  da8d6c828e773620e13bfa86ea601c5a5310ba4bcd65edf378198b56a1f9fb32 \
                    size    99243

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}
    }
}
