Download and Install py-ctypes version 1.0.1 on Mac OS X
Sunday the 7th of September, 2008

    py-ctypes  most recent diff


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



      # $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-ctypes
      Version: 1.0.1
      Category: python
      Platform: darwin
      Maintainers: nomaintainer
      Description: create and manipulate C data types in Python
      Long Description: ctypes is a Python package to create and manipulate C data types in Python, and to call functions in dynamic link libraries/shared dlls. It allows wrapping these libraries in pure Python.

      Homepage: http://starship.python.net/crew/theller/ctypes/
      master_sites sourceforge:ctypes
      checksums sha1 a723fa162c6bd9f58fc51babcad8ff3154f37a3a
      distname ctypes-${version}

      depends_lib-append port:libffi

      test.run yes
      test.cmd ${build.cmd}
      test.target test

      post-destroot {
      xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.CVS README.txt ${destroot}${prefix}/share/doc/${name}
      }

      platform darwin 8 {
      configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0
      }

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

     Where to find more information:

    Darwin Ports



    image test