# -*- 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-pypng
version             0.20220715.0
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

description         Pure Python PNG image encoder/decoder
long_description    {*}${description}

homepage            https://gitlab.com/drj11/pypng

checksums           rmd160  015598175d3ea4000e9c8a43a2ca3ced270d8685 \
                    sha256  739c433ba96f078315de54c0db975aee537cbc3e1d0ae4ed9aab0ca1e427e2c1 \
                    size    128992

python.versions     39 310 311 312

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