# -*- 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-imageio-ffmpeg
version             0.4.3
platforms           darwin
license             BSD
maintainers         nomaintainer

description         FFMPEG wrapper for Python

long_description    The purpose of this project is to provide a simple \
                    and reliable ffmpeg wrapper for working with video \
                    files. It implements two simple generator \
                    functions for reading and writing data from/to \
                    ffmpeg, which reliably terminate the ffmpeg \
                    process when done. It also takes care of \
                    publishing platform-specific wheels that include \
                    the binary ffmpeg executables.

homepage            https://github.com/imageio/imageio-ffmpeg

checksums           rmd160  ba0e625c9b215a0dd86a4785b82bd4f1f7921b65 \
                    sha256  f826260a3207b872f1a4ba87ec0c8e02c00afba4fd03348a59049bdd8215841e \
                    size    15054

python.versions     37 38 39

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-pip \
                    port:py${python.version}-setuptools

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

    livecheck.type  none
}
