# $Id: Portfile 58334 2009-09-26 21:16:02Z blb@macports.org $

PortSystem          1.0
PortGroup           python25 1.0
name                py25-numexpr
version             1.3.1
categories-append   math
maintainers         nomaintainer
description         Multiple-operator array expression evaluator
long_description \
   The numexpr package evaluates multiple-operator array expressions many \
   times faster than NumPy can. It accepts the expression as a string, \
   analyzes it, rewrites it more efficiently, and compiles it to faster \
   Python code on the fly. It's the next best thing to writing the \
   expression in C and compiling it with a specialized just-in-time (JIT) \
   compiler, i.e. it does not require a compiler at runtime. \
   Also, numexpr has support for the Intel VML (Vector Math Library) -- \
   integrated in Intel MKL (Math Kernel Library) --, allowing nice speed-ups \
   when computing transcendental functions (like trigonometrical, \
   exponentials...) on top of Intel-compatible platforms. This support also \
   allows to use multiple cores in your computations.

platforms           darwin

homepage            http://code.google.com/p/numexpr/
master_sites        http://numexpr.googlecode.com/files/
distname            numexpr-${version}

checksums           md5     1ca0cf40350913fa620f73cbd906378a \
                    sha1    2921531ece0eacb303b0c9a4978d0d050dcfd5d2 \
                    rmd160  6cacbcf37581b5e19fe9fe674dd7b0722f1a19de

depends_lib-append  port:py25-numpy

post-destroot {
   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
   xinstall -m 644 -W ${worksrcpath} ANNOUNCE.txt LICENSE.txt README.txt \
      RELEASE_NOTES.txt ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       http://code.google.com/p/numexpr/downloads/list
livecheck.regex     {numexpr-([0-9.]+)\.tar\.gz}

