Download and Install py-cairo version 1.4.12 on Mac OS X
Friday the 8th of August, 2008

    py-cairo  most recent diff


      View the most recent changes for the py-cairo port at: py-cairo.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for py-cairo.
      The raw portfile for py-cairo 1.4.12 is located here:
      http://py-cairo.darwinports.com/dports/python/py-cairo/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-cairo
      Google
      Web Darwinports.com



      # $Id: Portfile 35016 2008-03-13 23:32:44Z ram macports.org $

      PortSystem 1.0

      Name: py-cairo
      set my_name pycairo
      Version: 1.4.12
      revision 2
      Category: python x11
      Platform: darwin
      Maintainers: nomaintainer
      Description: Pycairo is set of Python bindings for the cairo graphics library

      Long Description: ${description}

      Homepage: http://cairographics.org/pycairo/
      master_sites http://cairographics.org/releases/
      distname ${my_name}-${version}

      checksums md5 c63199d35b1e1d3c5133509f315f70d7 sha1 580255db6f3ab4c44ac44dfe0a9f7d1f598c2ab3 rmd160 f44bb6bcc6b366568e0297689164537dc891b278

      depends_build port:pkgconfig
      depends_lib port:python24 port:cairo port:py-numpy

      configure.python ${prefix}/bin/python2.4

      platform darwin 9 {
      post-patch {
      reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/cairo/Makefile.in
      }
      }

      post-destroot {
      set docdir ${prefix}/share/doc/${name}-${version}
      xinstall -d ${destroot}${docdir}
      xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS doc/NOTES doc/FAQ README ${destroot}${docdir}
      }

      livecheck.check regex
      livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)


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

     Where to find more information:

    Darwin Ports



    image test