pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-Numeric update to 24.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b383199ac0aa
branches:  trunk
changeset: 508140:b383199ac0aa
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Feb 15 17:37:08 2006 +0000

description:
update to 24.2
another "final release"
changes:
-__array_data__, __array_struct__ support
-some bugfixes
-Support array interface in objecttype function
-build system improvements

inofficial note:
The default indices of diagonal() and trace() changed, this causes
a selftest to fail. The default indices behaviour is documented, so
it seems that just the selftest is wrong. This only affects arrays with
more than 2 dimensions.

diffstat:

 math/py-Numeric/Makefile         |   5 ++---
 math/py-Numeric/PLIST            |   6 +++++-
 math/py-Numeric/distinfo         |  10 +++++-----
 math/py-Numeric/patches/patch-ab |  35 -----------------------------------
 math/py-Numeric/patches/patch-ac |  21 +++++++++++++++++++++
 5 files changed, 33 insertions(+), 44 deletions(-)

diffs (121 lines):

diff -r d9fd10a7c50c -r b383199ac0aa math/py-Numeric/Makefile
--- a/math/py-Numeric/Makefile  Wed Feb 15 17:27:19 2006 +0000
+++ b/math/py-Numeric/Makefile  Wed Feb 15 17:37:08 2006 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2006/02/05 23:10:03 joerg Exp $
+# $NetBSD: Makefile,v 1.40 2006/02/15 17:37:08 drochner Exp $
 
-DISTNAME=      Numeric-23.7
+DISTNAME=      Numeric-24.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=numpy/}
 
diff -r d9fd10a7c50c -r b383199ac0aa math/py-Numeric/PLIST
--- a/math/py-Numeric/PLIST     Wed Feb 15 17:27:19 2006 +0000
+++ b/math/py-Numeric/PLIST     Wed Feb 15 17:37:08 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2003/09/14 17:43:53 recht Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/02/15 17:37:08 drochner Exp $
 ${PYINC}/Numeric/arrayobject.h
 ${PYINC}/Numeric/f2c.h
 ${PYINC}/Numeric/ranlib.h
@@ -32,6 +32,9 @@
 ${PYSITELIB}/Numeric/Matrix.py
 ${PYSITELIB}/Numeric/Matrix.pyc
 ${PYSITELIB}/Numeric/Matrix.pyo
+${PYSITELIB}/Numeric/Numeric_headers/__init__.py
+${PYSITELIB}/Numeric/Numeric_headers/__init__.pyc
+${PYSITELIB}/Numeric/Numeric_headers/__init__.pyo
 ${PYSITELIB}/Numeric/Numeric.py
 ${PYSITELIB}/Numeric/Numeric.pyc
 ${PYSITELIB}/Numeric/Numeric.pyo
@@ -61,6 +64,7 @@
 ${PYSITELIB}/Numeric/ranlib.so
 ${PYSITELIB}/Numeric/umath.so
 @dirrm ${PYSITELIB}/Numeric/RNG
+@dirrm ${PYSITELIB}/Numeric/Numeric_headers
 @dirrm ${PYSITELIB}/Numeric/MA
 @dirrm ${PYSITELIB}/Numeric/FFT
 @dirrm ${PYSITELIB}/Numeric
diff -r d9fd10a7c50c -r b383199ac0aa math/py-Numeric/distinfo
--- a/math/py-Numeric/distinfo  Wed Feb 15 17:27:19 2006 +0000
+++ b/math/py-Numeric/distinfo  Wed Feb 15 17:37:08 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.12 2005/02/25 17:10:09 drochner Exp $
+$NetBSD: distinfo,v 1.13 2006/02/15 17:37:08 drochner Exp $
 
-SHA1 (Numeric-23.7.tar.gz) = 3fe90c14692c9fe9da0d4202df4036e8ecfdd365
-RMD160 (Numeric-23.7.tar.gz) = 1ff89d0e809c97b5cc06184676503bfee12c2fcd
-Size (Numeric-23.7.tar.gz) = 725824 bytes
+SHA1 (Numeric-24.2.tar.gz) = 72869ef80c12630a9a125ba10c96093b6ae16aff
+RMD160 (Numeric-24.2.tar.gz) = c9502db28663558c535e236392c9beddec9743bb
+Size (Numeric-24.2.tar.gz) = 743800 bytes
 SHA1 (patch-aa) = 0096fe9de4c3912cdefd3278385edd4b7f55cf63
-SHA1 (patch-ab) = 26f8c8bbd2bd74b5fcefb474d66d5d1fd411fbd4
+SHA1 (patch-ac) = 45ca40e38123dc72ec42b3775b2401c0037674c0
diff -r d9fd10a7c50c -r b383199ac0aa math/py-Numeric/patches/patch-ab
--- a/math/py-Numeric/patches/patch-ab  Wed Feb 15 17:27:19 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-$NetBSD: patch-ab,v 1.8 2005/02/25 17:10:09 drochner Exp $
-
---- setup.py.orig      2005-01-06 23:16:13.000000000 +0100
-+++ setup.py
-@@ -33,19 +33,22 @@ elif sys.platform in ['mac', 'beos5']:
- 
- # delete all but the first one in this list if using your own LAPACK/BLAS
- sourcelist = [os.path.join('Src', 'lapack_litemodule.c'),
--              #os.path.join('Src', 'blas_lite.c'), 
--              #os.path.join('Src', 'f2c_lite.c'), 
--              #os.path.join('Src', 'zlapack_lite.c'),
--              #os.path.join('Src', 'dlapack_lite.c')
-+              os.path.join('Src', 'blas_lite.c'), 
-+              os.path.join('Src', 'f2c_lite.c'), 
-+              os.path.join('Src', 'zlapack_lite.c'),
-+              os.path.join('Src', 'dlapack_lite.c')
-              ]
- # set these to use your own BLAS;
- 
--library_dirs_list = ['/usr/lib/atlas']
--libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c'] 
-+library_dirs_list = []
-+#library_dirs_list = ['/usr/lib/atlas']
-+libraries_list = []
-+#libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c'] 
- 
- # set to true (1), if you also want BLAS optimized matrixmultiply/dot/innerproduct
--use_dotblas = 1 
--include_dirs = ['/usr/include/atlas']  
-+use_dotblas = 0
-+include_dirs = []
-+#include_dirs = ['/usr/include/atlas']  
-                    # You may need to set this to find cblas.h
-                    #  e.g. on UNIX using ATLAS this should be ['/usr/include/atlas']
- extra_link_args = []
diff -r d9fd10a7c50c -r b383199ac0aa math/py-Numeric/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-Numeric/patches/patch-ac  Wed Feb 15 17:37:08 2006 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.3 2006/02/15 17:37:08 drochner Exp $
+
+--- Packages/RNG/Src/ranf.c.orig       2005-04-03 14:23:06.000000000 +0200
++++ Packages/RNG/Src/ranf.c
+@@ -148,12 +148,16 @@ void Mixranf(int *s,u32 s48[2])
+       s48[1] = (u32)clock_time;
+ #else
+       struct timeval tv;
++#if 0
+       struct timezone tz;
+ #if !defined(__sgi)
+       int gettimeofday(struct timeval *, struct timezone *);
+ #endif
+ 
+       (void)gettimeofday(&tv,&tz);
++#else
++      (void)gettimeofday(&tv,0);
++#endif
+       s48[0] = (u32)tv.tv_sec;
+       s48[1] = (u32)tv.tv_usec;
+ #endif /* !_WIN32 */



Home | Main Index | Thread Index | Old Index