# -*- 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.19
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  b3f698d38db843a0e15a427d5dd734da4105b14a \
                    sha256  6be5020c38fcb07da56c53733538a3081ea5aa70d36a156f83044bfbf9173842 \
                    size    99567

python.versions     310 311 312 313 314

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