[Python-modules-commits] r3145 - in /packages/scipy/tags: ./ 0.5.2.1/ 0.5.2.1/debian/ 0.5.2.1/debian/patches/

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Fri Aug 31 14:19:06 UTC 2007


Author: piotr
Date: Fri Aug 31 14:19:06 2007
New Revision: 3145

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3145
Log:
tag 0.5.2.1-1

Added:
    packages/scipy/tags/
    packages/scipy/tags/0.5.2.1/
    packages/scipy/tags/0.5.2.1/debian/
    packages/scipy/tags/0.5.2.1/debian/README.Debian
    packages/scipy/tags/0.5.2.1/debian/changelog
    packages/scipy/tags/0.5.2.1/debian/compat
    packages/scipy/tags/0.5.2.1/debian/control
    packages/scipy/tags/0.5.2.1/debian/copyright
    packages/scipy/tags/0.5.2.1/debian/patches/
    packages/scipy/tags/0.5.2.1/debian/patches/00list
    packages/scipy/tags/0.5.2.1/debian/patches/umfpack.dpatch
    packages/scipy/tags/0.5.2.1/debian/pycompat
    packages/scipy/tags/0.5.2.1/debian/python-scipy.docs
    packages/scipy/tags/0.5.2.1/debian/rules   (with props)
    packages/scipy/tags/0.5.2.1/debian/setup_without_xplt.py

Added: packages/scipy/tags/0.5.2.1/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/README.Debian?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/README.Debian (added)
+++ packages/scipy/tags/0.5.2.1/debian/README.Debian Fri Aug 31 14:19:06 2007
@@ -1,0 +1,30 @@
+Note about sandbox:
+-------------------
+
+The following modules in sandbox are not included due to build errors,
+and should be fixed:
+
+- pysparse
+- xplt (see below)
+
+Note about scipy.pilutil:
+-------------------------
+
+This scipy version provides "see" (from mime-support) as default
+viewer, instead of another hard-coded image viewer. This allows to
+ensure that images can be always displayed. Additionally, it is
+possible to customize the image viewer by setting the environment
+variable SCIPY_PIL_IMAGE_VIEWER.
+
+Note about scipy.xplt on hppa, s390, ia64, mips, mipsel
+-------------------------------------------------------
+
+This package does not build on the archs mentionned above, because the
+configuration does not know how to handle fpu exceptions for these
+processors. If you want to test fixes to contribute a patch, edit
+debian/setup_without_xplt.py in the source package.
+
+The other plotting modules are available, though.
+
+ -- Marco Presi (Zufus) <zufus at debian.org>, Tue, 20 Feb 2007 23:29:18 +0000
+

