--- pyvtk-0.4.74.orig/doc/gen_pydoc.sh +++ pyvtk-0.4.74/doc/gen_pydoc.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +pydoc -w pyvtk pyvtk.VtkData pyvtk.StructuredGrid pyvtk.StructuredPoints pyvtk.UnstructuredGrid pyvtk.RectilinearGrid pyvtk.PolyData pyvtk.PointData pyvtk.CellData pyvtk.Scalars pyvtk.ColorScalars pyvtk.LookupTable pyvtk.Vectors pyvtk.Normals pyvtk.TextureCoordinates pyvtk.Tensors pyvtk.Field --- pyvtk-0.4.74.orig/debian/changelog +++ pyvtk-0.4.74/debian/changelog @@ -0,0 +1,118 @@ +pyvtk (0.4.74-3build1) precise; urgency=low + + * Rebuild to drop python2.6 dependencies and provides. + + -- Matthias Klose Sat, 14 Apr 2012 13:45:21 +0000 + +pyvtk (0.4.74-3) unstable; urgency=low + + [ Piotr Ożarowski ] + * debian/watch file added + + [ Sandro Tosi ] + * debian/control + - added Vcs-Svn and Vcs-Browser + * debian/control + - switch Vcs-Browser field to viewsvn + + [ Steve M. Robbins ] + * debian/control: Revise long description. Closes: #612140. Set + Standards-Version to 3.9.1. Depend on ${misc:Depends}. + * debian/doc-base.python-pyvtk: Change section to Science/Data Analysis, + matching what VTK uses. + + -- Steve M. Robbins Sun, 06 Feb 2011 12:04:09 -0600 + +pyvtk (0.4.74-2) unstable; urgency=low + + * Move XS-Python-Version field to source stanza, change its value to + "all". Closes: #445396. + + * Bump python-support, debhelper and python required build versions (Egg + issue). + + * Move homepage URL from long description to new Homepage field. + + * Bump Standards-Version to 3.7.3 (no changes needed). + + -- Piotr Ożarowski Wed, 19 Dec 2007 23:10:04 +0100 + +pyvtk (0.4.74-1) unstable; urgency=low + + * New upstream. + Implement get_cell_size() in StructuredGrid. Closes: #401063. + + * debian/control: + * debian/rules: Set standards version to 3.7.2.2. Use python-support. + + -- Steve M. Robbins Sun, 25 Feb 2007 01:04:03 -0600 + +pyvtk (0.4.66-6) unstable; urgency=low + + * Update to new python policy. Closes: #373374. + + -- Steve M. Robbins Fri, 30 Jun 2006 22:55:10 -0400 + +pyvtk (0.4.66-5) unstable; urgency=low + + * Change import statements so examples/*.py will run outside of source + tree. Closes: #351415. + + -- Steve M. Robbins Sat, 4 Feb 2006 23:16:52 -0500 + +pyvtk (0.4.66-4) unstable; urgency=low + + * Remove python2.1-pyvtk, python2.2-pyvtk packages. Closes: #351155. + + * New package python2.4-pyvtk. + + -- Steve M. Robbins Thu, 2 Feb 2006 23:57:11 -0500 + +pyvtk (0.4.66-3) unstable; urgency=low + + * debian/control: Build-depend on python to ensure that "pydoc" + is available. Closes: #259126. + + -- Steve M. Robbins Sun, 18 Jul 2004 17:04:58 -0400 + +pyvtk (0.4.66-2) unstable; urgency=low + + * Thanks to Matthias Klose for the NMUs. + Closes: #204671, #204955. + + * debian/control: Fix override disparity. + + -- Steve M. Robbins Sat, 25 Oct 2003 20:30:25 -0400 + +pyvtk (0.4.66-1.2) unstable; urgency=low + + * NMU. + * Correctly use dh_python (closes: #204955). + + -- Matthias Klose Sun, 28 Sep 2003 12:32:06 +0200 + +pyvtk (0.4.66-1.1) unstable; urgency=low + + * NMU. + * Upload for python2.3 as the default python version. + * Use dh_python, delete the postinst/prerm files. + * Remove the dependency of the 2.1 and 2.2 packages on python and call + python2.1/python2.2 directly in the scripts. + + -- Matthias Klose Sat, 9 Aug 2003 08:45:37 +0200 + +pyvtk (0.4.66-1) unstable; urgency=low + + * New upstream version. + + * Build-depend on pythonX.Y-dev packages. Closes: #178888. + + -- Steve M. Robbins Fri, 31 Jan 2003 21:40:09 -0500 + +pyvtk (0.4.62-1) unstable; urgency=low + + * Initial upload. Closes: #140209. + + * lib/__init__.py: Strip header to 255 characters plus newline. + + -- Steve M. Robbins Sat, 23 Nov 2002 16:03:10 -0500 --- pyvtk-0.4.74.orig/debian/source.lintian-overrides +++ pyvtk-0.4.74/debian/source.lintian-overrides @@ -0,0 +1 @@ +pyvtk: script-not-executable --- pyvtk-0.4.74.orig/debian/rules +++ pyvtk-0.4.74/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f + +PYVERS=$(shell pyversions -r) +PREFIX := debian/python-pyvtk/usr + +clean: + dh_testdir + dh_testroot + python setup.py clean + rm -f build-stamp + + -find -name '*.py[co]' | xargs rm -f + rm -f doc/pyvtk doc/*.html + rm -f lib/test.vtk + rm -rf build + + dh_clean + +build: build-stamp +build-stamp: + dh_testdir + + ln -s ../lib doc/pyvtk + cd doc && sh gen_pydoc.sh + rm -f doc/pyvtk + + touch build-stamp + + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + python setup.py install --no-compile \ + --install-lib=$(PREFIX)/share/python-support/python-pyvtk + + mkdir -p debian/python-pyvtk/usr/share/doc/python-pyvtk + cp -a doc debian/python-pyvtk/usr/share/doc/python-pyvtk/html + + dh_install + + +# This single target is used to build all the packages, all at once, or +# one at a time. So keep in mind: any options passed to commands here will +# affect _all_ packages. Anything you want to only affect one package +# should be put in another target, such as the install target. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs BUGS.txt NEWS.txt README.txt TODO.txt + dh_installexamples examples/* + dh_strip + dh_link + dh_compress -X.py + dh_fixperms + dh_pysupport + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build install + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build install +# $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +# Any other binary targets build just one binary package at a time. +binary-%: build install + make -f debian/rules binary-common DH_OPTIONS=-p$* + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- pyvtk-0.4.74.orig/debian/control +++ pyvtk-0.4.74/debian/control @@ -0,0 +1,33 @@ +Source: pyvtk +Section: python +Priority: optional +Maintainer: Steve M. Robbins +Uploaders: Debian Python Modules Team +Build-Depends: debhelper (>= 5.0.38), python-support (>= 0.6.4), python (>= 2.3.5-11) +Standards-Version: 3.9.1 +XS-Python-Version: all +Homepage: http://cens.ioc.ee/projects/pyvtk/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyvtk/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyvtk/trunk/ + +Package: python-pyvtk +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Conflicts: python2.3-pyvtk (<< 0.4.66-6), python2.4-pyvtk (<< 0.4.66-6) +Replaces: python2.3-pyvtk (<< 0.4.66-6), python2.4-pyvtk (<< 0.4.66-6) +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: module for manipulating VTK files + PyVTK provides python classes to read and write a VTK file and + to create a VTK file from standard Python objects. + Only VTK File Format version 2.0 is supported. + Features include: + - ascii and binary output, ascii input + - DataSet formats: + StructuredPoints, StructuredGrid, RectilinearGrid, + PolyData, UnstructuredGrid + - Data formats: + PointData, CellData + - DataSetAttr formats: + Scalars, ColorScalars, LookupTable, Vectors, + Normals, TextureCoordinates, Tensors, Field --- pyvtk-0.4.74.orig/debian/copyright +++ pyvtk-0.4.74/debian/copyright @@ -0,0 +1,13 @@ +This package was debianized by Steve Robbins on +Sat Nov 16 17:44:42 EST 2002 + +Copyright 2001 Pearu Peterson all rights reserved, +Pearu Peterson +Permission to use, modify, and distribute this software is given under the +terms of the LGPL. See http://www.fsf.org + +NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. + + +On Debian systems, the complete license text can be found in +/usr/share/common-licenses/LGPL. --- pyvtk-0.4.74.orig/debian/watch +++ pyvtk-0.4.74/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/latest/0/" \ +http://cens.ioc.ee/projects/pyvtk/rel-0.x/PyVTK-(.*)\.tar\.gz --- pyvtk-0.4.74.orig/debian/compat +++ pyvtk-0.4.74/debian/compat @@ -0,0 +1 @@ +5 --- pyvtk-0.4.74.orig/debian/doc-base.python-pyvtk +++ pyvtk-0.4.74/debian/doc-base.python-pyvtk @@ -0,0 +1,9 @@ +Document: python-pyvtk +Title: PyVTK Module +Author: Pearu Peterson +Abstract: Tools for manipulating VTK files in Python. +Section: Science/Data Analysis + +Format: HTML +Index: /usr/share/doc/python-pyvtk/html/pyvtk.html +Files: /usr/share/doc/python-pyvtk/html/*.html --- pyvtk-0.4.74.orig/debian/source/format +++ pyvtk-0.4.74/debian/source/format @@ -0,0 +1 @@ +1.0 --- pyvtk-0.4.74.orig/examples/example1.py +++ pyvtk-0.4.74/examples/example1.py @@ -1,13 +1,6 @@ #!/usr/bin/env python -import sys -sys.path = ['..']+sys.path -if sys.version[:3]=='1.5': - from lib152 import * -else: - from lib import * - -#from pyvtk import * +from pyvtk import * structure = PolyData(points=[[0,0,0],[1,0,0],[1,1,0],[0,1,0], [0,0,1],[1,0,1],[1,1,1],[0,1,1]], --- pyvtk-0.4.74.orig/examples/example2.py +++ pyvtk-0.4.74/examples/example2.py @@ -1,13 +1,6 @@ #!/usr/bin/env python -import sys -sys.path = ['..']+sys.path -if sys.version[:3]=='1.5': - from lib152 import * -else: - from lib import * - -#from pyvtk import * +from pyvtk import * vtk = VtkData(StructuredPoints([3,4,6]), PointData(Scalars([0,0,0,0,0,0,0,0,0,0,0,0, --- pyvtk-0.4.74.orig/examples/example3.py +++ pyvtk-0.4.74/examples/example3.py @@ -1,13 +1,6 @@ #!/usr/bin/env python -import sys -sys.path = ['..']+sys.path -if sys.version[:3]=='1.5': - from lib152 import * -else: - from lib import * - -#from pyvtk import * +from pyvtk import * points = [[0,0,0],[1,0,0],[2,0,0],[0,1,0],[1,1,0],[2,1,0], [0,0,1],[1,0,1],[2,0,1],[0,1,1],[1,1,1],[2,1,1],