# -*- 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-pyinstaller
version             6.19.0
revision            0

checksums           rmd160  599b3065a6ac05f83d730d6f295a2545c3323110 \
                    sha256  ec73aeb8bd9b7f2f1240d328a4542e90b3c6e6fbc106014778431c616592a865 \
                    size    4036072

supported_archs     noarch
platforms           {darwin any}
maintainers         openmaintainer {adfernandes @adfernandes}
description         converts (packages) Python programs into stand-alone executables
long_description    {*}${description} - note that there is a GPL license exception that allows \
                    PyInstaller to build and distribute non-free programs, including commercial ones.
license             GPL-2+

homepage            https://www.pyinstaller.org/

if {$subport ne $name} {
    depends_lib-append \
        port:py${python.version}-altgraph \
        port:py${python.version}-packaging \
        port:py${python.version}-pyinstaller-hooks-contrib \
        port:py${python.version}-setuptools

    depends_run-append     port:py${python.version}-macholib
}
python.pep517_backend    hatch
python.versions          312 313 314
