aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-07-05 16:18:12 +0800
committerwen <wen@FreeBSD.org>2010-07-05 16:18:12 +0800
commit4ada82255e7dfd1abcd38b50efcdec59be4f5e3d (patch)
tree4ad5d1010ab29f70a6ef934d745af8dc1a86ef92 /math
parentc4712ec175b40b66a759f78f8c786deaa5fce64c (diff)
downloadfreebsd-ports-gnome-4ada82255e7dfd1abcd38b50efcdec59be4f5e3d.tar.gz
freebsd-ports-gnome-4ada82255e7dfd1abcd38b50efcdec59be4f5e3d.tar.zst
freebsd-ports-gnome-4ada82255e7dfd1abcd38b50efcdec59be4f5e3d.zip
numexpr - Fast numerical array expression evaluator for Python and NumPy.
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. WWW: http://code.google.com/p/numexpr/ PR: ports/148372 Submitted by: Ju Pengfei <jupengfei@gmail.com> Feature safe: yes
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/py-numexpr/Makefile24
-rw-r--r--math/py-numexpr/distinfo3
-rw-r--r--math/py-numexpr/pkg-descr16
-rw-r--r--math/py-numexpr/pkg-plist41
5 files changed, 85 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 0bd6eb9b047d..09760b34a1cd 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -453,6 +453,7 @@
SUBDIR += py-networkx
SUBDIR += py-numarray
SUBDIR += py-numeric
+ SUBDIR += py-numexpr
SUBDIR += py-numpy
SUBDIR += py-plastex
SUBDIR += py-probstat
diff --git a/math/py-numexpr/Makefile b/math/py-numexpr/Makefile
new file mode 100644
index 000000000000..99961773718e
--- /dev/null
+++ b/math/py-numexpr/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: numexpr
+# Date created: 05 July 2010
+# Whom: Ju Pengfei <ju.pengfei@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= numexpr
+PORTVERSION= 1.3.1
+CATEGORIES= math python
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jupengfei@gmail.com
+COMMENT= Fast numerical array expression evaluator for Python and NumPy
+
+BUILD_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+PYEASYINSTALL_ARCHDEP= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-numexpr/distinfo b/math/py-numexpr/distinfo
new file mode 100644
index 000000000000..a227a80c3866
--- /dev/null
+++ b/math/py-numexpr/distinfo
@@ -0,0 +1,3 @@
+MD5 (numexpr-1.3.1.tar.gz) = 1ca0cf40350913fa620f73cbd906378a
+SHA256 (numexpr-1.3.1.tar.gz) = 52bae05999975b181a49903371bd22073669c210d2e34a26d6b87bf684c35263
+SIZE (numexpr-1.3.1.tar.gz) = 56972
diff --git a/math/py-numexpr/pkg-descr b/math/py-numexpr/pkg-descr
new file mode 100644
index 000000000000..80ba7913d735
--- /dev/null
+++ b/math/py-numexpr/pkg-descr
@@ -0,0 +1,16 @@
+numexpr - Fast numerical array expression evaluator for Python and NumPy.
+
+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.
+
+WWW: http://code.google.com/p/numexpr/
diff --git a/math/py-numexpr/pkg-plist b/math/py-numexpr/pkg-plist
new file mode 100644
index 000000000000..cac3b66ec98a
--- /dev/null
+++ b/math/py-numexpr/pkg-plist
@@ -0,0 +1,41 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/cpuinfo.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/necompiler.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/version.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/expressions.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/__config__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/interpreter.so
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/cpuinfo.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/necompiler.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/version.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/expressions.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/__config__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/cpuinfo.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/necompiler.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/version.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/expressions.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/__config__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/interpreter.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/interpreter.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/interpreter.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/tests/test_numexpr.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/tests/test_numexpr.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/tests/test_numexpr.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr/tests
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/numexpr
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%