From 4852d16c98c20e004165d4634354d11156f5db35 Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 9 Feb 2005 12:16:02 +0000 Subject: Update py-numarray to version 1.1.1 Support Python 2.4 1.1.1 changes: numarray-1.1.1 is a bugfix release to numarray-1.1. Notable bugs fixed include memory leaks in matrixmultiply and comparison ufuncs. 1.1 changes: I. ENHANCEMENTS CharArray eval() sped up Document memmap.py (memory mapping) Unsigned int type support limited Add kroenecker product II. BUGS FIXED / CLOSED max.reduce of byteswapped array numeric compatibility byteoffset matrixmultiply (a,b) leaves b transposed random_array.randint exceeds boundaries buffer not aligned on 8 byte boundary (Windows-98 broken) Object Array repr for >1000 elements Invalid sequences errors Segfault in array element deletion Incorrect handling of overlapping assignments in Numarray Weirdness with 'new' method searchsorted bug and fix randint bug fix patch a.is_c_array() mixed int/bool results argsort of string arrays III. CAUTIONS 1. This release is binary incompatible with numarray-1.0. Writers of C-extensions which directly reference the byteoffset field of the PyArrayObject should be aware that the data pointer is now the sum of byteoffset and the buffer base pointer. All C extensions which use the numarray C-API must be recompiled. This incompatibility was an unfortunate consequence of the fix for "numeric compatibility byteoffset". --- math/py-numarray/Makefile | 8 ++++---- math/py-numarray/PLIST | 6 +++++- math/py-numarray/buildlink3.mk | 4 ++-- math/py-numarray/distinfo | 6 +++--- 4 files changed, 14 insertions(+), 10 deletions(-) (limited to 'math') diff --git a/math/py-numarray/Makefile b/math/py-numarray/Makefile index 02685d0ab39..721d0e07e4b 100644 --- a/math/py-numarray/Makefile +++ b/math/py-numarray/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2005/01/23 20:41:48 recht Exp $ +# $NetBSD: Makefile,v 1.4 2005/02/09 12:16:02 markd Exp $ # -DISTNAME= numarray-1.0 -PKGNAME= ${PYPKGPREFIX}-numarray-1.0 +DISTNAME= numarray-1.1.1 +PKGNAME= ${PYPKGPREFIX}-numarray-1.1.1 CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/} @@ -12,7 +12,7 @@ COMMENT= Array manipulation USE_BUILDLINK3= yes PYDISTUTILSPKG= yes -PYTHON_VERSIONS_ACCEPTED= 23 22 +PYTHON_VERSIONS_ACCEPTED= 24 23 22 .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/math/py-numarray/PLIST b/math/py-numarray/PLIST index aa62a67d803..f907677652b 100644 --- a/math/py-numarray/PLIST +++ b/math/py-numarray/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2004/07/09 15:50:25 recht Exp $ +@comment $NetBSD: PLIST,v 1.3 2005/02/09 12:16:02 markd Exp $ ${PYINC}/numarray/arraybase.h ${PYINC}/numarray/arrayobject.h ${PYINC}/numarray/cfunc.h @@ -166,6 +166,9 @@ ${PYSITELIB}/numarray/memory.so ${PYSITELIB}/numarray/memorytest.py ${PYSITELIB}/numarray/memorytest.pyc ${PYSITELIB}/numarray/memorytest.pyo +${PYSITELIB}/numarray/mlab/__init__.py +${PYSITELIB}/numarray/mlab/__init__.pyc +${PYSITELIB}/numarray/mlab/__init__.pyo ${PYSITELIB}/numarray/nd_image/__init__.py ${PYSITELIB}/numarray/nd_image/__init__.pyc ${PYSITELIB}/numarray/nd_image/__init__.pyo @@ -258,6 +261,7 @@ ${PYSITELIB}/numarray/ufunc.pyc ${PYSITELIB}/numarray/ufunc.pyo @dirrm ${PYSITELIB}/numarray/random_array @dirrm ${PYSITELIB}/numarray/nd_image +@dirrm ${PYSITELIB}/numarray/mlab @dirrm ${PYSITELIB}/numarray/ma @dirrm ${PYSITELIB}/numarray/linear_algebra @dirrm ${PYSITELIB}/numarray/image diff --git a/math/py-numarray/buildlink3.mk b/math/py-numarray/buildlink3.mk index c67edf8c1c6..7cca1e22d99 100644 --- a/math/py-numarray/buildlink3.mk +++ b/math/py-numarray/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1 2004/04/22 15:14:59 drochner Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2005/02/09 12:16:02 markd Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PY_NUMARRAY_BUILDLINK3_MK:= ${PY_NUMARRAY_BUILDLINK3_MK}+ @@ -13,7 +13,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npynumarray} BUILDLINK_PACKAGES+= pynumarray .if !empty(PY_NUMARRAY_BUILDLINK3_MK:M+) -BUILDLINK_DEPENDS.pynumarray+= ${PYPKGPREFIX}-numarray>=0.9 +BUILDLINK_DEPENDS.pynumarray+= ${PYPKGPREFIX}-numarray>=1.1.1 BUILDLINK_PKGSRCDIR.pynumarray?= ../../math/py-numarray .endif # PY_NUMARRAY_BUILDLINK3_MK diff --git a/math/py-numarray/distinfo b/math/py-numarray/distinfo index 3f0161c396f..9d370a30c5a 100644 --- a/math/py-numarray/distinfo +++ b/math/py-numarray/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2004/07/09 15:50:25 recht Exp $ +$NetBSD: distinfo,v 1.3 2005/02/09 12:16:02 markd Exp $ -SHA1 (numarray-1.0.tar.gz) = bb858a03410fe90a1a11f90814479b44b1b7eb10 -Size (numarray-1.0.tar.gz) = 1036446 bytes +SHA1 (numarray-1.1.1.tar.gz) = eaa54a6852595b2453f92a8102cb086b2a204521 +Size (numarray-1.1.1.tar.gz) = 1074332 bytes -- cgit v1.2.3