Download and Install py-elementtree version 1.2.6-20050316 on Mac OS X
Thursday the 24th of July, 2008

    py-elementtree  most recent diff


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



      # $Id: Portfile 30812 2007-11-07 12:02:40Z mww macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-elementtree
      Version: 1.2.6-20050316
      revision 1
      Category: python
      Platform: darwin
      Maintainers: mww
      Description: flexible container object for python
      Long Description: The Element type is a simple but flexible container object, designed to store hierarchical data structures, such as simplified XML infosets, in memory. The element type can be described as a cross between a Python list and a Python dictionary.

      Homepage: http://effbot.org/zone/element-index.htm
      master_sites http://effbot.org/downloads/
      distname elementtree-${version}
      checksums md5 6751a9005efbd2c543ef32905d4a0acd
      use_zip yes
      patchfiles patch-setup.py

      depends_build-append port:py-setuptools

      post-extract { file copy ${filespath}/ez_setup.py ${worksrcpath} }

      test.run yes
      test.cmd ${python.bin}
      test.target selftest.py

      post-destroot {
      xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath}/samples simple-ns.xml simple.xml ${destroot}${prefix}/share/doc/${name}/examples
      eval file copy [glob ${worksrcpath}/docs/*] ${destroot}/${prefix}/share/doc/${name}
      }

      livecheck.check regex
      livecheck.url http://effbot.org/downloads/
      livecheck.regex elementtree-(\[0-9\.-\]+).tar.gz

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

     Where to find more information:

    Darwin Ports



    image test