summaryrefslogtreecommitdiff
path: root/math/py-Scientific/patches
diff options
context:
space:
mode:
authorrecht <recht>2004-01-18 23:57:50 +0000
committerrecht <recht>2004-01-18 23:57:50 +0000
commitef6c84397c58c94975dee6962e92adbb20d60e15 (patch)
treef0a5e5e693502df024cf6dc9ec755923b2bc52c4 /math/py-Scientific/patches
parentb38769a08cfbf4f14357eff555710d3458fc4766 (diff)
downloadpkgsrc-ef6c84397c58c94975dee6962e92adbb20d60e15.tar.gz
update to 2.4.5
2.4.3 --> 2.4.4: ---------------- Bug fixes: NetCDF error messages should now be correct. No more "unknown errors"! 2.4 --> 2.4.1: -------------- Bug fixes: - Scientific.MPI did not contain the _C_API object needed by C extension modules that call MPI. - The arguments to the receiveString method are now optional, as documented. 2.3.3 --> 2.4: -------------- Bug fixes: - Memory function calculation in Scientific.Signals.Models returned a wrong value for the first point. - Some indexing problems in Scientific.IO.NetCDF were fixed; none of them caused wrong results, just unjustified exceptions. 2.3.2 --> 2.3.3: ---------------- Bug fixes: - The method divide() assumed the wrong coefficient order. New features: - Module Scientific.Signals.Models - Class Scientific.Statistics.Histogram.WeightedHistogram 2.3.1 --> 2.3.2: ---------------- Incompatible changes: - Specification of routines in Scientific.BSP changed. 2.2 --> 2.3.1 ------------- New features: - New modules Scientific.BSP and Scientific.BSP.IO
Diffstat (limited to 'math/py-Scientific/patches')
-rw-r--r--math/py-Scientific/patches/patch-aa19
-rw-r--r--math/py-Scientific/patches/patch-ab25
2 files changed, 30 insertions, 14 deletions
diff --git a/math/py-Scientific/patches/patch-aa b/math/py-Scientific/patches/patch-aa
index 85d7b66d9fd..846e9e68b7f 100644
--- a/math/py-Scientific/patches/patch-aa
+++ b/math/py-Scientific/patches/patch-aa
@@ -1,21 +1,12 @@
-$NetBSD: patch-aa,v 1.2 2001/05/10 17:03:28 drochner Exp $
+$NetBSD: patch-aa,v 1.3 2004/01/18 23:57:50 recht Exp $
---- setup.py.orig Thu May 10 18:29:09 2001
-+++ setup.py Thu May 10 18:30:26 2001
-@@ -7,7 +7,7 @@
-
- # If your netCDF installation is in a non-standard place, set the following
- # variable to the base directory.
--netcdf_prefix = None
-+netcdf_prefix = '@NETCDFPREFIX@'
-
-
- if netcdf_prefix is None:
-@@ -28,6 +28,7 @@
+--- setup.py.orig 2004-01-15 11:53:49.000000000 +0100
++++ setup.py 2004-01-18 17:06:15.000000000 +0100
+@@ -32,6 +32,7 @@
['Src/Scientific_netcdf.c'],
include_dirs=['Include', netcdf_include],
library_dirs=[netcdf_lib],
+ runtime_library_dirs=[netcdf_lib],
libraries = ['netcdf'])]
- class modified_install_headers(install_headers):
+ packages = ['Scientific', 'Scientific.Functions',
diff --git a/math/py-Scientific/patches/patch-ab b/math/py-Scientific/patches/patch-ab
new file mode 100644
index 00000000000..ba33668fbc2
--- /dev/null
+++ b/math/py-Scientific/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1 2004/01/18 23:57:50 recht Exp $
+
+--- Src/MPI/compile.py.orig 2003-12-19 20:33:31.000000000 +0100
++++ Src/MPI/compile.py 2004-01-18 21:57:52.000000000 +0100
+@@ -12,10 +12,19 @@
+ mpicompiler = 'mpicc'
+ sources='mpipython.c Scientific_mpi.c'
+
++ldflags=""
++if os.environ.has_key('LDFLAGS'):
++ ldflags = os.environ['LDFLAGS']
+
+-cmd = '%s %s -o mpipython -I%s %s -L%s -lpython%s %s %s' % \
++cflags=""
++if os.environ.has_key('CFLAGS'):
++ cflags = os.environ['CFLAGS']
++
++cmd = '%s %s %s -o mpipython -I../../Include %s -I%s %s -L%s -lmpich -lpython%s %s %s' % \
+ (mpicompiler,
++ ldflags,
+ cfgDict['LINKFORSHARED'],
++ cflags,
+ cfgDict['INCLUDEPY'],
+ sources,
+ cfgDict['LIBPL'],