# -*- 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.13.0
revision            0

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

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/

checksums           rmd160  52c180fbcb7a31c86bd91464254c77dfe94a5b1d \
                    sha256  de71063e1bffe9733d6ccad526ea7dac8a9ce760105827f81ab0cb034c729a6d \
                    size    562194

python.versions     310 311 312 313
python.pep517_backend   flit

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

    test.run        yes
}
