Commit graph

56 commits

Author SHA1 Message Date
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
snj
b989a2bccc Include math.h earlier on to fix a build problem on FreeBSD.
Trivial fix from FreeBSD through Michal Pasternak in PR pkg/23846.
2004-03-01 00:43:13 +00:00
minskim
79870154de Do not use PYPKGPREFIX in buildlink3.mk except in BUILDLINK_DEPENDS.*. 2004-02-20 03:12:22 +00:00
minskim
2f58d4e752 Fix a version-specific string in comments. 2004-02-18 16:04:50 +00:00
minskim
a845dd52ec bl3ify 2004-02-18 16:02:01 +00:00
recht
0f31b18e03 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
2003-09-14 17:43:53 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
drochner
495262b83c delete the PYTHON_VERSIONS_ACCEPTED line - this should lead to the same
result as the patch in PR pkg/21772 by Marc Recht
2003-06-04 19:47:21 +00:00
drochner
0f5279129e 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.
2003-04-03 18:52:39 +00:00
markd
a801046902 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.
2002-10-30 10:35:32 +00:00
wiz
6c6c00e5f6 Unused. 2002-10-09 17:40:11 +00:00
jlam
548b468291 Use buildlink2. 2002-09-22 10:29:42 +00:00
jlam
86cd651f41 Follow the guidelines set forth in bsd.buildlink2.mk for making a
buildlink2.mk file.  This package installs headers, so we need to define a
BUILDLINK_FILES variable for them.
2002-09-22 10:29:18 +00:00
jlam
e44bf515dc Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
2002-09-21 23:46:45 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
drochner
318e02f395 fix typo 2002-01-16 20:01:52 +00:00
drochner
04f5bd383c allow to override the required version just like other buildlink.mks do 2002-01-15 18:38:46 +00:00
drochner
93cff951a9 this works with Python-2.2 2002-01-15 18:38:05 +00:00
drochner
0371af3e37 add a buildlink.mk file 2002-01-10 20:47:51 +00:00
drochner
46411d15b4 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.
2002-01-10 20:47:27 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
drochner
c5f1eacc36 use PLIST_SUBST instead of sed, as suggested by Thomas Klausner 2001-10-29 16:34:40 +00:00
wiz
43dc91ccf7 Move PKGNAME to standard location. 2001-10-04 15:24:08 +00:00
drochner
80c0feef9a update to 20.2.1 2001-09-25 17:46:00 +00:00
drochner
bc759b7f17 -switch to use the new ../../lang/python/extension.buildlink.mk instead of
USE_PYTHON (as a testcase, more or less)
-update to 20.2.1, Changes:
 -bugfixes
 -Lapack update
 -Implemented equality and inequality testing for arrays of characters,
  complex numbers, and objects (T. Oliphant)
 -In RandomArray.py, improved implementation of internal routine
  _build_random_array
 -Removed tabs from MLab.py and RandomArray.py
 -Improved test in RandomArray
2001-09-25 17:44:31 +00:00
drochner
091a2caab0 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.
2001-07-11 10:32:00 +00:00
drochner
c8124ca977 use USE_PYTHON 2001-05-14 16:22:35 +00:00
agc
fa5c767d84 Move to sha1 digests, and add distfile sizes. 2001-04-19 08:45:37 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +00:00
drochner
df0e84a58f remove unnecessary patches. I'm sure I had cvs rm'd them before the
last commit.
2001-04-09 11:52:58 +00:00
drochner
87379daf3b update to 19.0.0
Didn't find a changelog. At least the build glitches are gone.
2001-04-09 11:50:51 +00:00
drochner
cde17b3b1e update to 17.3.0
For a changelog, I didn't find more than:
Numeric 17.3.0 is intended to be the last release before adding
capabilities supported by Python 2.1. This is a routine catch-up to CVS
release.
2001-03-07 14:33:40 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
drochner
8180645199 update to 17.2.0
The announcement:
Release 17.2.0 is available in source form. It contains the functions put and
putmask, and a performance enhancement. The previous release of this
performance enhancement did not compile on certain platforms; this should
be fixed now. Also included is a substantial update to the masked array
package, MA.
2001-01-15 11:58:25 +00:00
drochner
baee9058ce update to work wiyh python 2.x:
-newest version - 17 (new numbering scheme)
-hosted by sourceforge now
-uses python's new "distutils"
2000-12-05 10:05:45 +00:00
rh
e0a4375229 Install missing includes. 2000-09-05 08:47:38 +00:00
hubertf
e75965c6ba Update IGNORE-messages for recent changes: add ${PKGNAME} where
appropriate.
2000-08-21 21:01:29 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
tsarna
a0bfd1d1ec Update for python 1.5.2
XXX Not updated to latest version. Need to decide if this pkg should be
removed in favor of a py-LLNL package, or what.
1999-04-17 01:53:01 +00:00
tsarna
5796146a4d Re-enable on alpha 1998-12-18 00:42:39 +00:00
tsarna
3b281936b0 Tim tested some of these, but I don't know which. Since at least one of
the pkgs broke on Alpha that was not expected to, disable them all for
the 1.3.3 tag to be on the safe side :-(
1998-09-27 22:24:43 +00:00
tsarna
c93213df81 Disable on alpha for now, until lossage can be investigated. 1998-09-27 22:07:40 +00:00
tsarna
44d9045a37 Remove misinformation 1998-09-22 18:17:59 +00:00
tsarna
9bc8051d4e alpha->vax, since Alpha now works for Python dynamicly loaded modules,
but VAX never has.
1998-09-22 16:13:33 +00:00
tsarna
5e9cc577b8 Automatically append HOMEPAge to DESCR files, and remove homepage URLs
from individual DESCR files that had them.
1998-08-26 16:50:48 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
tsarna
78487778de Update to 1.3 1998-07-11 23:38:14 +00:00
tron
555fd7aaa5 Replace "BUILD_DEPENDS" and "RUN_DEPENDS" by "DEPENDS". 1998-05-04 19:38:44 +00:00