Ticket #26679: Portfile-py26-mpi4py.diff

File Portfile-py26-mpi4py.diff, 1.0 KB (added by dechaume@…, 14 years ago)
  • Portfile

    old new  
    55PortGroup       python26 1.0
    66
    77name            py26-mpi4py
    8 version         1.2
     8version         1.2.2
    99categories      python
    1010description     MPI for Python - Python bindings for MPI
    1111long_description \
     
    2525homepage        http://code.google.com/p/mpi4py/
    2626master_sites    googlecode:mpi4py
    2727distname        mpi4py-${version}
    28 checksums       sha1    6dcef2758abce46c8e0b55a531d7164b8fed8931
    29 
     28checksums       md5     91c1b962529adfd90b9f9f98db5624b7 \
     29                sha1    e08d09257794a85d010a22ad9bda9d1c89a6258f \
     30                rmd160  434d411aa4e954706f2ca8bdde115dc654b58f21
    3031platforms       darwin
    3132
    3233if { ${os.major} < 9 } {
     
    4142    depends_lib-append  port:openmpi
    4243    build.target        build "--mpicc=${prefix}/bin/openmpicc"
    4344}
     45
     46variant interpreter description {builds an mpi enabled python interpreter} {
     47    patchfiles-append   patch-conf-mpidistutils.py.diff
     48}