debian/0000775000000000000000000000000012316332600007164 5ustar debian/README.Debian0000664000000000000000000000152312274241775011245 0ustar Note about scipy.pilutil: ------------------------- This scipy version provides "see" (from mime-support) as default viewer, instead of another hard-coded image viewer. This allows one 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) , Tue, 20 Feb 2007 23:29:18 +0000 debian/source/0000775000000000000000000000000012274241775010503 5ustar debian/source/format0000664000000000000000000000001412274241775011711 0ustar 3.0 (quilt) debian/python-scipy.install0000664000000000000000000000003712274241775013241 0ustar usr/lib/python2*/dist-packages debian/copyright0000664000000000000000000002010312274241775011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: SciPy Source: http://www.scipy.org/ Files: * Copyright: 1999-2005 Travis Oliphant 2001-2002 Enthought, Inc. 2002 Eric Jones 2002 Patrick J. Miller 2002-2003 Jochen Kuepper 2002-2004 Pearu Peterson 2002-2005 Jean-Sebastien Roy 2003-2005 Peter J. Verveer 2003-2006 Ed Schofield 2003-2012 SciPy Developers. 2004 David M. Cooke 2006 Bart Vandereycken 2006 BasSw 2006 Johannes Loehnert 2007 Andrew D Straw 2007 John Travers, Robert Hetland 2007-2008 Damian Eads 2008 Tiziano Zito Gary Strangman 2010 Pauli Virtanen 2010, 2011 Pim Schellart 2009 Yosef Meller License: BSD-3-clause Files: scipy/weave/blitz/* Copyright: 1997-2001, Todd Veldhuizen 1997, Silicon Graphics Computer Systems, Inc. License: BSD-3-clause Files: scipy/special/cephes/* Copyright: 1984, 1987, 1989, 2000 Stephen L. Moshier License: BSD-3-clause Files: scipy/ndimage/* Copyright: 2003-2005, Peter J. Verveer License: BSD-3-clause Files: scipy/linalg/src/id_dist/* Copyright: 2013, P.-G. Martinsson, V. Rokhlin, Y. Shkolnisky, M. Tygert License: BSD-3-clause Files: scipy/sparse/linalg/dsolve/SuperLU/* Copyright: 1994, Xerox Corporation. License: superlulicense THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED OR IMPLIED. ANY USE IS AT YOUR OWN RISK. . Permission is hereby granted to use or copy this program for any purpose, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. Files: scipy/spatial/qhull/* Copyright: 1993-2012, The Geometry Center (University of Minnesota) 1993-2012, C.B. Barber License: qhullbsd This software includes Qhull from C.B. Barber and The Geometry Center. Qhull is copyrighted as noted above. Qhull is free software and may be obtained via http from www.qhull.org. It may be freely copied, modified, and redistributed under the following conditions: . 1. All copyright notices must remain intact in all files. . 2. A copy of this text file must be distributed along with any copies of Qhull that you redistribute; this includes copies that you have modified, or copies of programs or other software products that include Qhull. . 3. If you modify Qhull, you must include a notice giving the name of the person performing the modification, the date of modification, and the reason for such modification. . 4. When distributing modified versions of Qhull, or other software products that include Qhull, you must provide notice that the original source code may be obtained as noted above. . 5. There is no warranty or other guarantee of fitness for Qhull, it is provided solely "as is". Bug reports or fixes may be sent to qhull_bug@qhull.org; the authors may or may not act on them as they desire. . 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. Files: scipy/weave/scxx/* Copyright: 1999,2002, McMillan Enterprises, Inc License: Expat Files: scipy/lib/six.py Copyright: 2010-2013 Benjamin Peterson License: Expat Files: scipy/lib/decorator.py Copyright: 2005-2011 Michele Simionato License: bsdlike All rights reserved. . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in bytecode 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. . 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 COPYRIGHT HOLDERS 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. Files: scipy/special/Faddeeva.cc scipy/special/Faddeeva.hh Copyright: 2012 Massachusetts Institute of Technology License: Expat Files: scipy/misc/ascent.dat Copyright: public-domain License: public-domain No permission whatsoever is needed to copy or use public domain works. Public domain material is available for anyone to use for any purpose, private and commercial. Public domain works can serve as the foundation for new creative works. Public domain works can also be copied and distributed without any permission or paying royalties License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: BSD-3-clause 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 Enthought nor the names of the SciPy Developers 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. debian/python-scipy-dbg.install0000664000000000000000000000007412274241775013774 0ustar # extra stuff deleted in rules usr/lib/python2*/*-packages/ debian/python-scipy.docs0000664000000000000000000000001312274241775012515 0ustar THANKS.txt debian/changelog0000664000000000000000000005251612316332600011047 0ustar python-scipy (0.13.3-1build1) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Mon, 31 Mar 2014 19:35:44 +0100 python-scipy (0.13.3-1) experimental; urgency=low * New upstream release * ignore TestSplder.test_kink adt failure, probably numerical error -- Julian Taylor Tue, 04 Feb 2014 19:48:01 +0100 python-scipy (0.13.2-1) experimental; urgency=low * New upstream release * update X-Python-Version to >= 2.6 * require python3-numpy (>= 1:1.7.2) for hashing fixes * bump standard to 3.9.5, no changes required * bump cython dependency to >= 0.19 to avoid leaks with fused types -- Julian Taylor Mon, 21 Oct 2013 18:59:29 +0200 python-scipy (0.13.0~b1-1) experimental; urgency=low [ Julian Taylor ] * New upstream beta release * require python-six >= 1.3.0, scipy ships a slightly patched 1.2.0, version 1.3.0 includes the patches [ Varun Hiremath ] * Fix debian/watch file -- Julian Taylor Sat, 07 Sep 2013 18:06:00 +0200 python-scipy (0.12.0-3) unstable; urgency=high * temporary-directory-usage.patch: fix insecure temporary directory usage of weave module. (Closes: #726093) Thanks to Tomas Tomecek for the patch. -- Julian Taylor Tue, 22 Oct 2013 23:44:47 +0200 python-scipy (0.12.0-2) unstable; urgency=low * ignore testsuite failures to not block python3.3 transition only masks issues on hardly used ports -- Julian Taylor Mon, 01 Jul 2013 20:09:40 +0200 python-scipy (0.12.0-1) unstable; urgency=low [ Julian Taylor ] * New upstream release, no repackaging required anymore - Closes: #707315 - Closes: #691254 * also fail on test failures not only test errors * skip failing test_mio on big endian python3 >= 3.2 * print skipped tests and unused skips in autopkgtest scripts * add-swig-filetypes.patch, reswig.patch: reswigging from setup.py, dropped from debian/rules * cython-wraparound.patch: fix issue in ckdtree.pyx * qhull-lfs.patch: enable large file support * cap-ld-precision.patch: fix test failures due to broken np.finfo on ppc * refresh patches and remove upstream applied: - BUG-fix-dependency-on-dict-ordering-in-test.patch - BUG-remove-inline-statement-rejected-by-cython.patch - fix-dbg-crash.patch - fix-f2py-dependencies.patch - fix-test_basic.py-cephes_vs_amos_mass_te.patch - python3.3-incdir.diff * Bump standard to 3.9.4, no changes required * drop unused sharutils build depend and python-profiler from suggests * use system python-six and python-decorator instead of embedded copies * don't install setup.py and generator scripts [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. * Remove DM-Upload-Allowed; it's no longer used by the archive software. -- Julian Taylor Thu, 09 May 2013 11:35:07 +0200 python-scipy (0.11.0+dfsg1-1) experimental; urgency=low * New upstream release * bump required cython to >= 0.17 * refresh patches: - drop upstream applied: - interpnd-generator.patch - dtype.diff, - kolmogorov.diff, - up_minpack_ints.diff - kde.diff - new patches for python3.3 compatibility and test fixing: - BUG-remove-inline-statement-rejected-by-cython.patch - BUG-fix-dependency-on-dict-ordering-in-test.patch - fix-test_basic.py-cephes_vs_amos_mass_te.patch - python3.3-incdir.diff - fix-dbg-crash.patch - fix-f2py-dependencies.patch * add autopkgtests * run fast tests during build * update debian/copyright to dep5 -- Julian Taylor Fri, 25 Jan 2013 23:54:43 +0100 python-scipy (0.10.1+dfsg2-1) unstable; urgency=low * add missing cython and swig sources from git tag (Closes: #589731) * generate cython c files, requires python-mako and cython build depends * ensure that all swig files are regenerated * update debian/orig-tar.sh appropriately * interpnd-generator.patch: fix the interpnd.pyx generation -- Julian Taylor Thu, 29 Nov 2012 21:56:31 +0100 python-scipy (0.10.1+dfsg1-4) unstable; urgency=low [ Julian Taylor ] * use dh_numpy3 - build depend on python3-numpy >= 1:1.6.2~rc1-1~ * debian/rules: remove reference to pyshared [ Varun Hiremath ] * debian/patches: - add dtype.diff (Closes: #682030) - add up_minpack_ints.diff, thanks to Yaroslav Halchenko (Closes: #681270) -- Varun Hiremath Sat, 21 Jul 2012 17:23:02 -0400 python-scipy (0.10.1+dfsg1-3) unstable; urgency=low * wrap-and-sort debian folder * add python3 packages (Closes: #664785) * debian/rules: - split the build into build and install step - use .install files instead of direct setup.py install -- Julian Taylor Fri, 20 Apr 2012 21:59:33 +0200 python-scipy (0.10.1+dfsg1-2) unstable; urgency=low * debian/control: - Recommends: python-imaging (Closes: #648036) - Recommends: python-dev (Closes: #651760) * debian/patches: - Add kolmogorov.diff, thanks to Yaroslav Halchenko (Closes: #653948) - Add kde.diff (Closes: #648034) -- Varun Hiremath Fri, 20 Apr 2012 02:37:28 -0400 python-scipy (0.10.1+dfsg1-1) unstable; urgency=low * New upstream release (Closes: #653262) * Update debian/orig-tar.sh script * debian/patches - updated restore_sys_argv.patch - removed string_exception.patch, not needed -- Varun Hiremath Thu, 19 Apr 2012 16:14:28 -0400 python-scipy (0.9.0+dfsg1-1) unstable; urgency=low * New upstream release (Closes: #614407, #579041, #569008) * Convert to dh_python2 (Closes: #617028) -- Varun Hiremath Wed, 06 Apr 2011 21:26:25 -0400 python-scipy (0.8.0+dfsg1-1) experimental; urgency=low [ Varun Hiremath ] * New upstream release * Build-Depend on python-numpy-* (>= 1:1.5.1) * Update all the debian/patches/* [ Luca Falavigna ] * Remove myself from Uploaders. [ Stefano Rivera ] * debian/patches/blitz++.patch: Fix scipy.weave.inline compilations. Thanks to Sameer Morar (Closes: #598520, LP: #302649) -- Varun Hiremath Fri, 24 Dec 2010 08:20:54 -0500 python-scipy (0.7.2+dfsg1-1) unstable; urgency=low * Release with a new source tarball with missing cython source files * debian/rules: Add get-orig-source target * Add debian/README.source explaining the repackaging of source tarball * Add debian/orig-tar.sh to add missing cython source files to the source tarball (Closes: #589731) * debian/rules: add call to dh_numpy to generate stricter versioned depends on python-numpy (Closes: #590763) * Bump Standards-Version to 3.9.1 * Add myself to Uploaders -- Varun Hiremath Fri, 30 Jul 2010 18:29:18 -0400 python-scipy (0.7.2-2) unstable; urgency=low * debian/patches/string_exceptions.patch: - Do not use string exceptions, not supported by Python 2.6. -- Luca Falavigna Mon, 07 Jun 2010 14:52:40 +0200 python-scipy (0.7.2-1) unstable; urgency=low * New upstream release. * Switch to debhelper 7. * Provide python-scipy-dbg package (Closes: #525329). * Add myself to Uploaders. -- Luca Falavigna Sun, 25 Apr 2010 17:21:21 +0200 python-scipy (0.7.1-1) unstable; urgency=low [ Sandro Tosi ] * debian/control - removed Marco Presi from uploaders: thanks for your work! [ Luca Falavigna ] * New upstream release. - Fix KeyError exception in sparse module (Closes: #525109). - Fix SyntaxWarning exception with python2.6 (Closes: #567148). * debian/patches/restore_sys_argv.patch: - Restore sys.argv in case of exception (Closes: #500814). * debian/control: - Depend on ${misc:Depends}. - Drop useless Conflicts/Replaces fields. - Bump Standards-Version to 3.8.4, no changes required. * debian/README.Debian: - Remove obsolete information. * debian/pycompat: - Remove, useless. -- Debian Python Modules Team Mon, 05 Apr 2010 17:10:56 +0200 python-scipy (0.7.0-2) unstable; urgency=medium [ Julien Lavergne ] * debian/copyright : Update Copyright holders (Closes: #524131) * From Ubuntu, prepare for the future python transition: - debian/rules: + Include /usr/share/python/python.mk + Add $(py_setup_install_args) to setup.py install + Replace site-packages by *-packages - debian/control: + Bump build-depends to python-all-dev (>= 2.5.4-1~) [ Luca Falavigna ] * Remove patches, they are no longer needed and also causing FTBFS with recent python-numpy. Remove quilt machinery too (Closes: #545606). * debian/copyright: add missing copyright holder (Closes: #540504). * debian/control: bump Standards-Version to 3.8.3, no changes required. * debian/watch: fix regex to report correct upstream stable version. -- Debian Python Modules Team Tue, 15 Sep 2009 23:30:12 +0200 python-scipy (0.7.0-1) unstable; urgency=low [ Ondrej Certik ] * Beta version * debian/patches: scipy_include_fix.diff and segfault.patch removed (applied upstream), swig_ftbfs.dpatch and umfpack.dpatch updated to new paths [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ David Cournapeau ] * New upstream version * Remove obsolete dependencies on libfftw3-dev, libx11-dev and libnetcdf-dev * Update version for numpy dependency: scipy requires version >= 1.2.0 * Set ATLAS to None when building scipy to avoid depending on ATLAS API, and only use BLAS/LAPACK public API, even when ATLAS is installed on the build machine -- Ondrej Certik Sun, 08 Mar 2009 18:47:03 -0700 python-scipy (0.6.0-12) unstable; urgency=low * The description updated to match the current SciPy (Closes: #489149). * Standards-Version bumped to 3.8.0 (no action needed) * Build-Depends: netcdf-dev changed to libnetcdf-dev -- Ondrej Certik Mon, 16 Jun 2008 22:58:01 +0200 python-scipy (0.6.0-11.1) unstable; urgency=low * Non-maintainer upload. * Change description to refer to python-numpy package instead of Numeric to avoid confusion with python-numeric package. -- Chris AtLee Wed, 23 Apr 2008 15:45:22 -0400 python-scipy (0.6.0-11) unstable; urgency=low * Fixes FTBFS, by unexporting LDFLAGS and setting FFLAGS directly, the same hack as in numpy (Closes: #475990) -- Ondrej Certik Mon, 14 Apr 2008 14:53:57 +0200 python-scipy (0.6.0-10) unstable; urgency=low [Sandro Tosi] * Fixes a dangling symlink (Closes: #471825) -- Ondrej Certik Thu, 20 Mar 2008 14:50:31 +0100 python-scipy (0.6.0-9) unstable; urgency=medium * Uses correct pycentral locations (Closes: #471549) -- Ondrej Certik Wed, 19 Mar 2008 21:41:12 +0100 python-scipy (0.6.0-8) unstable; urgency=low * Build depend on libsuitesparse (>= 3.1.0-3) * Build depends fixed to use gfortran based lapack and blas (Closes: #466868) -- Ondrej Certik Sat, 23 Feb 2008 01:21:51 +0100 python-scipy (0.6.0-7) unstable; urgency=low * Bumped the version, because python-numpy conflicts with python-scipy (<= 0.6.0-6). This compiles against the old suitesparse, but it makes the package installable and working again. -- Ondrej Certik Thu, 21 Feb 2008 15:38:00 +0100 python-scipy (0.6.0-6) UNRELEASED; urgency=low * debian/control - uniforming both Vcs-Svn and Vcs-Browser fields -- Sandro Tosi Thu, 03 Jan 2008 12:18:46 +0100 python-scipy (0.6.0-5.1) unstable; urgency=low * Non-maintainer upload. * Changed `fftw3-dev' to `libfftw3-dev' to get rid of that dependency on a virtual package. * Fix FTBFS with relation to swig with a patch provided by Kumar Appaiah (Closes: #456892) -- Philipp Kern Mon, 31 Dec 2007 13:45:10 +0100 python-scipy (0.6.0-5) unstable; urgency=low * DM-Upload-Allowed changed to XS-DM-Upload-Allowed * standards-version made uptodate (3.7.3) * don't create an empty dir usr/share/doc/python-scipy/weave/ -- Ondrej Certik Tue, 04 Dec 2007 22:27:48 +0100 python-scipy (0.6.0-4) unstable; urgency=low * Use quilt (much eaiser to use) instead of dpatch * Paul's patch added (Closes: #452991) * Add DM-Upload-Allowed: yes -- Ondrej Certik Mon, 03 Dec 2007 15:33:24 +0100 python-scipy (0.6.0-3) unstable; urgency=low [ Piotr Ożarowski ] * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) [ Ondrej Certik ] * Depending on libsuitesparse-dev directly instead of libufsparse-dev (Closes: #445771) -- Ondrej Certik Mon, 15 Oct 2007 20:09:07 +0200 python-scipy (0.6.0-2) unstable; urgency=medium * Replaced fftw-dev with fftw3-dev in Build-Depends (closes: #444124) -- Piotr Ożarowski Wed, 26 Sep 2007 23:52:25 +0200 python-scipy (0.6.0-1) unstable; urgency=low [Ondřej Čertík] * New upstream release * watch file added [Piotr Ożarowski] * Homepage field added -- Ondrej Certik Sun, 23 Sep 2007 16:14:35 +0200 python-scipy (0.5.2.1-2) unstable; urgency=low * Got rid of all lintian and linda warnings (removed "SciPy is an open source library of scientific tools for Python" (first sentence) from the long description) * debian/control: Added XS-Vcs-Svn and XS-Vcs-Browser fields to the Source section -- Ondrej Certik Fri, 31 Aug 2007 04:29:55 +0200 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 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) 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) 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 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) 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) 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) 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) 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) 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) 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) 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 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 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) 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) Mon, 11 Sep 2006 22:05:45 +0200 python-scipy (0.5.1-1) unstable; urgency=low * New upstream release -- Marco Presi (Zufus) 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) 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) 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) 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 Wed, 05 Jul 2006 18:06:41 +0100 python-scipy (0.4.9-1) unstable; urgency=low * New upstream version. -- José Fonseca 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 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 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 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 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 Thu, 17 Feb 2005 14:49:03 +0100 python-scipy (0.3.2-4) unstable; urgency=low * Build for python 2.4. -- José Fonseca 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 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 Fri, 22 Oct 2004 15:05:00 +0200 python-scipy (0.3.2-1) unstable; urgency=low * New version. -- José Fonseca 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 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 Thu, 02 Oct 2003 13:31:30 +0100 python-scipy (0.2.0+alpha144.4350-1) unstable; urgency=low * Initial Release. -- José Fonseca Tue, 01 Jul 2003 13:35:03 +0100 debian/control0000664000000000000000000001123212316332600010566 0ustar Source: python-scipy Section: python Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Python Modules Team Uploaders: Alexandre Fayolle , Ondrej Certik , David Cournapeau , Varun Hiremath Build-Depends: cython (>= 0.19), debhelper (>= 7.0.50~), gfortran, libblas-dev, liblapack-dev, libsuitesparse-dev (>= 3.1.0-3), python-all-dbg, python-all-dev (>= 2.6.6-3~), python-decorator, python-mako, python-nose, python-numpy (>= 1:1.5.1), python-numpy-dbg (>= 1:1.5.1), python-six (>= 1.3.0), python3-all-dbg, python3-all-dev, python3-decorator, python3-nose, python3-numpy (>= 1:1.7.2), python3-numpy-dbg, python3-six, swig X-Python-Version: >= 2.6 X-Python3-Version: >= 3.1 Standards-Version: 3.9.5 Homepage: http://www.scipy.org/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/scipy/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/scipy/trunk/ XS-Testsuite: autopkgtest Package: python-scipy Architecture: any Depends: python-decorator, python-six (>= 1.3.0), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Provides: ${python:Provides} Recommends: g++ | c++-compiler, python-dev, python-imaging Description: scientific tools for Python SciPy supplements the popular NumPy module (python-numpy package), gathering a variety of high level science and engineering modules together as a single package. . SciPy is a set of Open Source scientific and numeric tools for Python. It currently supports special functions, integration, ordinary differential equation (ODE) solvers, gradient optimization, genetic algorithms, parallel programming tools, an expression-to-C++ compiler for fast execution, and others. Package: python3-scipy Architecture: any Depends: python3-decorator, python3-numpy (>= 1:1.7.2), python3-six (>= 1.3.0), ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Recommends: g++ | c++-compiler Description: scientific tools for Python 3 SciPy supplements the popular NumPy module (python-numpy package), gathering a variety of high level science and engineering modules together as a single package. . SciPy is a set of Open Source scientific and numeric tools for Python. It currently supports special functions, integration, ordinary differential equation (ODE) solvers, gradient optimization, genetic algorithms, parallel programming tools, an expression-to-C++ compiler for fast execution, and others. . This package provides the Python 3 version. Package: python-scipy-dbg Section: debug Architecture: any Depends: python-dbg, python-numpy-dbg (>= 1:1.5.1), python-scipy (= ${binary:Version}), ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Description: scientific tools for Python - debugging symbols SciPy supplements the popular NumPy module (python-numpy package), gathering a variety of high level science and engineering modules together as a single package. . SciPy is a set of Open Source scientific and numeric tools for Python. It currently supports special functions, integration, ordinary differential equation (ODE) solvers, gradient optimization, genetic algorithms, parallel programming tools, an expression-to-C++ compiler for fast execution, and others. . This package provides debugging symbols for python-scipy. Package: python3-scipy-dbg Section: debug Architecture: any Depends: python3-dbg, python3-numpy-dbg (>= 1:1.7.2), python3-scipy (= ${binary:Version}), ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends} Description: scientific tools for Python 3 - debugging symbols SciPy supplements the popular NumPy module (python-numpy package), gathering a variety of high level science and engineering modules together as a single package. . SciPy is a set of Open Source scientific and numeric tools for Python. It currently supports special functions, integration, ordinary differential equation (ODE) solvers, gradient optimization, genetic algorithms, parallel programming tools, an expression-to-C++ compiler for fast execution, and others. . This package provides debugging symbols for python3-scipy. debian/rules0000775000000000000000000001010412274241775010257 0ustar #!/usr/bin/make -f unexport LDFLAGS export FFLAGS="-fPIC" export ATLAS=None PY2VERS:= $(shell pyversions -v -r debian/control) PY3VERS:= $(shell py3versions -v -r debian/control) TMPDIR := $(CURDIR)/build/tmp BASE=$(shell pwd)/debian DVER=$(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | sed 's/-[^-]*$$//') UVER=$(shell echo $(DVER) | sed "s/+dfsg.*//g") %: dh $@ --with python2,python3 override_dh_auto_clean: rm -rf build find . -name "*.pyc" -exec rm {} \; override_dh_auto_configure: cd scipy/special && python generate_ufuncs.py # cython and swig done by setup.py build-python%: python$* setup.py config_fc --noarch build; CFLAGS="-g -ggdb" python$*-dbg setup.py config_fc \ --noarch build; override_dh_auto_build: $(PY2VERS:%=build-python%) $(PY3VERS:%=build-python%) install-python%: python$* setup.py install --root $(BASE)/tmp \ --force --no-compile --install-layout=deb; python$*-dbg setup.py install --root $(BASE)/tmp \ --force --no-compile --install-layout=deb; override_dh_install: $(PY3VERS:%=install-python%) $(PY2VERS:%=install-python%) dh_install find debian/python-scipy -type f -name '*_d.so' -delete find debian/python3-scipy -type f -name '*.cpython-3?d*.so' -delete find debian/python-scipy-dbg ! -type d ! -name '*_d.so' -delete find debian/python3-scipy-dbg ! -type d ! -name '*.cpython-3?d*.so' -delete find debian/python-scipy-dbg -depth -empty -exec rmdir {} \; find debian/python3-scipy-dbg -depth -empty -exec rmdir {} \; rm -f $(BASE)/python-scipy*/usr/lib/python*/*-packages/scipy/LICENSE.txt; rm -fr $(BASE)/python-scipy*/usr/lib/python*/*-packages/scipy/weave/examples/ # drop all the installed setup.py files find $(BASE)/ -name setup.py -delete find $(BASE)/ -name generate_ufuncs.py -delete set -e && for py in $(PY2VERS); do \ ln -sf /usr/lib/python$$py/dist-packages/six.py $(BASE)/python-scipy/usr/lib/python$$py/dist-packages/scipy/lib/six.py; \ ln -sf /usr/lib/python$$py/dist-packages/decorator.py $(BASE)/python-scipy/usr/lib/python$$py/dist-packages/scipy/lib/decorator.py; \ done ln -sf /usr/lib/python3/dist-packages/six.py $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/lib/six.py ln -sf /usr/lib/python3/dist-packages/decorator.py $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/lib/decorator.py # not ported to py3 in 0.10.1 rm -rf $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/weave #call dh_numpy dh_numpy dh_numpy3 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) mkdir -p $(TMPDIR) -set -e && for pyvers in $(PY2VERS); do \ ADTTMP=$(TMPDIR) \ PYTHONPATH=$(BASE)/python-scipy/usr/lib/python$$pyvers/dist-packages/ \ PYS=python$$pyvers TESTMODE=fast $(BASE)/tests/python2; \ done -set -e && for pyvers in $(PY3VERS); do \ ADTTMP=$(TMPDIR) \ PYTHONPATH=$(BASE)/python3-scipy/usr/lib/python3/dist-packages/ \ PYS=python$$pyvers TESTMODE=fast $(BASE)/tests/python3; \ done endif override_dh_fixperms: dh_fixperms 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 sed -i '1s|.|#!/usr/bin/python\n&|' $(BASE)/python-scipy/usr/lib/$(shell pyversions -d)/dist-packages/scipy/cluster/tests/vq_test.py sed -i '1s|.|#!/usr/bin/python\n&|' $(BASE)/python-scipy/usr/lib/$(shell pyversions -d)/dist-packages/scipy/stats/tests/test_stats.py sed -i '1s|.|#!/usr/bin/python3\n&|' $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/cluster/tests/vq_test.py sed -i '1s|.|#!/usr/bin/python3\n&|' $(BASE)/python3-scipy/usr/lib/python3/dist-packages/scipy/stats/tests/test_stats.py #replace all the usr/bin/env python find $(BASE)/python3-scipy/usr/lib/python3/ -name "*.py" -type f | xargs sed -i -e "1s#usr/bin/env\s\+python\s*\$$#usr/bin/env python3#" override_dh_strip: dh_strip -ppython-scipy --dbg-package=python-scipy-dbg dh_strip -ppython3-scipy --dbg-package=python3-scipy-dbg get-orig-source: -uscan --force-download --download-version $(UVER) --rename debian/watch0000664000000000000000000000017712274241775010241 0ustar version=3 opts="uversionmangle=s/((a|b|rc)\d*)$/~$1/,dversionmangle=s/[+~]dfsg.*//" \ http://sf.net/scipy/scipy-(.*)\.tar\.gz debian/python3-scipy.install0000664000000000000000000000003712274241775013324 0ustar usr/lib/python3*/dist-packages debian/patches/0000775000000000000000000000000012274241775010632 5ustar debian/patches/blitz++.patch0000664000000000000000000000133312274241775013125 0ustar Description: Fixes scipy.weave.inline compalition with g++ 4.3 and upwards Author: Sameer Morar Forwarded: http://projects.scipy.org/scipy/scipy/ticket/739 Bug-Debian: http://bugs.debian.org/598520 Bug-Ubuntu: https://launchpad.net/bugs/302649 --- a/scipy/weave/blitz/blitz/blitz.h +++ b/scipy/weave/blitz/blitz/blitz.h @@ -65,6 +65,8 @@ #define BZ_THROW // Needed in +#include + BZ_NAMESPACE(blitz) #ifdef BZ_HAVE_STD --- a/scipy/weave/blitz/blitz/prettyprint.h +++ b/scipy/weave/blitz/blitz/prettyprint.h @@ -22,6 +22,8 @@ #ifndef BZ_PRETTYPRINT_H #define BZ_PRETTYPRINT_H +#include + BZ_NAMESPACE(blitz) class prettyPrintFormat { debian/patches/restore_sys_argv.patch0000664000000000000000000000074512274241775015261 0ustar Description: restore sys.argv in case of exception Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500814 --- a/scipy/weave/build_tools.py +++ b/scipy/weave/build_tools.py @@ -292,6 +292,9 @@ def build_extension(module_path,compiler configure_python_path(build_dir) except SyntaxError: # TypeError: success = 0 + except Exception, e: + restore_sys_argv() + raise e # restore argv after our trick... restore_sys_argv() debian/patches/reswig.patch0000664000000000000000000000142012274241775013150 0ustar Author: Julian Taylor Description: reswig files Applied-Upstream: no Forwarded: not accepted to avoid user swig build dependency --- a/scipy/sparse/sparsetools/setup.py +++ b/scipy/sparse/sparsetools/setup.py @@ -9,11 +9,11 @@ def configuration(parent_package='',top_ config = Configuration('sparsetools',parent_package,top_path) for fmt in ['csr','csc','coo','bsr','dia','csgraph']: - sources = [fmt + '_wrap.cxx'] - depends = [fmt + '.h'] + sources = [fmt + '.i' ] + depends = [fmt + '.h'] config.add_extension('_' + fmt, sources=sources, define_macros=[('__STDC_FORMAT_MACROS', 1)], - depends=depends) + depends=depends, include_dirs=["."]) return config debian/patches/qhull-lfs.patch0000664000000000000000000000147112274241775013565 0ustar Description: enable large file support probably not needed as the file open api of qhull is not available in python Author: Julian Taylor Forwarded: no --- a/scipy/spatial/setup.py +++ b/scipy/spatial/setup.py @@ -29,6 +29,9 @@ def configuration(parent_package='', top cfg = dict(get_info('lapack_opt')) cfg.setdefault('include_dirs', []).extend(inc_dirs) cfg.setdefault('define_macros', []).append(('qh_QHpointer','1')) + cfg.setdefault('define_macros', []).append(('_FILE_OFFSET_BITS','64')) + cfg.setdefault('define_macros', []).append(('_LARGEFILE_SOURCE','1')) + cfg.setdefault('define_macros', []).append(('_LARGEFILE64_SOURCE','1')) config.add_extension('qhull', sources=['qhull.c'] + qhull_src, **cfg) debian/patches/series0000664000000000000000000000013112274241775012042 0ustar restore_sys_argv.patch blitz++.patch reswig.patch qhull-lfs.patch cap-ld-precision.patch debian/patches/cap-ld-precision.patch0000664000000000000000000000412412274241775015005 0ustar Description: cap the decimal precision np.finfo returns 75 or nonconvergence RuntimeError on ppc Author: Julian Taylor Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702169 --- a/scipy/signal/tests/test_signaltools.py +++ b/scipy/signal/tests/test_signaltools.py @@ -622,7 +622,15 @@ class TestCorrelate2d(TestCase): # name will be TestCorrelateComplex###, where ### is the number of bits. for datatype in [np.csingle, np.cdouble, np.clongdouble]: cls = _get_testcorrelate_class(datatype, _TestCorrelateComplex) - cls.decimal = int(2 * np.finfo(datatype).precision / 3) + # will either return a too large value for longdouble + # or nonconvergence RuntimeError see #702169 + try: + cls.decimal = int(2 * np.finfo(datatype).precision / 3) + if cls.decimal > 25: + cls.decimal = 14 + except RuntimeError: + cls.decimal = 14 + globals()[cls.__name__] = cls --- a/scipy/linalg/tests/test_basic.py +++ b/scipy/linalg/tests/test_basic.py @@ -685,13 +685,23 @@ class TestNorm(object): def test_types(self): for dtype in np.typecodes['AllFloat']: x = np.array([1,2,3], dtype=dtype) - tol = max(1e-15, np.finfo(dtype).eps.real * 20) + # does not converge on ppc for float128 + try: + eps = np.finfo(dtype).eps.real + except RuntimeError: + eps = 1e-19 + tol = max(1e-15, eps * 20) assert_allclose(norm(x), np.sqrt(14), rtol=tol) assert_allclose(norm(x, 2), np.sqrt(14), rtol=tol) for dtype in np.typecodes['Complex']: x = np.array([1j,2j,3j], dtype=dtype) - tol = max(1e-15, np.finfo(dtype).eps.real * 20) + # does not converge on ppc for float128 + try: + eps = np.finfo(dtype).eps.real + except RuntimeError: + eps = 1e-19 + tol = max(1e-15, eps * 20) assert_allclose(norm(x), np.sqrt(14), rtol=tol) assert_allclose(norm(x, 2), np.sqrt(14), rtol=tol) debian/python3-scipy-dbg.install0000664000000000000000000000007412274241775014057 0ustar # extra stuff deleted in rules usr/lib/python3*/*-packages/ debian/README.source0000664000000000000000000000072312274241775011364 0ustar Creating source package ======================= In the upstream supplied source tarball, certain source files are missing which are present in the upstream subversion repository. The debian/orig-tar.sh script adds the missing source files and creates a DFSG compatible source tarball for debian release. Please use the 'rules/get-orig-source' target to create the tarball for debian packaging. -- Varun Hiremath Fri, 30 Jul 2010 18:27:23 -0400 debian/compat0000664000000000000000000000000212274241775010401 0ustar 7 debian/setup_without_xplt.py0000664000000000000000000000111712274241775013547 0ustar """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) debian/tests/0000775000000000000000000000000012274241775010345 5ustar debian/tests/openblas0000775000000000000000000000131012274241775012071 0ustar #!/bin/sh set -efu blaslib=$(update-alternatives --list libblas.so.3 | grep $(basename $0)) update-alternatives --set libblas.so.3 $blaslib echo "=== testing "$(basename $0)" ===" # one python is enough PYS=${PYS:-"$(pyversions -d 2>/dev/null)"} #test only modules that link against libblas PYS=$PYS TESTPKG=scipy.odr debian/tests/python2 PYS=$PYS TESTPKG=scipy.optimize debian/tests/python2 PYS=$PYS TESTPKG=scipy.spatial debian/tests/python2 PYS=$PYS TESTPKG=scipy.lib.lapack debian/tests/python2 PYS=$PYS TESTPKG=scipy.lib.blas debian/tests/python2 PYS=$PYS TESTPKG=scipy.special debian/tests/python2 PYS=$PYS TESTPKG=scipy.integrate debian/tests/python2 PYS=$PYS TESTPKG=scipy.linalg debian/tests/python2 debian/tests/control0000664000000000000000000000072112274241775011750 0ustar Tests: python2 Depends: python-scipy, python-nose, python-all, python-all-dev, python-mpmath, python-imaging Tests: python3 Depends: python3-scipy, python3-nose, python3-all, python3-all-dev #needs root for update-alternatives Tests: openblas Restrictions: needs-root Depends: python-scipy, python-nose, python, libopenblas-base #needs root for update-alternatives Tests: atlas Restrictions: needs-root Depends: python-scipy, python-nose, python, libatlas3-base debian/tests/python20000775000000000000000000000230712274241775011700 0ustar #!/bin/sh set -efu PYS=${PYS:-"$(pyversions -r 2>/dev/null)"} TESTMODE=${TESTMODE:-full} TESTPKG=${TESTPKG:-scipy} export HOME=$ADTTMP export TMPDIR=$ADTTMP cd "$ADTTMP" #nosetest does not handle knowfailures cat << EOF > runtest.py from __future__ import print_function import $TESTPKG import re # add failures to skip here skip = [ # ppc failure "test_qhull.TestUtilities.test_degenerate_barycentric_transforms", # i386 small rounding issue "test_qhull.TestUtilities.test_more_barycentric_transforms", # atlas 3.10 issue, scipy github #2842 "test_decomp.TestQZ.test_qz_complex64", # #2911 "test_fitpack.TestSplder.test_kink", ] r = $TESTPKG.test(label='$TESTMODE', verbose=2); errors = [] for e in (r.errors + r.failures): eid = e[0].id() test = [re.search(s, eid) is not None for s in skip] if not any(test): print("failed:", eid) errors.append(e) else: print("skipped:", eid) if True in test: del skip[test.index(True)] print("#errors: %d" % len(errors)) for s in skip: print("unused skips:", s) assert len(errors) == 0 EOF for py in $PYS; do echo "=== Testing: $py $TESTPKG ===" $py runtest.py 2>&1 echo "=== Done: $py $TESTPKG ===" done debian/tests/atlas0000775000000000000000000000131012274241775011372 0ustar #!/bin/sh set -efu blaslib=$(update-alternatives --list libblas.so.3 | grep $(basename $0)) update-alternatives --set libblas.so.3 $blaslib echo "=== testing "$(basename $0)" ===" # one python is enough PYS=${PYS:-"$(pyversions -d 2>/dev/null)"} #test only modules that link against libblas PYS=$PYS TESTPKG=scipy.odr debian/tests/python2 PYS=$PYS TESTPKG=scipy.optimize debian/tests/python2 PYS=$PYS TESTPKG=scipy.spatial debian/tests/python2 PYS=$PYS TESTPKG=scipy.lib.lapack debian/tests/python2 PYS=$PYS TESTPKG=scipy.lib.blas debian/tests/python2 PYS=$PYS TESTPKG=scipy.special debian/tests/python2 PYS=$PYS TESTPKG=scipy.integrate debian/tests/python2 PYS=$PYS TESTPKG=scipy.linalg debian/tests/python2 debian/tests/python30000775000000000000000000000224212274241775011677 0ustar #!/bin/sh set -efu PYS=${PYS:-"$(py3versions -r 2>/dev/null)"} TESTMODE=${TESTMODE:-full} TESTPKG=${TESTPKG:-scipy} export HOME=$ADTTMP export TMPDIR=$ADTTMP cd "$ADTTMP" #nosetest does not handle knowfailures cat << EOF > runtest.py import $TESTPKG import re # add failures to skip here skip = [ # ppc failure "test_qhull.TestUtilities.test_degenerate_barycentric_transforms", # i386 small rounding issue "test_qhull.TestUtilities.test_more_barycentric_transforms", # atlas 3.10 issue, scipy github #2842 "test_decomp.TestQZ.test_qz_complex64", # #2911 "test_fitpack.TestSplder.test_kink", ] r = $TESTPKG.test(label='$TESTMODE', verbose=2); errors = [] for e in (r.errors + r.failures): eid = e[0].id() test = [re.search(s, eid) is not None for s in skip] if not any(test): print("failed:", eid) errors.append(e) else: print("skipped:", eid) if True in test: del skip[test.index(True)] print("#errors: %d" % len(errors)) for s in skip: print("unused skips:", s) assert len(errors) == 0 EOF for py in $PYS; do echo "=== Testing: $py $TESTPKG ===" $py runtest.py 2>&1 echo "=== Done: $py $TESTPKG ===" done