diff options
author | markd <markd@pkgsrc.org> | 2002-10-30 10:35:32 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2002-10-30 10:35:32 +0000 |
commit | a801046902e679e7b16e1196be8d5b210e166a38 (patch) | |
tree | 24a32be29887cbd85404498328f1ed07ae103657 /math | |
parent | 51778773d5c1d1c3b0d4e2af213c27c80e083e94 (diff) | |
download | pkgsrc-a801046902e679e7b16e1196be8d5b210e166a38.tar.gz |
Update py-Numeric to version 21.0
Fixed bugs:
[ #482603 ] Memory leak in MA/Numeric/Python
Reported by Reggie Dugard. Turned out to be
*two* memory leaks in one case in a routine in Numeric,
array_objectype. (Dubois)
[ none ] if vals was a null-array array([]) putmask and put would
crash. Fixed with check.
[ #469951 ] n = n1[0] gives array which shares dimension of n1 array.
This causes bugs if shape of n1 is changed (n didn't used
to have it's own dimensions array (Travis Oliphant)
[ #514588 ] MLab.cov(x,x) != MLab.cov(x) (Travis Oliphant)
[ #518702 ] segfault when invalid typecode for asarray (Travis Oliphant)
[ #497530 ] MA __getitem__ prevents 0 len arrays (Reggie Duggard)
[ #508363 ] outerproduct of noncontiguous arrays (Martin Wiechert)
[ #513010 ] memory leak in comparisons (Byran Nollett)
[ #512223 ] Character typecode not defined (Jochen Kupper)
[ #500784 ] MLab.py diff error (anonymous, fixed by Dubois)
[ #503741 ] accuracy of MLab.std(x) (Katsunori Waragai)
[ #507568 ] overlapping copy a[2:5] = a[3:6]
Change uses of memcpy to memmove which allows overlaps.
[ numpy-Patches-499722 ] size of buffer created from array is bad (Michel Sanner).
[ #502186 ] a BUG in RandomArray.normal (introduced by last bug fix in 20.3)
(Katsunori Waragai).
Fixed errors for Mac (Jack Jensen).
Make rpm's properly, better Windows installers. (Gerard Vermeulen)
Added files setup.cfg; setup calculates rpm_install.sh to use current Python.
New setup.py, eliminate setup_all.py. Use os.path.join everywhere. Revision
in b6 added file README.RPM, further improvements.
Implement true division operations for Python 2.2. (Bruce Sherwood)
Note: true division of all integer types results in an array of floats,
not doubles. This decision is arbitrary and there are arguments either way,
so users of this new feature should be aware that the decision may
change in the future.
New functions in Numeric; they work on any sequence a that can be converted to a
Numeric array. Similar change to average in MA. (Dubois)
def rank (a):
"Get the rank of a (the number of dimensions, not a matrix rank)"
def shape (a):
"Get the shape of a"
def size (a, axis=None):
"Get the number of elements in a, or along a certain axis."
def average (a, axis=0, weights=None, returned = 0):
Computes average along indicated axis.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-Numeric/Makefile | 6 | ||||
-rw-r--r-- | math/py-Numeric/PLIST | 70 | ||||
-rw-r--r-- | math/py-Numeric/distinfo | 6 |
3 files changed, 41 insertions, 41 deletions
diff --git a/math/py-Numeric/Makefile b/math/py-Numeric/Makefile index f3b1bd23c4c..0ab5d870e97 100644 --- a/math/py-Numeric/Makefile +++ b/math/py-Numeric/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.28 2002/09/22 10:29:42 jlam Exp $ +# $NetBSD: Makefile,v 1.29 2002/10/30 10:35:32 markd Exp $ -DISTNAME= Numeric-20.3 +DISTNAME= Numeric-21.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/} @@ -14,7 +14,7 @@ USE_BUILDLINK2= yes PYTHON_VERSIONS_ACCEPTED= 22 21 20 PYDISTUTILSPKG= yes PYBINMODULE= yes -PYSETUP= setup_all.py +PYSETUP= setup.py .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/math/py-Numeric/PLIST b/math/py-Numeric/PLIST index 74e6309a99a..46c56c0b1e7 100644 --- a/math/py-Numeric/PLIST +++ b/math/py-Numeric/PLIST @@ -1,19 +1,19 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:34:01 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/10/30 10:35:32 markd Exp $ ${PYINC}/Numeric/arrayobject.h ${PYINC}/Numeric/f2c.h ${PYINC}/Numeric/ranlib.h ${PYINC}/Numeric/ufuncobject.h -${PYSITELIB}/FFT/FFT.py -${PYSITELIB}/FFT/FFT.pyc -${PYSITELIB}/FFT/__init__.py -${PYSITELIB}/FFT/__init__.pyc -${PYSITELIB}/FFT/fftpack.so -${PYSITELIB}/MA/MA.py -${PYSITELIB}/MA/MA.pyc -${PYSITELIB}/MA/MA_version.py -${PYSITELIB}/MA/MA_version.pyc -${PYSITELIB}/MA/__init__.py -${PYSITELIB}/MA/__init__.pyc +${PYSITELIB}/Numeric/FFT/FFT.py +${PYSITELIB}/Numeric/FFT/FFT.pyc +${PYSITELIB}/Numeric/FFT/__init__.py +${PYSITELIB}/Numeric/FFT/__init__.pyc +${PYSITELIB}/Numeric/FFT/fftpack.so +${PYSITELIB}/Numeric/MA/MA.py +${PYSITELIB}/Numeric/MA/MA.pyc +${PYSITELIB}/Numeric/MA/MA_version.py +${PYSITELIB}/Numeric/MA/MA_version.pyc +${PYSITELIB}/Numeric/MA/__init__.py +${PYSITELIB}/Numeric/MA/__init__.pyc ${PYSITELIB}/Numeric/ArrayPrinter.py ${PYSITELIB}/Numeric/ArrayPrinter.pyc ${PYSITELIB}/Numeric/LinearAlgebra.py @@ -38,29 +38,29 @@ ${PYSITELIB}/Numeric/numeric_version.py ${PYSITELIB}/Numeric/numeric_version.pyc ${PYSITELIB}/Numeric/ranlib.so ${PYSITELIB}/Numeric/umath.so -${PYSITELIB}/PropertiedClasses/Properties.py -${PYSITELIB}/PropertiedClasses/Properties.pyc -${PYSITELIB}/PropertiedClasses/Properties_version.py -${PYSITELIB}/PropertiedClasses/Properties_version.pyc -${PYSITELIB}/PropertiedClasses/__init__.py -${PYSITELIB}/PropertiedClasses/__init__.pyc -${PYSITELIB}/RNG/RNG.so -${PYSITELIB}/RNG/Statistics.py -${PYSITELIB}/RNG/Statistics.pyc -${PYSITELIB}/RNG/__init__.py -${PYSITELIB}/RNG/__init__.pyc +${PYSITELIB}/Numeric/PropertiedClasses/Properties.py +${PYSITELIB}/Numeric/PropertiedClasses/Properties.pyc +${PYSITELIB}/Numeric/PropertiedClasses/Properties_version.py +${PYSITELIB}/Numeric/PropertiedClasses/Properties_version.pyc +${PYSITELIB}/Numeric/PropertiedClasses/__init__.py +${PYSITELIB}/Numeric/PropertiedClasses/__init__.pyc +${PYSITELIB}/Numeric/RNG/RNG.so +${PYSITELIB}/Numeric/RNG/Statistics.py +${PYSITELIB}/Numeric/RNG/Statistics.pyc +${PYSITELIB}/Numeric/RNG/__init__.py +${PYSITELIB}/Numeric/RNG/__init__.pyc ${PYSITELIB}/Numeric.pth -${PYSITELIB}/kinds/__init__.py -${PYSITELIB}/kinds/__init__.pyc -${PYSITELIB}/kinds/_kinds.so -${PYSITELIB}/kinds/kinds.py -${PYSITELIB}/kinds/kinds.pyc -${PYSITELIB}/kinds/kinds_version.py -${PYSITELIB}/kinds/kinds_version.pyc +${PYSITELIB}/Numeric/kinds/__init__.py +${PYSITELIB}/Numeric/kinds/__init__.pyc +${PYSITELIB}/Numeric/kinds/_kinds.so +${PYSITELIB}/Numeric/kinds/kinds.py +${PYSITELIB}/Numeric/kinds/kinds.pyc +${PYSITELIB}/Numeric/kinds/kinds_version.py +${PYSITELIB}/Numeric/kinds/kinds_version.pyc @dirrm ${PYINC}/Numeric -@dirrm ${PYSITELIB}/FFT +@dirrm ${PYSITELIB}/Numeric/FFT +@dirrm ${PYSITELIB}/Numeric/MA +@dirrm ${PYSITELIB}/Numeric/PropertiedClasses +@dirrm ${PYSITELIB}/Numeric/RNG +@dirrm ${PYSITELIB}/Numeric/kinds @dirrm ${PYSITELIB}/Numeric -@dirrm ${PYSITELIB}/MA -@dirrm ${PYSITELIB}/PropertiedClasses -@dirrm ${PYSITELIB}/RNG -@dirrm ${PYSITELIB}/kinds diff --git a/math/py-Numeric/distinfo b/math/py-Numeric/distinfo index 5d5e735a007..8a7e008fd5d 100644 --- a/math/py-Numeric/distinfo +++ b/math/py-Numeric/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2002/01/10 20:47:28 drochner Exp $ +$NetBSD: distinfo,v 1.6 2002/10/30 10:35:32 markd Exp $ -SHA1 (Numeric-20.3.tar.gz) = 2bb31d417b4cafc2f99b4c6cf9aad2cc71a2fb25 -Size (Numeric-20.3.tar.gz) = 711012 bytes +SHA1 (Numeric-21.0.tar.gz) = b94ab3be055d6b4e36f298da6f56526551031d51 +Size (Numeric-21.0.tar.gz) = 718118 bytes |