Py25-gobject version 2.18.0 - How to Download and Install on Mac OS X
Friday the 19th of March, 2010

    py25-gobject  most recent diff


    version 2.18.0

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


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The py25-gobject Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: py25-gobject
      Platform: darwin
      set my_name pygobject
      Version: 2.18.0
      set branch [join [lrange [split ${version} .] 0 1] .]
      Category: python gnome
      Maintainers: jwa openmaintainer
      Description: Python bindings for GObject.

      Long Description: PyGObject provides a convenient wrapper for the GObject+ library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting. When combined with PyGTK, PyORBit and gnome-python, it can be used to write full featured Gnome applications.

      Homepage: http://www.pygtk.org/
      Master Sites: gnome:sources/${my_name}/${branch}/
      distname ${my_name}-${version}
      use_bzip2 yes

      Checksums: md5 522b813219a6ad14b85b25d953b08727 sha1 f800eda7978fe9813600cfdda973da15c3178bb0 rmd160 db454107949b0e797c6c151aa426368ef0f59317

      depends_build port:pkgconfig
      depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 port:libxslt port:python25

      configure.args --disable-glibtest

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

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

      test.run yes
      test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
      test.target check

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

      livecheck.type regex
      livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
      livecheck.regex {LATEST-IS-(\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/py25-gobject
      % sudo port install py25-gobject
      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 py25-gobject
      ---> Verifying checksum for py25-gobject
      ---> Extracting py25-gobject
      ---> Configuring py25-gobject
      ---> Building py25-gobject with target all
      ---> Staging py25-gobject into destroot
      ---> Installing py25-gobject
    - 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 py25-gobject with these commands:
      %  man py25-gobject
      % apropos py25-gobject
      % which py25-gobject
      % locate py25-gobject

     Where to find more information:

    Darwin Ports



    Lightbox this page.