mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
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
This commit is contained in:
parent
8f5b73415a
commit
714db4465a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257393
@ -453,6 +453,7 @@
|
|||||||
SUBDIR += py-networkx
|
SUBDIR += py-networkx
|
||||||
SUBDIR += py-numarray
|
SUBDIR += py-numarray
|
||||||
SUBDIR += py-numeric
|
SUBDIR += py-numeric
|
||||||
|
SUBDIR += py-numexpr
|
||||||
SUBDIR += py-numpy
|
SUBDIR += py-numpy
|
||||||
SUBDIR += py-plastex
|
SUBDIR += py-plastex
|
||||||
SUBDIR += py-probstat
|
SUBDIR += py-probstat
|
||||||
|
24
math/py-numexpr/Makefile
Normal file
24
math/py-numexpr/Makefile
Normal file
@ -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>
|
3
math/py-numexpr/distinfo
Normal file
3
math/py-numexpr/distinfo
Normal file
@ -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
|
16
math/py-numexpr/pkg-descr
Normal file
16
math/py-numexpr/pkg-descr
Normal file
@ -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/
|
41
math/py-numexpr/pkg-plist
Normal file
41
math/py-numexpr/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user