/
Portfile
42 lines (35 loc) · 1.6 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- 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.7
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 264ef1f89d19f432c1dd35587f9ac77e \
rmd160 cd1a6c5663c1a310e57be0eefe78bdf60d52d4f1 \
sha256 6d74a97b0f0ec92999b6251a255ae37a18d0ae89939e72dbb6d9d7dae06a5e10
python.versions 37 38 39 310 311 312
python.pep517 yes
if {$subport ne $name} {
# needs pkg_resources at runtime
depends_lib port:py${python.version}-macholib \
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
}