Download and Install py-geoip version 1.2.0 on Mac OS X
Friday the 29th of August, 2008

    py-geoip  most recent diff


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



      # $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-geoip
      Version: 1.2.0
      revision 1
      Category: python net
      Platform: darwin
      Maintainers: nomaintainer
      Description: Python module for accessing the GeoIP C library
      Long Description: ${description}

      Homepage: http://www.maxmind.com/app/python
      master_sites http://www.maxmind.com/download/geoip/api/python/
      distname GeoIP-Python-${version}
      checksums md5 ec40f604fb64971035b1ab72866d8fc1

      depends_lib-append lib:libGeoIP:libgeoip

      build.env CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} test.py test_city.py test_org.py ${destroot}${prefix}/share/doc/${name}/examples
      }

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

     Where to find more information:

    Darwin Ports



    image test