# -*- 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-audioread
version             3.1.0
revision            0

categories-append   audio
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         cross-library (GStreamer + Core Audio + MAD + FFmpeg)\
                    audio decoding for Python.
long_description    {*}${description} Decode audio files using whichever\
                    backend is available. The library currently\
                    supports: Gstreamer via PyGObject\; Core Audio on\
                    Mac OS X via ctypes (PyObjC not required)\; MAD via\
                    the pymad bindings\; FFmpeg or Libav via its\
                    command-line interface\; The standard library wave,\
                    aifc, and sunau modules (for uncompressed audio\
                    formats).

checksums           rmd160  e3f4263bca4accc849069ad888b284967286e6ad \
                    sha256  1c4ab2f2972764c896a8ac61ac53e261c8d29f0c6ccd652f84e18f08a4cab190 \
                    size    20082

python.versions     311 312 313 314 315
python.pep517_backend   flit

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