Download and Install py-gdbm version 2.4.5 on Mac OS X
Thursday the 24th of July, 2008

    py-gdbm  most recent diff


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



      # $Id: Portfile 34983 2008-03-13 16:07:56Z mww macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-gdbm
      Version: 2.4.5
      Category: python databases
      Platform: darwin
      Maintainers: mww
      Description: Python bindings to the GNU dbm library
      Long Description: ${description}

      Homepage: http://www.python.org/doc/current/lib/module-gdbm.html
      master_sites http://www.python.org/ftp/python/${version}/
      distname Python-${version}
      dist_subdir python24
      checksums sha1 6e9e1ac2b70cc10c36063a25ab5a5ddb53177107
      use_bzip2 yes

      depends_lib-append port:gdbm

      worksrcdir ${worksrcdir}/Modules

      extract.post_args "| tar -xf - ${distname}/Modules/gdbmmodule.c"
      post-extract {
      file copy ${filespath}/setup.py ${worksrcpath}
      }

      patch {
      reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
      reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
      }

      livecheck.check regex
      livecheck.url http://www.python.org/download/releases/
      livecheck.regex Python (2.4.\[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/py-gdbm
      % sudo port install py-gdbm
      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-gdbm
      ---> Verifying checksum for py-gdbm
      ---> Extracting py-gdbm
      ---> Configuring py-gdbm
      ---> Building py-gdbm with target all
      ---> Staging py-gdbm into destroot
      ---> Installing py-gdbm
    - 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-gdbm with these commands:
      %  man py-gdbm
      % apropos py-gdbm
      % which py-gdbm
      % locate py-gdbm

     Where to find more information:

    Darwin Ports



    image test