# -*- 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
checksums rmd160 b74806ee8b66a141a6f96303ecc56448808a1ccb \
sha256 db8836da2401e63d8bdaff7052fdc6113b7527d12d84e58fe075e69ff590e8fd \
description bidirectional bridge between python and Objective C
long_description The PyObjC project aims to provide a bridge between \
the Python and Objective-C programming languages. The \
bridge is intended to be fully bidirectional, allowing \
the Python programmer to take full advantage of the \
power provided by various Objective-C based toolkits \
and the Objective-C programmer transparent access to \
Python based functionality.
homepage https://pythonhosted.org/pyobjc/
master_sites pypi:p/pyobjc-core/
distname pyobjc-core-${version}
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_lib port:libffi \
port:py${python.version}-setuptools \
port:py${python.version}-py2app
reinplace "s|use-system-libffi = 0|\\
deployment-target = ${macosx_deployment_target}\\
|" ${worksrcpath}/setup.cfg
if {${configure.sdkroot} eq ""} {
set sdkroot ${configure.sdkroot}
ui_error "${subport} @${version} requires Mac OS X 10.5 or later"
return -code error "incompatible Mac OS X version"
xinstall -m 0644 -W ${worksrcpath} HISTORIC.txt License.txt README.txt \
${destroot}${prefix}/share/doc/${subport}
delete ${destroot}${prefix}/share/doc/${subport}/examples
copy ${worksrcpath}/Examples \
${destroot}${prefix}/share/doc/${subport}/examples
livecheck.url https://pypi.python.org/pypi/pyobjc-core/
livecheck.regex {pyobjc-core ([0-9.]+)}