debian/0000755000000000000000000000000011770313153007167 5ustar debian/watch0000644000000000000000000000042611770313151010220 0ustar version=3 opts=downloadurlmangle=s#.*(scitools-lite-([\d.]+)\.tar\.gz).*#http://scitools.googlecode.com/files/$1#,filenamemangle=s#.*(scitools-lite-([\d.]+)\.tar\.gz).*#$1# \ http://code.google.com/p/scitools/downloads/list ^.*detail\?name=scitools-lite-([\d.]+)\.tar\.gz.* debian/pyversions0000644000000000000000000000000511770313151011324 0ustar 2.5- debian/patches/0000755000000000000000000000000011770313153010616 5ustar debian/patches/scitools_examples.patch0000644000000000000000000001014711770313151015375 0ustar Use gzipped Matlab files in the examples. diff -Nru scitools-0.6.orig/examples/contourslice_demo2.py scitools-0.6/examples/contourslice_demo2.py --- scitools-0.6.orig/examples/contourslice_demo2.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/contourslice_demo2.py 2009-09-04 12:58:36.000000000 +0200 @@ -9,7 +9,7 @@ setp(interactive=False) -mri = io.loadmat('mri_matlab_v6.mat') +mri = io.loadmat('mri_matlab_v6.mat.gz') D = mri['D'] D = squeeze(D) diff -Nru scitools-0.6.orig/examples/isosurface_demo2.py scitools-0.6/examples/isosurface_demo2.py --- scitools-0.6.orig/examples/isosurface_demo2.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/isosurface_demo2.py 2009-09-04 12:58:51.000000000 +0200 @@ -10,7 +10,7 @@ setp(interactive=False) # Displaying an Isosurface: -mri = io.loadmat('mri_matlab_v6.mat') +mri = io.loadmat('mri_matlab_v6.mat.gz') D = mri['D'] #Ds = smooth3(D); diff -Nru scitools-0.6.orig/examples/isosurface_demo3.py scitools-0.6/examples/isosurface_demo3.py --- scitools-0.6.orig/examples/isosurface_demo3.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/isosurface_demo3.py 2009-09-04 12:59:05.000000000 +0200 @@ -10,7 +10,7 @@ setp(interactive=False) # Create an Isosurface: -wind = io.loadmat('wind_matlab_v6.mat') +wind = io.loadmat('wind_matlab_v6.mat.gz') x = wind['x'] y = wind['y'] z = wind['z'] diff -Nru scitools-0.6.orig/examples/streamline_demo1.py scitools-0.6/examples/streamline_demo1.py --- scitools-0.6.orig/examples/streamline_demo1.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/streamline_demo1.py 2009-09-04 12:59:25.000000000 +0200 @@ -7,7 +7,7 @@ from time import sleep from scipy import io -wind = io.loadmat('wind_matlab_v6.mat') +wind = io.loadmat('wind_matlab_v6.mat.gz') x = wind['x'] y = wind['y'] z = wind['z'] diff -Nru scitools-0.6.orig/examples/streamline_demo2.py scitools-0.6/examples/streamline_demo2.py --- scitools-0.6.orig/examples/streamline_demo2.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/streamline_demo2.py 2009-09-04 12:59:39.000000000 +0200 @@ -7,7 +7,7 @@ from time import sleep from scipy import io -wind = io.loadmat('wind_matlab_v6.mat') +wind = io.loadmat('wind_matlab_v6.mat.gz') x = wind['x'] y = wind['y'] z = wind['z'] diff -Nru scitools-0.6.orig/examples/streamline_demo3.py scitools-0.6/examples/streamline_demo3.py --- scitools-0.6.orig/examples/streamline_demo3.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/streamline_demo3.py 2009-09-04 12:59:52.000000000 +0200 @@ -7,7 +7,7 @@ from time import sleep from scipy import io -wind = io.loadmat('wind_matlab_v6.mat') +wind = io.loadmat('wind_matlab_v6.mat.gz') x = wind['x'] y = wind['y'] z = wind['z'] diff -Nru scitools-0.6.orig/examples/streamribbon_demo1.py scitools-0.6/examples/streamribbon_demo1.py --- scitools-0.6.orig/examples/streamribbon_demo1.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/streamribbon_demo1.py 2009-09-04 13:00:04.000000000 +0200 @@ -7,7 +7,7 @@ from time import sleep from scipy import io -wind = io.loadmat('wind_matlab_v6.mat') +wind = io.loadmat('wind_matlab_v6.mat.gz') x = wind['x'] y = wind['y'] z = wind['z'] diff -Nru scitools-0.6.orig/examples/streamtube_demo1.py scitools-0.6/examples/streamtube_demo1.py --- scitools-0.6.orig/examples/streamtube_demo1.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/streamtube_demo1.py 2009-09-04 13:00:17.000000000 +0200 @@ -6,7 +6,7 @@ from scitools.easyviz import * from scipy import io -wind = io.loadmat('wind_matlab_v6.mat') +wind = io.loadmat('wind_matlab_v6.mat.gz') x = wind['x'] y = wind['y'] z = wind['z'] diff -Nru scitools-0.6.orig/examples/streamtube_demo2.py scitools-0.6/examples/streamtube_demo2.py --- scitools-0.6.orig/examples/streamtube_demo2.py 2009-09-04 12:57:18.000000000 +0200 +++ scitools-0.6/examples/streamtube_demo2.py 2009-09-04 13:00:27.000000000 +0200 @@ -6,7 +6,7 @@ from scitools.easyviz import * from scipy import io -wind = io.loadmat('wind_matlab_v6.mat') +wind = io.loadmat('wind_matlab_v6.mat.gz') x = wind['x'] y = wind['y'] z = wind['z'] debian/patches/series0000644000000000000000000000003011770313151012022 0ustar scitools_examples.patch debian/README.Debian0000644000000000000000000000267211770313151011235 0ustar How to interpret the .mat data files from the SciTools examples --------------------------------------------------------------- The files in the examples folder may seem like binary glibber at first sight. They are however regular files in the Matlab v6 binary data format. Those can be edited with the free tool 'Octave', which is also available in the Debian distribution. To amend those files, first make sure you have Octave installed. Then copy the SciTools examples somewhere you've got write permissions: $ cp -r /usr/share/doc/python-scitools/examples ~/scitools-examples Navigate into this folder: $ cd ~/scitools-examples Fire Octave up. It will bring a clean working environment in Octave, avoid of any data objects. From the Octave prompt load the wind_matlab_v6 dataset: octave:1> load wind_matlab_v6.mat.gz This will add variables to your Octave shell, You can then edit the data with the Matlab-like interface that Octave offers. Then save the data in Matlab's v6 binary data format: octave:2> save -mat-binary wind_matlab_v6.mat.gz Next, to continue on other files while avoiding a merger of data, clear the data octave:3> clear and follow the same steps for mri_matlab_v6.mat.gz and topo_matlab_v6.mat.gz. Concerning the .gz suffix, please be aware that Octave can read and write compressed files. Those can also be uncompressed with gunzip, should that be demanded. Just be aware that their size will increase about 10fold. debian/copyright0000644000000000000000000000525111770313151011123 0ustar This package was debianized by Johannes Ring on Sun, 26 Oct 2008 07:33:28 +0100. It was downloaded from http://scitools.googlecode.com Upstream Authors: Hans Petter Langtangen Johannes H. Ring Ilmar Wilbers Rolv E. Bredesen Copyright: Copyright © 2007-2009 Hans Petter Langtangen and Simula Research Laboratory. License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * Neither the name of Simula Research Laboratory 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 COPYRIGHT OWNER 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. The Debian packaging is © 2008-2011, Johannes Ring and is licensed under the GPL version 2 or later, see `/usr/share/common-licenses/GPL-2'. Files or directories which have a different copyright/license attached: Files: lib/scitools/Lumpy.py lib/scitools/_Gui.py Copyright: 2005, Allen B. Downey License: GPL-2+ On Debian systems, the complete text of the GNU General Public License (GPL) version 2 can be found at "/usr/share/common-licenses/GPL-2". Files: bin/pyreport Copyright: 2005, Gael Varoquaux License: BSD Style Files: lib/scitools/aplotter.py Copyright: 2006, Imri Goldberg License: BSD debian/source/0000755000000000000000000000000011770313153010467 5ustar debian/source/format0000644000000000000000000000001411770313151011673 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000002011770313151010030 0ustar README examples debian/rules0000755000000000000000000000061311770313151010245 0ustar #!/usr/bin/make -f DEB_PYTHON_SYSTEM = pysupport include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk DEB_COMPRESS_EXCLUDE := .py # Use Gnuplot as default Easyviz backend DEB_PYTHON_INSTALL_ARGS_python-scitools := --easyviz_backend gnuplot USCAN_DESTDIR := $(CURDIR) get-orig-source: uscan --force-download --verbose --destdir $(USCAN_DESTDIR) debian/compat0000644000000000000000000000000211770313151010363 0ustar 7 debian/changelog0000644000000000000000000000343711770313151011046 0ustar scitools (0.9.0-1) unstable; urgency=low * New upstream release (closes: #675303). -- Johannes Ring Wed, 20 Jun 2012 10:08:38 +0200 scitools (0.8-2) unstable; urgency=low * debian/control: - Bump Standards-Version to 3.9.3 (no changes needed). - Move python-matplotlib and python-tk from Suggests to Depends. - Move python-vtk, python-pyx, python-pmw, blt and from Suggests to Recommends. - Replace octave3.0|octave3.2 with octave in Suggests (closes: #667590). -- Johannes Ring Tue, 10 Apr 2012 10:57:49 +0200 scitools (0.8-1) unstable; urgency=low * New upstream release. This release fixes bug "python-scitools: unrecognized option for gnuplot" (closes: #610771). * Bump Standards-Version to 3.9.1 (no changes needed). * Switch to dpkg-source 3.0 (quilt) format. * Include full BSD license in debian/copyright. * Update debian/watch for change in code.google.com download page link format and use "lite" version (without documentation). * Specify Gnuplot as default Easyviz backend in debian/rules. -- Johannes Ring Wed, 23 Feb 2011 11:47:23 +0100 scitools (0.7-1) unstable; urgency=low * New upstream release. * debian/control: - Replace python-dev with python-all in Build-Depends. - Bump Standards-Version to 3.8.4 (no changes needed). - Remove python-numeric and python-numarray from Suggests since Numeric and numarray are no longer (in general) supported in SciTools. * Remove debian/patches/scitools_init.patch since it's fixed upstream. -- Johannes Ring Mon, 01 Feb 2010 20:37:39 +0100 scitools (0.6-1) unstable; urgency=low * Initial release (Closes: #538853) -- Johannes Ring Wed, 26 Aug 2009 08:41:11 +0200 debian/control0000644000000000000000000000341211770313151010570 0ustar Source: scitools Section: python Priority: extra Maintainer: Debian Python Modules Team Uploaders: Johannes Ring Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7), python-all, python-support Standards-Version: 3.9.3 DM-Upload-Allowed: yes Vcs-Svn: svn://svn.debian.org/python-modules/packages/scitools/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/scitools/trunk/ Homepage: http://scitools.googlecode.com Package: python-scitools Architecture: all XB-Python-Version: ${python:Versions} Depends: python-numpy, python-gnuplot, python-matplotlib, python-tk, ${python:Depends}, ${misc:Depends} Recommends: python-scipy, python-scientific, imagemagick, python-vtk, python-pyx, python-pmw, blt Suggests: netpbm, ffmpeg, octave Description: Python library for scientific computing SciTools is a Python package containing lots of useful tools for scientific computing in Python. The package is built on top of other widely used packages such as NumPy, SciPy, ScientificPython, Gnuplot, etc. . SciTools also comes with a plotting interface called Easyviz, which is a unified interface to various packages for scientific visualization and plotting. Both curve plots and more advanced 2D/3D visualization of scalar and vector fields are supported. The Easyviz interface was designed with three ideas in mind: 1) a simple, Matlab-like syntax; 2) a unified interface to lots of visualization engines (backends): Gnuplot, Matplotlib, Grace, Veusz, Pmw.Blt.Graph, PyX, Matlab, VTK, VisIt, OpenDX; and 3) a minimalistic interface which offers only basic control of plots: curves, linestyles, legends, title, axis extent and names. More fine-tuning of plots can be done by adding backend-specific commands.