# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                py26-numexpr
version             1.4.2
categories-append   math
license             MIT
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. \
   WARNING: numpy 1.2.1, on which ${name} depends, is not yet fully \
   functional under Python 2.6.

platforms           darwin

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

checksums           md5     139115cc196dc57a66b2eb30cd3e80a0 \
                    sha1    9874be16e404d1d8550c2fd14b61a4520a387153 \
                    rmd160  30528db9e097632fe4350d0eb677298317ba72fa

depends_lib-append  port:py26-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}

