Py-pyobjc2-cocoa version 2.0 - How to Download and Install on Mac OS X
Thursday the 11th of March, 2010

    py-pyobjc2-cocoa  most recent diff


    version 2.0

      View the most recent changes for the py-pyobjc2-cocoa port at: py-pyobjc2-cocoa.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for py-pyobjc2-cocoa.
      The raw portfile for py-pyobjc2-cocoa 2.0 is located here:
      http://py-pyobjc2-cocoa.darwinports.com/dports/python/py-pyobjc2-cocoa/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/py-pyobjc2-cocoa


      # -*- 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
      The py-pyobjc2-cocoa Portfile 58337 2009-09-26 21:24:22Z jmr macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-pyobjc2-cocoa
      Version: 2.0
      Revision: 1
      Category: python devel
      license MIT
      Maintainers: nomaintainer
      Platform: darwin
      Description: cocoa wrappers for py-pyobjc2
      Long Description: This port provides the CoreFoundation, Foundation and AppKit wrappers for use with py-pyobjc2.

      Homepage: http://pyobjc.sourceforge.net/

      depends_lib-append port:py-pyobjc2

      fetch.type svn
      svn.url http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-framework-Cocoa/
      worksrcdir pyobjc-framework-Cocoa

      if {${os.major} < 9} {
      pre-fetch {
      return -code error "PyObjC 2.0 requires Mac OS X 10.5"
      }
      }

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt ${destroot}${prefix}/share/doc/${name}
      copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${name}/examples
      }

      livecheck.type none

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/py-pyobjc2-cocoa
      % sudo port install py-pyobjc2-cocoa
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching py-pyobjc2-cocoa
      ---> Verifying checksum for py-pyobjc2-cocoa
      ---> Extracting py-pyobjc2-cocoa
      ---> Configuring py-pyobjc2-cocoa
      ---> Building py-pyobjc2-cocoa with target all
      ---> Staging py-pyobjc2-cocoa into destroot
      ---> Installing py-pyobjc2-cocoa
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using py-pyobjc2-cocoa with these commands:
      %  man py-pyobjc2-cocoa
      % apropos py-pyobjc2-cocoa
      % which py-pyobjc2-cocoa
      % locate py-pyobjc2-cocoa

     Where to find more information:

    Darwin Ports



    Lightbox this page.