Py25-m2crypto version 0.20.2 - How to Download and Install on Mac OS X
Saturday the 20th of March, 2010

    py25-m2crypto  most recent diff


    version 0.20.2

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


      The py25-m2crypto Portfile 60005 2009-10-29 01:30:17Z jmr macports.org $

      PortSystem 1.0
      PortGroup python25 1.0

      Name: py25-m2crypto
      Version: 0.20.2
      Category:-append crypto devel
      Maintainers: ram openmaintainer
      Description: M2Crypto is a crypto and SSL toolkit for Python.
      Long Description: ${description}

      Platform: darwin

      Homepage: http://chandlerproject.org/Projects/MeTooCrypto
      Master Sites: http://pypi.python.org/packages/source/M/M2Crypto/
      distname M2Crypto-${version}

      Checksums: md5 6c24410410d6eb1920ea43f77a93613a sha1 6e85d7035971c353db74a497fca0ec2eaea4dea0 rmd160 7376195fd586e7834d41229a4798f8810b86eed2

      depends_lib-append bin:swig:swig-python port:openssl port:py25-setuptools

      post-patch {
      reinplace "s|#extra_link_args|extra_link_args|g" ${worksrcpath}/setup.py
      reinplace "s|self.openssl = '/usr'|self.openssl = '${prefix}'|g" ${worksrcpath}/setup.py
      }

      post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      eval file copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.