# -*- 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
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 http://pyobjc.sourceforge.net/
master_sites pypi:p/pyobjc-core/
distname pyobjc-core-${version}
checksums rmd160 12ee6d8132c59420c768dafdb2ee73f17ea97cc1 \
sha256 a4708886ff7844ff7537c60d14e903014a90b3e3cdbad5e717acfcbe150768b7
python.versions 27 34 35 36
if {${name} ne ${subport}} {
depends_lib port:py${python.version}-setuptools \
port:py${python.version}-py2app
set readme_name README.txt
# Note: see upstream ticket https://bitbucket.org/ronaldoussoren/pyobjc/issue/100/cannot-find-interface-declaration-for
patch-Modules-${version}.diff
patch-Modules-${version}.diff
return -code error "PyObjC 2 requires Mac OS X 10.5 or later"
xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.txt \
License.txt NEWS.txt $readme_name \
${destroot}${prefix}/share/doc/${subport}
copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport}/html
delete ${destroot}${prefix}/share/doc/${subport}/examples
copy ${worksrcpath}/Examples \
${destroot}${prefix}/share/doc/${subport}/examples