# -*- 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-ffmpeg-python
version             0.2.0
revision            0
categories-append   multimedia
platforms           any
license             Apache-2
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         Python bindings for FFmpeg
long_description    {*}${description} – with complex filtering support.
homepage            https://github.com/kkroening/ffmpeg-python
checksums           rmd160  bc77c81b8b6711d343525ca349e6b963b7fdc953 \
                    sha256  65225db34627c578ef0e11c8b1eb528bb35e024752f6f10b78c011f6f64c4127 \
                    size    21543
supported_archs     noarch

python.versions     310 311 312 313 314

if {${subport} ne ${name}} {
    # It is a mess…
    depends_lib-append \
                    port:py${python.version}-alabaster \
                    port:py${python.version}-atomicwrites \
                    port:py${python.version}-attrs \
                    port:py${python.version}-babel \
                    port:py${python.version}-certifi \
                    port:py${python.version}-chardet \
                    port:py${python.version}-docutils \
                    port:py${python.version}-filelock \
                    port:py${python.version}-future \
                    port:py${python.version}-idna \
                    port:py${python.version}-imagesize \
                    port:py${python.version}-importlib-metadata \
                    port:py${python.version}-jinja2 \
                    port:py${python.version}-markupsafe \
                    port:py${python.version}-more-itertools \
                    port:py${python.version}-numpy \
                    port:py${python.version}-packaging \
                    port:py${python.version}-parsing \
                    port:py${python.version}-pluggy \
                    port:py${python.version}-py \
                    port:py${python.version}-pygments \
                    port:py${python.version}-requests \
                    port:py${python.version}-six \
                    port:py${python.version}-snowballstemmer \
                    port:py${python.version}-sphinx \
                    port:py${python.version}-toml \
                    port:py${python.version}-tox \
                    port:py${python.version}-tz \
                    path:${python.pkgd}/urllib3/__init__.py:py${python.version}-urllib3 \
                    port:py${python.version}-virtualenv \
                    port:py${python.version}-wcwidth \
                    port:py${python.version}-zipp

    depends_build-append \
                    port:py${python.version}-pytest \
                    port:py${python.version}-pytest-mock \
                    port:py${python.version}-pytest-runner
}
