# -*- 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-pyobjc version 5.1.2 checksums rmd160 b74806ee8b66a141a6f96303ecc56448808a1ccb \ sha256 db8836da2401e63d8bdaff7052fdc6113b7527d12d84e58fe075e69ff590e8fd \ size 794290 revision 1 categories-append devel license MIT maintainers nomaintainer platforms darwin 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 post-patch { reinplace "s|use-system-libffi = 0|\\ use-system-libffi = 1\\ deployment-target = ${macosx_deployment_target}\\ |" ${worksrcpath}/setup.cfg } if {${configure.sdkroot} eq ""} { set sdkroot "/" } else { set sdkroot ${configure.sdkroot} } build.env-append \ SDKROOT=${sdkroot} platform darwin 8 { depends_lib pre-fetch { ui_error "${subport} @${version} requires Mac OS X 10.5 or later" return -code error "incompatible Mac OS X version" } } post-destroot { 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.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/pyobjc-core/ livecheck.regex {pyobjc-core ([0-9.]+)} }