# -*- 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           github 1.0
PortGroup           python 1.0

# PyPi release is broken with the current py-construct.
name                py-pymp4
github.setup        devine-dl pymp4 33dc5d620f361cb49d713b60dcb2686ab8696f91
version             1.4.0
revision            1
platforms           {darwin any}
license             Apache-2
maintainers         nomaintainer
description         Python parser for MP4 boxes
long_description    {*}${description}
homepage            https://github.com/beardypig/pymp4
checksums           rmd160  ae0b69e079142308fa525aefb7a2df5d142623bb \
                    sha256  6b17f9d0ed259c0f2b982b2a55196d725a5a11913169cd3e27ce3c6a4ec15e6f \
                    size    20217
github.tarball_from archive
supported_archs     noarch

python.versions         310 311 312 313 314
python.pep517_backend   poetry

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

github.livecheck.branch construct-2.10-patch
