Download and Install py-curl version 7.16.4 on Mac OS X
Friday the 8th of August, 2008

    py-curl  most recent diff


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



      # $Id: Portfile 34562 2008-02-28 11:32:49Z mww macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-curl
      Version: 7.16.4
      revision 1
      Category: python net devel
      Maintainers: mww
      Description: python interface to libcurl
      Long Description: Python module interface to the cURL library which is a tool for transferring files with URL syntax, supporting many protocols.
      Platform: darwin
      Homepage: http://pycurl.sourceforge.net/
      master_sites ${homepage}/download
      distname pycurl-${version}
      checksums sha1 a06ae60030cf27953f75c4a0cd4316a12765b22f

      depends_lib-append port:curl

      build.args --curl-config=${prefix}/bin/curl-config

      test.run yes
      test.target
      test.env PYTHONPATH=./build/lib*
      test.cmd ${python.bin} tests/test_internals.py tests/test_memleak.py

      destroot.args ${build.args}

      post-destroot {
      file delete -force ${destroot}${prefix}/share/doc/${name}
      file rename ${destroot}${prefix}/share/doc/pycurl ${destroot}${prefix}/share/doc/${name}
      }

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex PYCURL (\[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-curl
      % sudo port install py-curl
      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-curl
      ---> Verifying checksum for py-curl
      ---> Extracting py-curl
      ---> Configuring py-curl
      ---> Building py-curl with target all
      ---> Staging py-curl into destroot
      ---> Installing py-curl
    - 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-curl with these commands:
      %  man py-curl
      % apropos py-curl
      % which py-curl
      % locate py-curl

     Where to find more information:

    Darwin Ports



    image test