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.
This commit is contained in:
Thomas Gellekum 1997-04-28 09:22:59 +00:00
parent 0b789ed1bf
commit 4036a78b4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6349
15 changed files with 303 additions and 0 deletions

40
math/numpy/Makefile Normal file
View file

@ -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>

2
math/numpy/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (NumPy-1.0b3.tar.gz) = d8917963148c059436c529e717cb0790
MD5 (NumPyLib-1.0b2.tar.gz) = 0517f4bc112e3d6515fcdf1b5c079d23

1
math/numpy/pkg-comment Normal file
View file

@ -0,0 +1 @@
The Numeric Extension to Python

24
math/numpy/pkg-descr Normal file
View file

@ -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

34
math/numpy/pkg-plist Normal file
View file

@ -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

40
math/py-numeric/Makefile Normal file
View file

@ -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>

2
math/py-numeric/distinfo Normal file
View file

@ -0,0 +1,2 @@
MD5 (NumPy-1.0b3.tar.gz) = d8917963148c059436c529e717cb0790
MD5 (NumPyLib-1.0b2.tar.gz) = 0517f4bc112e3d6515fcdf1b5c079d23

View file

@ -0,0 +1 @@
The Numeric Extension to Python

24
math/py-numeric/pkg-descr Normal file
View file

@ -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

34
math/py-numeric/pkg-plist Normal file
View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (NumPy-1.0b3.tar.gz) = d8917963148c059436c529e717cb0790
MD5 (NumPyLib-1.0b2.tar.gz) = 0517f4bc112e3d6515fcdf1b5c079d23

View file

@ -0,0 +1 @@
The Numeric Extension to Python

View file

@ -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

View file

@ -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