Py26-wxpython version 2.8.9.1 - How to Download and Install on Mac OS X
Monday the 22nd of March, 2010

    py26-wxpython  most recent diff


    version 2.8.9.1

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


      # -*- 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 py26-wxpython Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      PortGroup python26 1.0

      Name: py26-wxpython
      Version: 2.8.9.1
      Category:-append graphics
      Maintainers: jameskyle
      Description: Python interface to the wxWindows cross platform GUI
      Long Description: wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWindows cross platform GUI library, which is written in C++.
      Homepage: http://www.wxpython.org/

      Platform: darwin
      depends_lib port:python26 port:wxWidgets

      Master Sites: sourceforge:wxpython
      distname wxPython-src-${version}
      use_bzip2 yes

      Checksums: md5 4ad9a64e05529097618c7e48fbb10a84 sha1 7359af790d58082330c867f5c10f51b6382d9a35 rmd160 2b193c867a028985f8ead4084a9c1f024a1d37c6


      worksrcdir ${distname}/wxPython

      extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs"

      use_configure no

      build.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
      build.cmd ${python.bin} setup.py
      build.target build

      destroot.env UNICODE="1" WXPORT="mac" PATH="${python.prefix}/lib/wx/config:$env(PATH)"
      destroot.cmd ${build.cmd}
      destroot.destdir --prefix=${python.prefix} --root=${destroot}

      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/
      file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
      file copy ${worksrcpath}/samples ${destroot}${prefix}/share/doc/${name}/examples
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)

    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/py26-wxpython
      % sudo port install py26-wxpython
      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 py26-wxpython
      ---> Verifying checksum for py26-wxpython
      ---> Extracting py26-wxpython
      ---> Configuring py26-wxpython
      ---> Building py26-wxpython with target all
      ---> Staging py26-wxpython into destroot
      ---> Installing py26-wxpython
    - 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 py26-wxpython with these commands:
      %  man py26-wxpython
      % apropos py26-wxpython
      % which py26-wxpython
      % locate py26-wxpython

     Where to find more information:

    Darwin Ports



    Lightbox this page.