Py-clamav version 0.4.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    py-clamav  most recent diff


    version 0.4.0

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


      The py-clamav Portfile 30249 2007-10-23 02:12:47Z jmpp macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: py-clamav
      Version: 0.4.0
      Category: python
      Platform: darwin
      Maintainers: nomaintainer
      Description: python interface to the clamav antivirus
      Long Description: ${description}

      Homepage: http://norman.free.fr/norman/python/pyclamav/
      Master Sites: ${homepage}
      distname pyclamav-${version}
      Checksums: sha1 3f734f6105f334f6ed3d8d5eee5007f2f6bfac01

      depends_lib-append port:clamav

      build.env CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

      post-destroot {
      xinstall -m 644 ${worksrcpath}/README.txt ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 ${worksrcpath}/example.py ${destroot}${prefix}/share/doc/${name}/examples
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.