Protobuf-python26 version 2.2.0a - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    protobuf-python26  most recent diff


    version 2.2.0a

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


      The protobuf-python26 Portfile 60727 2009-11-21 03:42:44Z blair macports.org $

      PortSystem 1.0
      PortGroup python26 1.0

      Name: protobuf-python26
      Version: 2.2.0a
      Category: devel
      Maintainers: blair
      Description: Encode data in an efficient yet extensible format.

      Long Description: Google Protocol Buffers are a flexible, efficient, automated mechanism for serializing structured data -- think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. You can even update your data structure without breaking deployed programs that are compiled against the "old" format. You specify how you want the information you're serializing to be structured by defining protocol buffer message types in .proto files. Each protocol buffer message is a small logical record of information, containing a series of name-value pairs.

      Homepage: http://code.google.com/p/protobuf/
      Master Sites: googlecode:protobuf

      distname protobuf-${version}
      dist_subdir protobuf-cpp
      use_bzip2 yes
      Checksums: md5 bdff591c50f8e33871f57f781bd8f8d8 sha1 755cd8e381478bfed8158d9cb52e4a5a2618767b rmd160 b029fb9336c3f7e457c1c148c613e202ce252ee1

      Platform: darwin

      depends_lib port:protobuf-cpp port:py26-setuptools

      worksrcdir ${worksrcdir}/python

      test.run yes
      test.cmd "${prefix}/bin/python2.6 setup.py"
      test.target test

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.