# -*- 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-mediafile
version             0.12.0
revision            0

categories-append   multimedia
license             MIT
platforms           {darwin any}
supported_archs     noarch

description         elegant audio file tagging
long_description    MediaFile is a simple interface to the metadata tags for many audio file formats. \
                    It wraps Mutagen, a high-quality library for low-level tag manipulation, with a high-level, \
                    format-independent interface for a common set of tags.

homepage            https://mediafile.readthedocs.io/

maintainers         nomaintainer

checksums           rmd160  1f2d76c352617697876c9f854e9c521dea295a6a \
                    sha256  d75d805a06ed56150dbcea76505e700f9809abd9e98f98117ae46f5df2ccf1d7 \
                    size    563534

python.pep517_backend   flit

python.versions     39 310 311

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-six \
                    port:py${python.version}-mutagen

    test.run        yes
}