Added: packages/scipy/tags/0.5.2.1/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/changelog?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/changelog (added)
+++ packages/scipy/tags/0.5.2.1/debian/changelog Fri Aug 31 14:19:06 2007
@@ -1,0 +1,238 @@
+python-scipy (0.5.2.1-1) unstable; urgency=low
+
+  * Adopting the package
+  * New upstream release (Closes: #426012)
+  * Removed unnecessary patches
+  * Removing LICENSE.txt, since it is unnecessary (and it fixes a lintian
+    warning)
+
+ -- Ondrej Certik <ondrej at certik.cz>  Tue, 28 Aug 2007 12:03:29 +0200
+
+python-scipy (0.5.2-9) experimental; urgency=low
+
+  * Added Build-Dep on python-numpy (Closes: 422389)
+  * Made build independent of the python version (Closes: 414626)
+  * Added a new patch on sandbox/montecarlo to fix py2.5 compatibility
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Fri, 18 May 2007 11:12:31 +0100
+
+python-scipy (0.5.2-8) experimental; urgency=low
+
+  * Fixed compatibility with numpy >= 1.0.2, by importing parts from upstream svn
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Sat, 21 Apr 2007 22:46:29 +0100
+
+python-scipy (0.5.2-7+b1) unstable; urgency=low
+
+  * Binary-only non-maintainer upload for i386; no source changes.
+  * Rebuild to fix binaries built against experimental
+
+ -- Debian/i386 Build Daemon <buildd_i386-saens>  Tue, 27 Feb 2007 02:01:45 -0600
+
+python-scipy (0.5.2-7) unstable; urgency=low
+
+  * Added 'm86k' among the archs on which xplt should not build.
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Sat, 24 Feb 2007 13:40:42 +0000
+
+python-scipy (0.5.2-6) unstable; urgency=low
+
+  * Merged patch for image viwer from upstream svn
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Sat, 24 Feb 2007 01:39:18 +0000
+
+python-scipy (0.5.2-5) experimental; urgency=low
+
+  * Added a fix in sandbox/montecarlo tests that prevented installation
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Thu, 22 Feb 2007 01:33:18 +0000
+
+python-scipy (0.5.2-4) experimental; urgency=low
+
+  * Incorporated code from setup_without_xplt.py into patches/sandbox.dpatch, in order to 
+    build sandbox/xplt only on supported archs (Closes: #407869).
+  * Added libx11-dev among Build-Deps to support xplt.
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Thu, 22 Feb 2007 00:33:51 +0000
+
+python-scipy (0.5.2-3) experimental; urgency=low
+
+  * Added netcdfg-dev Build-Deps (completed sandbox inclusion)
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Tue, 20 Feb 2007 23:28:43 +0000
+
+python-scipy (0.5.2-2) experimental; urgency=low
+
+  * Enabled sandbox modules. To this aim randomkit.[ch] are included from
+    pyhon-numpy sources. See debian/patches/sandbox.dpatch 
+    (Closes: #407869).
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Mon, 19 Feb 2007 19:26:22 +0000
+
+python-scipy (0.5.2-1) unstable; urgency=low
+
+  * Fixed scipy.signal segfault (closes: #410757)
+  * Replaced hard-coded xv command with "see" (from mime-support). 
+    Additionally, the environment variable SCIPY_PIL_IMAGE_VIEWER can be set. 
+    (Closes: #395198)
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Sun, 18 Feb 2007 16:22:03 +0000
+
+python-scipy (0.5.2-0.1) unstable; urgency=medium
+
+  * Remove build dependency on python-numpy-dev.
+  * python-scipy: Depend on python-numpy instead of python-numpy-dev.
+  * Package builds on other archs than i386. Closes: #402783.
+
+ -- Matthias Klose <doko at debian.org>  Sun,  7 Jan 2007 14:12:12 +0100
+
+python-scipy (0.5.2-0) experimental; urgency=low
+
+  * New upstream version (compatible with python-numpy-1.0.x).
+  * (Build-)depend on python-numpy (>= 1:1.0.1).
+  * Remove redundant (build-)dependencies.
+  * weave examples and docs are removed from the upstream tarball.
+
+ -- Matthias Klose <doko at debian.org>  Wed,  3 Jan 2007 22:37:49 +0100
+
+python-scipy (0.5.1-3) unstable; urgency=low
+
+  * Moved weave/examples into /usr/share/doc/python-scipy/ 
+    and removed *.so files that prevented building on non x86 archs
+    (closes: #397241)
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Sat, 16 Sep 2006 18:46:56 +0200
+
+python-scipy (0.5.1-2) unstable; urgency=low
+
+  * Added swig and libufsparse-dev among Build-deps
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Mon, 11 Sep 2006 22:05:45 +0200
+
+python-scipy (0.5.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Thu,  7 Sep 2006 00:32:07 +0200
+
+python-scipy (0.5.0-3) unstable; urgency=low
+
+  * Re-compiled to reflect C-API changes in numpy.
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Fri, 18 Aug 2006 01:06:06 +0200
+
+python-scipy (0.5.0-2) unstable; urgency=low
+
+  * Re-added fftw-dev among build-deps.
+
+ -- Marco Presi (Zufus) <zufus at debian.org>  Tue,  8 Aug 2006 17:34:44 -0400
+
+python-scipy (0.5.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Removed debian/patches/python2.3.dpatch now included in upstream release
+	
+ -- Marco Presi (Zufus) <zufus at debian.org>  Sun, 30 Jul 2006 00:33:21 +0200
+
+python-scipy (0.4.9-2) unstable; urgency=low
+
+  * Build against new release of python-numpy.
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Wed, 05 Jul 2006 18:06:41 +0100
+
+python-scipy (0.4.9-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Tue, 04 Jul 2006 16:11:01 +0100
+
+python-scipy (0.3.2-9) unstable; urgency=low
+
+  * Updated to new python policy (closes: #373352)
+  * Updated standards to 3.7.2
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Thu, 15 Jun 2006 17:10:49 +0200
+
+python-scipy (0.3.2-8) unstable; urgency=low
+
+  * Changed dependency on libwxgtk2.4-1-python to python-wxgtk2.4 (closes: #333795)
+  * Added cow progress bar fix by Glen W. Mabey (closes: #322796)
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Tue,  8 Nov 2005 11:56:51 +0100
+
+python-scipy (0.3.2-7) unstable; urgency=low
+
+  * Depend on libwxgtk2.4-1-python due to new C++ ABI.
+  * Do not depend on obsolete blas-dev (Closes: #320441)
+  * Drop the python2.2 version due to python2.2-numeric removal.
+  * Applied Andreas Jochens' patch fixing gcc4.0 storage class 
+    error (Closes: #302598)
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Sun, 31 Jul 2005 11:11:42 +0100
+
+python-scipy (0.3.2-6) unstable; urgency=low
+
+  * Added a Suggests: python2.X-profiler in debian/control, made the
+    import of pstats optional by patching stats/__init__.py 
+    (Closes: #296796)
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Fri, 11 Mar 2005 10:54:35 +0100
+
+python-scipy (0.3.2-5) unstable; urgency=low
+
+  * Applied Adam Conrad's patch to allow build on m68k (Closes: #292919)
+  * Applied Andreas Jochens' patch fixing gcc4.0 incompatibility and
+    syntax error in debian/control (Closes: #288181)
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Thu, 17 Feb 2005 14:49:03 +0100
+
+python-scipy (0.3.2-4) unstable; urgency=low
+
+  * Build for python 2.4.
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Mon, 24 Jan 2005 12:25:16 +0000
+
+python-scipy (0.3.2-3) unstable; urgency=low
+
+  * fixed build dependencies on arm (Closes: #277897)
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Sat, 23 Oct 2004 11:28:51 +0200
+
+python-scipy (0.3.2-2) unstable; urgency=low
+
+  * Updated package description
+  * removed scipy.xplt on hppa, s390, ia64, mips, mipsel (Closes: #277485)
+  * Added note about the missing module in README.Debian
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Fri, 22 Oct 2004 15:05:00 +0200
+
+python-scipy (0.3.2-1) unstable; urgency=low
+
+  * New version.
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Mon, 18 Oct 2004 16:28:16 +0100
+
+python-scipy (0.3.0+266.4239-1) unstable; urgency=low
+
+  * Updated to release.
+  * Recommends c++-compiler.
+  * Dropped python2.1 support.
+  * Official package (closes: #126037).
+  * Added Alexandre Fayolle and Marco Presi as uploaders
+  * Added missing build dependencies
+
+ -- Alexandre Fayolle <afayolle at debian.org>  Mon, 13 Sep 2004 23:04:34 +0200
+
+python-scipy (0.2.0+cvs20031002-1) unstable; urgency=low
+
+  * Moved scipy_core into a seperate package.
+  * Default to python-2.3.
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Thu, 02 Oct 2003 13:31:30 +0100
+
+python-scipy (0.2.0+alpha144.4350-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- José Fonseca <j_r_fonseca at yahoo.co.uk>  Tue, 01 Jul 2003 13:35:03 +0100
+

Added: packages/scipy/tags/0.5.2.1/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/compat?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/compat (added)
+++ packages/scipy/tags/0.5.2.1/debian/compat Fri Aug 31 14:19:06 2007
@@ -1,0 +1,1 @@
+5

Added: packages/scipy/tags/0.5.2.1/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/control?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/control (added)
+++ packages/scipy/tags/0.5.2.1/debian/control Fri Aug 31 14:19:06 2007
@@ -1,0 +1,28 @@
+Source: python-scipy
+Section: python
+Priority: extra
+Maintainer: Ondrej Certik <ondrej at certik.cz>
+Uploaders: Alexandre Fayolle <afayolle at debian.org>, Marco Presi (Zufus) <zufus at debian.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, sharutils, python-central (>= 0.5), python-numpy (>= 1:1.0.2), g77, refblas3-dev | atlas3-base-dev, lapack3-dev | atlas3-base-dev, fftw-dev, swig, libufsparse-dev, netcdfg-dev, dpatch, libx11-dev, dpkg-dev (>= 1.13.19)
+XS-Python-Version: all
+Standards-Version: 3.7.2
+
+Package: python-scipy
+Architecture: any
+XB-Python-Version: ${python:Versions}
+Depends: ${python:Depends}, python-numpy (>= 1:1.0.2), ${shlibs:Depends}, python-imaging (>= 1.1.6-1)
+Provides: ${python:Provides}
+Recommends: g++ | c++-compiler
+Suggests: python-profiler 
+Conflicts: python-scipy-core, python2.3-scipy-core, python2.4-scipy-core, python2.3-scipy, python2.4-scipy
+Replaces: python-scipy-core, python2.3-scipy-core, python2.4-scipy-core, python2.3-scipy, python2.4-scipy
+Description: scientific tools for Python
+ SciPy is an open source library of scientific tools for Python. SciPy
+ supplements the popular Numeric module, gathering a variety of high level
+ science and engineering modules together as a single package.
+ .
+ SciPy includes modules for graphics and plotting, optimization, integration,
+ special functions, signal and image processing, genetic algorithms, ODE
+ solvers, and others.
+ .
+  Homepage: http://www.scipy.org/

Added: packages/scipy/tags/0.5.2.1/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/copyright?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/copyright (added)
+++ packages/scipy/tags/0.5.2.1/debian/copyright Fri Aug 31 14:19:06 2007
@@ -1,0 +1,38 @@
+This package was debianized by José Fonseca <j_r_fonseca at yahooc.co.uk> on
+Sat, 12 Jul 2003 15:43:46 +0100.
+
+It was downloaded from http://www.scipy.org/
+
+Upstream Authors: see THANKS.txt file
+
+Copyright:
+
+Copyright (c) 2001, 2002 Enthought, Inc.
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+  a. Redistributions of source code must retain the above copyright notice,
+     this list of conditions and the following disclaimer.
+  b. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in the
+     documentation and/or other materials provided with the distribution.
+  c. Neither the name of the Enthought nor the names of its contributors
+     may be used to endorse or promote products derived from this software
+     without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+

Added: packages/scipy/tags/0.5.2.1/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/patches/00list?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/patches/00list (added)
+++ packages/scipy/tags/0.5.2.1/debian/patches/00list Fri Aug 31 14:19:06 2007
@@ -1,0 +1,1 @@
+umfpack.dpatch

Added: packages/scipy/tags/0.5.2.1/debian/patches/umfpack.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/patches/umfpack.dpatch?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/patches/umfpack.dpatch (added)
+++ packages/scipy/tags/0.5.2.1/debian/patches/umfpack.dpatch Fri Aug 31 14:19:06 2007
@@ -1,0 +1,105 @@
+#! /bin/sh -e
+
+# DP: Modified
+
+if [ $# -ne 1 ]; then
+    echo >&2 "$0: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+    -patch) patch -f -p0 < $0;;
+    -unpatch) patch -f -R -p0 < $0;;
+    *)
+        echo >&2 "$0: script expects -patch|-unpatch as argument"
+        exit 1
+esac
+exit 0
+
+--- Lib.orig/linsolve/umfpack/umfpack.i
++++ Lib/linsolve/umfpack/umfpack.i
+@@ -10,13 +10,13 @@
+ */
+ 
+ %{
+-#include <umfpack.h>
++#include <suitesparse/umfpack.h>
+ #include "numpy/arrayobject.h"
+ %}
+ 
+ %feature("autodoc", "1");
+ 
+-#include <umfpack.h>
++#include <suitesparse/umfpack.h>
+ 
+ %init %{
+     import_array();
+@@ -189,18 +189,18 @@
+     double Info [ANY]
+ };
+ 
+-%include <umfpack.h>
+-%include <umfpack_solve.h>
+-%include <umfpack_defaults.h>
+-%include <umfpack_triplet_to_col.h>
+-%include <umfpack_col_to_triplet.h>
+-%include <umfpack_transpose.h>
+-%include <umfpack_scale.h>
+-
+-%include <umfpack_report_symbolic.h>
+-%include <umfpack_report_numeric.h>
+-%include <umfpack_report_info.h>
+-%include <umfpack_report_control.h>
++%include <suitesparse/umfpack.h>
++%include <suitesparse/umfpack_solve.h>
++%include <suitesparse/umfpack_defaults.h>
++%include <suitesparse/umfpack_triplet_to_col.h>
++%include <suitesparse/umfpack_col_to_triplet.h>
++%include <suitesparse/umfpack_transpose.h>
++%include <suitesparse/umfpack_scale.h>
++
++%include <suitesparse/umfpack_report_symbolic.h>
++%include <suitesparse/umfpack_report_numeric.h>
++%include <suitesparse/umfpack_report_info.h>
++%include <suitesparse/umfpack_report_control.h>
+ 
+ /*
+   The order is important below!
+@@ -212,8 +212,8 @@
+     void **Numeric
+ }
+ 
+-%include <umfpack_symbolic.h>
+-%include <umfpack_numeric.h>
++%include <suitesparse/umfpack_symbolic.h>
++%include <suitesparse/umfpack_numeric.h>
+ 
+ 
+ OPAQUE_ARGINOUT( void * )
+@@ -222,8 +222,8 @@
+     void **Numeric
+ }
+ 
+-%include <umfpack_free_symbolic.h>
+-%include <umfpack_free_numeric.h>
++%include <suitesparse/umfpack_free_symbolic.h>
++%include <suitesparse/umfpack_free_numeric.h>
+ 
+ 
+ 
+@@ -245,7 +245,7 @@
+     long *n_col,
+     long *nz_udiag
+ };
+-%include <umfpack_get_lunz.h>
++%include <suitesparse/umfpack_get_lunz.h>
+ 
+ 
+ ARRAY_IN( double, double, DOUBLE )
+@@ -269,6 +269,6 @@
+     int Q [ ]
+ };
+ %apply int  *OUTPUT { int *do_recip};
+-%include <umfpack_get_numeric.h>
++%include <suitesparse/umfpack_get_numeric.h>
+ 
+ #endif

Added: packages/scipy/tags/0.5.2.1/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/pycompat?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/pycompat (added)
+++ packages/scipy/tags/0.5.2.1/debian/pycompat Fri Aug 31 14:19:06 2007
@@ -1,0 +1,1 @@
+2

Added: packages/scipy/tags/0.5.2.1/debian/python-scipy.docs
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/python-scipy.docs?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/python-scipy.docs (added)
+++ packages/scipy/tags/0.5.2.1/debian/python-scipy.docs Fri Aug 31 14:19:06 2007
@@ -1,0 +1,2 @@
+THANKS.txt 
+debian/README.Debian

Added: packages/scipy/tags/0.5.2.1/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/rules?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/rules (added)
+++ packages/scipy/tags/0.5.2.1/debian/rules Fri Aug 31 14:19:06 2007
@@ -1,0 +1,98 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+# Changes for python-opengl by Enrique Zanardi
+# Changes for python-opengl2 by Thomas Wouters
+# Changes for python-scipy by José Fonseca
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS:= $(shell pyversions -v -r debian/control)
+BASE=$(shell pwd)/debian
+#debian_patches= umfpack signals viewer sandbox  #fft python23 amd64
+
+build: build-stamp
+build-stamp: patched-stamp
+	dh_testdir
+# We do the actual compilation in install to avoid cloberring
+# scipy.so
+	touch build-stamp
+
+clean: clean-patched unpatch
+
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	rm -rf build
+	find . -name "*.pyc" -exec rm {} \;
+	dh_clean
+
+install-ver:
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs -A
+
+	set -e; for v in $(PYVERS); do                                   \
+		d=$(BASE)/python-scipy;                                  \
+		mkdir -m 755 -p $$d/usr/share/doc/python-scipy;          \
+		python$$v setup.py config_fc --noarch build;             \
+		python$$v setup.py install --prefix $$d/usr --no-compile;\
+		python$$v setup.py clean --all;                          \
+		mkdir -m 755 -p $$d/usr/share/doc/python-scipy/weave; 	 \
+	done
+
+	#mv  Lib/weave/examples/ $(BASE)/python-scipy/usr/share/doc/python-scipy/weave
+	#rm $(BASE)/python-scipy/usr/share/doc/python-scipy/weave/examples/*.so
+	#mv Lib/weave/doc $(BASE)/python-scipy/usr/share/doc/python-scipy/weave
+
+	rm -fr $(BASE)/python-scipy/usr/lib/python2.*/site-packages/scipy/weave/examples/
+
+# Build architecture-independent files here.
+binary-indep: 
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdocs -a -A
+	dh_installchangelogs -a
+	dh_installman -a
+	dh_pycentral -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+
+	set -e; for i in `find debian -mindepth 2 -type f ! -perm 755`; do \
+		if head -1 $$i | grep -q '^#!' ; then                    \
+	    		chmod +x $$i;                                    \
+		fi ;                                                     \
+	done
+	rm $(BASE)/python-scipy/usr/share/pycentral/python-scipy/site-packages/scipy/LICENSE.txt
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
+# ---------------------------------------------------------------------------
+# Rules to manage patches (taken from dpatch man page)
+
+
+
+patch: patched-stamp
+
+patched-stamp:
+	dpatch apply-all
+	dpatch cat-all > patch-stamp
+
+unpatch:
+	dpatch deapply-all
+	rm -fr patched-stamp debian/patched

Propchange: packages/scipy/tags/0.5.2.1/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/scipy/tags/0.5.2.1/debian/setup_without_xplt.py
URL: http://svn.debian.org/wsvn/python-modules/packages/scipy/tags/0.5.2.1/debian/setup_without_xplt.py?rev=3145&op=file
==============================================================================
--- packages/scipy/tags/0.5.2.1/debian/setup_without_xplt.py (added)
+++ packages/scipy/tags/0.5.2.1/debian/setup_without_xplt.py Fri Aug 31 14:19:06 2007
@@ -1,0 +1,20 @@
+"""Build python-scipy without xplt on archs where this causes the build to fail
+"""
+
+from setup import setup_package
+import os
+
+if __name__ == "__main__":
+    ignore_packages = []
+    try:
+        host_arch = os.environ['DEB_HOST_ARCH']
+    except KeyError:
+        print 'DEB_HOST_ARCH not set. Running dpkg-architecture to find out'
+        command = 'dpkg-architecture -qDEB_HOST_ARCH'
+        host_arch = os.popen(command).read().strip()
+
+    if host_arch in ('hppa', 'ia64', 'mips', 'mipsel', 's390'):
+        ignore_packages.append('xplt')
+        
+    setup_package(ignore_packages)
+




More information about the Python-modules-commits mailing list