Up to [cvs.NetBSD.org] / pkgsrc / math / py-Numeric
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-Numeric: removed
math: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes
math: Remove SHA1 hashes for distfiles
Add SHA512 digests for distfiles for math category Problems found locating distfiles: Package dfftpack: missing distfile dfftpack-20001209.tar.gz Package eispack: missing distfile eispack-20001130.tar.gz Package fftpack: missing distfile fftpack-20001130.tar.gz Package linpack: missing distfile linpack-20010510.tar.gz Package minpack: missing distfile minpack-20001130.tar.gz Package odepack: missing distfile odepack-20001130.tar.gz Package py-networkx: missing distfile networkx-1.10.tar.gz Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz Package quadpack: missing distfile quadpack-20001130.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
use the Accelerate framework on Darwin instead of the obsolete vecLib
Never use setuptools to make builds consistent independent of whether py-setuptools is present or not.
Fixed some pkglint warnings.
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.
update to 23.7 changes: -Added empty as command for creating an empty array (much faster than zeros) -fixes
Add RMD160 digests in addition to SHA1 ones.
update to 23.3 changes: Bug fixes and addition of weakreferences (weakref module)
Include math.h earlier on to fix a build problem on FreeBSD. Trivial fix from FreeBSD through Michal Pasternak in PR pkg/23846.
Update to 23.1. changes: Version 23.1 August 2003 [unreported] fixed assignment to matrix. [unreported] added check so that non-character array cannot be interpreted as a character buffer. [unreported] array([m,m,m]) when m is a rank-0 array now works as expected. Patches: [ 782001 ] Add true and floor divide to MA [ 781215 ] true_divide bug [ 776991 ] multiplying small UINT values gives random results [ 776467 ] remove string exceptions
update to 23.0 Important notice: Two packages have been removed from optional ones: PropertiedClasses, kinds. MA has been rewritten to use standard property and will not work for ancient Pythons. (Pre 2.1, I think). Use the MA / Propertied Classes from Numeric 22 if you can't use this one. The kinds package (subject of PEP-0242) will be released as a separate package shortly. PEP-0242 was withdrawn because this facility did not seem to be worth putting in the standard library, but kinds is correct as is. Other changes are bugfixes.
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.
update to 20.3 changes: Please note that the __future__ options wrt integer division in Python 2.2 are NOT available in Numeric at this time. Incompatible change to functions sum and product in MA. See Packages/MA/changes.txt. Fixed memory leak in divmod [#470058] thanks Reggie Dugard. Added argmax, argmin for byte, unsigned byte [#474241] Fixed bug in RandomArray.normal for default shape. [#482046] To fix bug and correctly accept keyword args, changed fromstring interface to: fromstring(string, typecode="l", count=-1) Applied patch #[ #468068 ] Speedups for small matrices by Gary Bishop. Removed newlines in comment in multiarray. Fixed uninitalized variable in asinh on Windows. Optimization: Moved array_range to C (T. Oliphant) Add coding to setup.py for the BeOs5. (patch #466187, not applied as given) Removed a couple of warning errors in the sea of same produced by gcc's warnall. Fixed bug in arrayfns.histogram (bug #462813) Optional Package Properties 2.2 Allow external handlers in Properties. No check is made any more that the handler is an unbound method of the class. Must have the correct signature, however.
update to 20.2.1
update to 20.1.0 Changes: Version 20.1 MA and kinds rebased on new package Properties (which grew out of the old activeattr.py file previously in MA). Masked arrays can now be pickled. Properties provides a easy-to-use method to have a name act as if it is a attribute of the class but be able to control reading, writing, and deleting of that attribute via methods of the class. Applied patch that fixes errors when Python is pymalloc-enabled (dmcooke). Applied patch to add new support in LinearAlgebra for symmetrical eigenvalue problems. (Allesandro Mirone) Applied patch to fix comparisons to None in MLab.py (jbmoody). Found and fixed another one in RandomArray.py. Applied suggested fix by Mark Hadfield to let setup_all.py work on systems where Python is installed in a directory path that contains a space. Version 20.0 Redo setup.py so that binary windows installers for Numeric, FFT, MA, etc. can be made automatically. Packages LALITE and RANLIB merged back to top level. Adjustment for BLAS in setup.py. Documentation of Numeric module made more compatible with pydoc. argmin/argmax/argsort/sort errors with axis specs fixed (bug #233805) -- also made them capable of handling args that can be converted to arrays by adding an array(a, copy=0) at the start. Fixes sum, product, cumsum, cumproduct, alltrue, sometrue to deal with zero shape and to take arguments that can be converted to arrays. MA: See changes.txt file in MA for bug fixes and improvements. New option for average to return sum of weights. Fix bug in putmask so that it handles targets of type object. Because of reference counting issues this is done in Python, not C, and would not be more efficient than doing your own loop, but we include it for completeness. In Packages add draft implementation for PEP 0242, Numerical Kinds. Add PyArray_CopyArray to the API (Thanks to Dave Grote). Add defines for cygwin. In arrayobject.h, add static declaration to importing API pointer. May solve OS X problems. Fix bug in FFT packages, added new test. (Thanks to Warren Focke) Added __deepcopy__ method equal to __copy__ method. Throws an exception if the target is an array of type 'O'. But this at least allows non-object type arrays to be copy.deepcopied. If someone has time they can do this case.
Move to sha1 digests, and add distfile sizes.
+ move the distfile digest/checksum value from files/md5 to distinfo + move the patch digest/checksum values from files/patch-sum to distinfo