Download and Install py-crypto version 2.0.1 on Mac OS X
Saturday the 26th of July, 2008

    py-crypto  most recent diff


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



      # $Id: Portfile 33099 2008-01-17 22:03:08Z ram macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-crypto
      Version: 2.0.1
      Category: python security
      Platform: darwin freebsd
      Maintainers: nomaintainer
      Description: collection of cryptographic algorithms and protocols for python
      Long Description: collection of cryptographic algorithms and protocols, implemented for use from python. Among are MD2, MD4, RIPEMD, AES, ARC2, Blowfish, CAST, DES, Triple-DES, IDEA, RC5, ARC4, simple XOR, RSA, DSA, ElGamal, qNEW.

      Homepage: http://www.amk.ca/python/code/crypto.html
      master_sites http://www.amk.ca/files/python/crypto/
      distname pycrypto-${version}
      checksums sha1 c77cdefdfb06e4749690013a9a9e1600ab14e26f

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

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog LICENSE README TODO ${destroot}${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    image test