Py-cdb version 0.32 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 0.32

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


      The py-cdb Portfile 30249 2007-10-23 02:12:47Z jmpp macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-cdb
      Version: 0.32
      Revision: 1
      Category: python
      Platform: darwin freebsd
      Maintainers: nomaintainer
      Description: python module for using the constant database package
      Long Description: The python-cdb extension module is an adaptation of D. J. Bernstein's constant database package (see http://cr.yp.to/cdb.html). The cdb files are mappings of keys to values, designed for wickedly fast lookups and atomic updates. This module mimics the normal cdb utilities, cdb(get|dump|make), via convenient, high-level Python objects.

      Homepage: http://pilcrow.madison.wi.us/
      Master Sites: ${homepage}/python-cdb/
      distname python-cdb-${version}
      Checksums: md5 0e303095f8c0ea9f09d7f11faf89805f

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 ${worksrcpath}/Example ${destroot}${prefix}/share/doc/${name}/examples/example.py
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.