# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pyobjc-fsevents version 2.5.1 categories-append devel license MIT maintainers nomaintainer platforms darwin description FSEvents wrapper for PyObjC long_description This port provides the FSEvents wrapper for use with PyObjC homepage http://pyobjc.sourceforge.net/ master_sites http://pypi.python.org/packages/source/p/pyobjc-framework-FSEvents distname pyobjc-framework-FSEvents-${version} checksums sha1 74464cdfddd20c043f03d180fd4560023904738e \ rmd160 953497788dc6134fd969e2835108d18505f8216f python.versions 26 27 31 32 33 python.default_version 27 # since there is replication of code all these pyObjc related framework should probably all be merged # as subports of py-pyobj if {${name} ne ${subport}} { depends_lib port:py${python.version}-pyobjc # this is from py-pyobj-cocoa port, I'm just pushing current version of the library for now # anyone willing to exted support to python 2.4 and 2.5 should check if the older version works # if {${python.version} == 24} { # version 2.0 # fetch.type svn # svn.url http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-framework-Cocoa/ # worksrcdir pyobjc-framework-Cocoa # } elseif {${python.version} == 25} { # version 2.2 # distname pyobjc-framework-Cocoa-${version} # checksums md5 324185e6699b59d1ce85b5020e8f83e5 \ # sha1 b6c224065096cb2389660e19f0a757d0289031a8 \ # rmd160 c8ebb071a0d04188106c9698f117d655325367f9 # } # platform darwin 8 { depends_fetch depends_lib pre-fetch { return -code error "PyObjC 2 requires Mac OS X 10.5 or later" } } post-destroot { xinstall -m 644 -W ${worksrcpath} LICENSE.txt ${destroot}${prefix}/share/doc/${subport} copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples if {${python.version} >= 25} { copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${subport} } } livecheck.type none } else { livecheck.type regex livecheck.url http://pypi.python.org/pypi/pyobjc-framework-FSEvents livecheck.regex {pyobjc-framework-FSEvents ([0-9.]+)} }