diff options
author | tg <tg@FreeBSD.org> | 1997-04-28 17:22:59 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1997-04-28 17:22:59 +0800 |
commit | f0434a5b7e95cadfacbc8fc36a491bef523fa43e (patch) | |
tree | 02dd09104d9e265f6e937a2d115010dc17b39ecd /math/numpy | |
parent | dfc830dca82b7bd3b9deed1e1548827b78265570 (diff) | |
download | freebsd-ports-gnome-f0434a5b7e95cadfacbc8fc36a491bef523fa43e.tar.gz freebsd-ports-gnome-f0434a5b7e95cadfacbc8fc36a491bef523fa43e.tar.zst freebsd-ports-gnome-f0434a5b7e95cadfacbc8fc36a491bef523fa43e.zip |
Import of the NumPy port. The Numeric extensions to Python contain
multi-dimensional arrays and interfaces to the lapack-, fftpack-
and ranlib-libraries from netlib.
Diffstat (limited to 'math/numpy')
-rw-r--r-- | math/numpy/Makefile | 40 | ||||
-rw-r--r-- | math/numpy/distinfo | 2 | ||||
-rw-r--r-- | math/numpy/pkg-comment | 1 | ||||
-rw-r--r-- | math/numpy/pkg-descr | 24 | ||||
-rw-r--r-- | math/numpy/pkg-plist | 34 |
5 files changed, 101 insertions, 0 deletions
diff --git a/math/numpy/Makefile b/math/numpy/Makefile new file mode 100644 index 000000000000..77f74a7e7a54 --- /dev/null +++ b/math/numpy/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: numpy +# Version required: 1.0b3 +# Date created: 20 April 1997 +# Whom: Thomas Gellekum <tg@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= NumPy +PKGNAME= numpy-1.0b3 +CATEGORIES= math +MASTER_SITES= http://www.sls.lcs.mit.edu/~jjh/numpy/ +DISTFILES= NumPy-1.0b3.tar.gz NumPyLib-1.0b2.tar.gz + +MAINTAINER= tg@FreeBSD.ORG + +BUILD_DEPENDS= python:${PORTSDIR}/lang/python +LIB_DEPENDS= lapack\\.2\\.:${PORTSDIR}/math/lapack \ + ranlib\\.1\\.:${PORTSDIR}/math/libranlib + +ALL_TARGET= sharedmods +MAKE_FLAGS+= 'OPT=${CFLAGS}' + +PYTHONDIR= ${PREFIX}/share/python1.4 +NUMPYDIR= ${PYTHONDIR}/${DISTNAME} +DOCDIR= ${PREFIX}/share/doc/${DISTNAME} + +do-configure: + @cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in Makefile + +do-install: + @${MKDIR} ${NUMPYDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/*.so ${NUMPYDIR} + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/*.py ${NUMPYDIR} + @PYTHONPATH=${PYTHONDIR}:${NUMPYDIR} \ + ${PREFIX}/bin/python ${PYTHONDIR}/compileall.py ${NUMPYDIR} + @${MKDIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/html/*.html ${DOCDIR} + +.include <bsd.port.mk> diff --git a/math/numpy/distinfo b/math/numpy/distinfo new file mode 100644 index 000000000000..30670a197662 --- /dev/null +++ b/math/numpy/distinfo @@ -0,0 +1,2 @@ +MD5 (NumPy-1.0b3.tar.gz) = d8917963148c059436c529e717cb0790 +MD5 (NumPyLib-1.0b2.tar.gz) = 0517f4bc112e3d6515fcdf1b5c079d23 diff --git a/math/numpy/pkg-comment b/math/numpy/pkg-comment new file mode 100644 index 000000000000..29f5536121ee --- /dev/null +++ b/math/numpy/pkg-comment @@ -0,0 +1 @@ +The Numeric Extension to Python diff --git a/math/numpy/pkg-descr b/math/numpy/pkg-descr new file mode 100644 index 000000000000..4dbb69d8c93d --- /dev/null +++ b/math/numpy/pkg-descr @@ -0,0 +1,24 @@ +The Numeric Extensions to Python (NumPy) give Python the number crunching +power of numeric languages like Matlab and IDL while maintaining all of the +advantages of the general-purpose programming language Python. + +These extensions add two new object types to Python, and then include a +number of extensions that take advantage of these two new objects. + + * Multidimensional Array Objects + + Efficient arrays of homogeneous machine types + + Arbitrary number of dimensions + + Sophisticated structural operations + * Universal Function Objects + + Supports mathematical functions on all python objects + + Very efficient for Array Objects + * Simple interfaces to existing numerical libraries: + + Linear Algebra (LAPACK) + + Fourier Transforms (FFTPACK) + + Random Numbers (RANLIB) + +To use the numeric extension, add /usr/local/share/python1.4/NumPy +to your PYTHONPATH. + +For more information, see the NumPy home page at +http://www.sls.lcs.mit.edu/~jjh/numeric diff --git a/math/numpy/pkg-plist b/math/numpy/pkg-plist new file mode 100644 index 000000000000..f73a62cf0d63 --- /dev/null +++ b/math/numpy/pkg-plist @@ -0,0 +1,34 @@ +share/python1.4/NumPy/ArrayPrinter.py +share/python1.4/NumPy/ArrayPrinter.pyc +share/python1.4/NumPy/FFT.py +share/python1.4/NumPy/FFT.pyc +share/python1.4/NumPy/LinearAlgebra.py +share/python1.4/NumPy/LinearAlgebra.pyc +share/python1.4/NumPy/MLab.py +share/python1.4/NumPy/MLab.pyc +share/python1.4/NumPy/Matrix.py +share/python1.4/NumPy/Matrix.pyc +share/python1.4/NumPy/Numeric.py +share/python1.4/NumPy/Numeric.pyc +share/python1.4/NumPy/Precision.py +share/python1.4/NumPy/Precision.pyc +share/python1.4/NumPy/RandomArray.py +share/python1.4/NumPy/RandomArray.pyc +share/python1.4/NumPy/UserArray.py +share/python1.4/NumPy/UserArray.pyc +share/python1.4/NumPy/fast_umathmodule.so +share/python1.4/NumPy/fftpackmodule.so +share/python1.4/NumPy/lapack_litemodule.so +share/python1.4/NumPy/multiarraymodule.so +share/python1.4/NumPy/ranlibmodule.so +share/python1.4/NumPy/umathmodule.so +@dirrm share/python1.4/NumPy +share/doc/NumPy/contributions.html +share/doc/NumPy/doc.html +share/doc/NumPy/download.html +share/doc/NumPy/download1.html +share/doc/NumPy/extensions.html +share/doc/NumPy/home.html +share/doc/NumPy/numpy.html +share/doc/NumPy/paper.html +@dirrm share/doc/NumPy |