# $Id: Portfile 46419 2009-02-04 18:33:01Z devans@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-numarray version 1.5.2 categories python devel math platforms darwin maintainers nomaintainer description array manipulation and computational library for python long_description \ Numarray provides array manipulation and computational \ capabilities similar to those found in IDL, Matlab, or \ Octave. Using numarray, it is possible to write many \ efficient numerical data processing applications \ directly in Python without using any C, C++ or Fortran code. homepage http://www.stsci.edu/resources/software_hardware/numarray master_sites sourceforge:numpy distname numarray-${version} checksums sha1 17f6c4bb5f0d97e93923b8ca4f55fccc1ee985e9 # # py25-numarray does not understand setup.py --no-user-cfg from PortGroup # build.cmd ${python.bin} setup.py build.args --gencode destroot.cmd ${python.bin} setup.py platform darwin 8 { build.env CC=/usr/bin/gcc-4.0 } variant smp description {Enable smp} { build.args --smp destroot.args --smp } post-destroot { xinstall -m 644 -W ${worksrcpath} Doc/Announce.txt \ Doc/Repackaging.txt Doc/INSTALL.txt Doc/Design.txt \ Doc/UsersGuide.txt LICENSE.txt README.txt \ ${destroot}${prefix}/share/doc/${name} file delete ${destroot}${prefix}/share/doc/${name}/examples file copy ${worksrcpath}/Examples \ ${destroot}${prefix}/share/doc/${name}/examples } livecheck.regex "Old Numarray (.*) released.*"