# -*- 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-py2app version 0.28.9 categories-append devel license {MIT PSF} platforms {darwin any} supported_archs noarch maintainers {jmr @jmroot} openmaintainer description converts python scripts into executable Mac OS X apps long_description \ A distutils extension which converts python scripts into executable \ Mac OS X applications, able to run without requiring an existing python \ installation. This is a replacement for bundlebuilder. homepage https://py2app.readthedocs.io/ checksums md5 38da368bcf36265c1d2f65a8da32984c \ rmd160 d6098494a4ea8cefd61289a5fe0913fc26432e64 \ sha256 bcbddd3017c51203858428f4cd66a7d7ea1096c6d57f1257cc2fdb066927c7c5 python.versions 37 38 39 310 311 312 313 314 if {$subport ne $name} { depends_lib port:py${python.version}-altgraph \ port:py${python.version}-macholib \ port:py${python.version}-modulegraph \ port:py${python.version}-packaging if {${python.version} < 38} { # needs pkg_resources at runtime when importlib.metadata is unavailable depends_lib-append port:py${python.version}-setuptools } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \ ${destroot}${prefix}/share/examples/${subport} xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.rst \ ${destroot}${prefix}/share/doc/${subport} file copy {*}[glob ${worksrcpath}/examples/*] \ ${destroot}${prefix}/share/examples/${subport} } livecheck.type none }