debian/0000755000000000000000000000000011501121103007147 5ustar debian/compat0000644000000000000000000000000210712375526010374 0ustar 5 debian/rules0000755000000000000000000000013611501105542010240 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@; debian/watch0000644000000000000000000000022011005436357010215 0ustar # Compulsory line, this is a version 3 file version=3 http://www.boddie.org.uk/david/Projects/Python/pdftools/ Software/pdftools-(.*)\.tar\.gz debian/changelog0000644000000000000000000000466211501120712011036 0ustar python-pdftools (0.37-3) unstable; urgency=low * debian/source/format - move to '3.0 (quilt)' source format * debian/patches/10_remove_version_check.patch - remove bogus version check; thanks to Jakub Wilk for the report; Closes: #606535 * debian/control - bump Standards-Version to 3.9.1 (no changes needed) * debian/{control, rules} - switch to dh7 and short rules file * debian/docs - install README.txt -- Sandro Tosi Sun, 12 Dec 2010 11:19:52 +0100 python-pdftools (0.37-2) unstable; urgency=low * debian/control - switch Vcs-Browser field to viewsvn - updated my email address - bump Standards-Version to 3.8.0 (no changes needed) - removed XS-DM-Upload-Allowed field - build-depends only on python * debian/rules - only need to install and clean for the current python interpreter - merged 'rm' calls into 'dh_clean' one * debian/copyright - updated my email address - extended packaging copyright years - fix packaging copyright notice - link both upstream and packaging licenses to GPLv2 -- Sandro Tosi Fri, 06 Feb 2009 11:05:46 +0100 python-pdftools (0.37-1) unstable; urgency=low [ Sandro Tosi ] * New upstream release [ Piotr Ożarowski ] * debian/control - added "XS-DM-Upload-Allowed: yes" -- Sandro Tosi Mon, 28 Apr 2008 23:12:22 +0200 python-pdftools (0.36-1) unstable; urgency=low * New upstream release (Closes: #469500) * debian/control - given to DPMT - removed dpatch build-dep - bump Standard-Version to 3.7.3 - build-dep on python-all and not python-all-dev - switched from python-central to python-support * debian/rules - removed dpatch stuff - switched from python-central to python-support - added README.txt installation * debian/copyright - extended copyright date - added local URI to GPL license text -- Sandro Tosi Tue, 18 Mar 2008 18:02:14 +0100 python-pdftools (0.35-1) unstable; urgency=low * New upstream release * debian/patches/10_remove_shebangs.dpatch - removed since upstream merged it -- Sandro Tosi Mon, 19 Nov 2007 23:30:50 +0100 python-pdftools (0.34.dfsg-1) unstable; urgency=low * Initial release (Closes: #440722) - LICENSE file added to the upstream sources tarball -- Sandro Tosi Sun, 04 Nov 2007 00:13:24 +0100 debian/copyright0000644000000000000000000000250411143005627011121 0ustar This package was debianized by Sandro Tosi on Fri, 31 Aug 2007 20:27:37 +0200. It was downloaded from http://www.boddie.org.uk/david/Projects/Python/pdftools Upstream Author: David Boddie Copyright: Copyright (C) 2001-2008 by David Boddie License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. On a Debian system the complete text of the GNU General Public License v2 can be found in the file `/usr/share/common-licenses/GPL-2'. The Debian packaging is Copyright (C) 2007-2009, Sandro Tosi and is licensed under the GPLv2, see `/usr/share/common-licenses/GPL-2'. debian/docs0000644000000000000000000000001311501106266010031 0ustar README.txt debian/control0000644000000000000000000000153411501105566010574 0ustar Source: python-pdftools Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Sandro Tosi Build-Depends: debhelper (>= 7), python Build-Depends-Indep: python-support (>= 0.6.4) Standards-Version: 3.9.1 Homepage: http://www.boddie.org.uk/david/Projects/Python/pdftools Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pdftools/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-pdftools/trunk/ XS-Python-Version: all Package: python-pdftools Architecture: all Depends: ${python:Depends}, ${misc:Depends} XB-Python-Version: ${python:Versions} Recommends: python-qt4 Description: PDF document reading classes pdftool is a set of classes aim for reading Portable Document Format (PDF) files and interpreting their contents debian/source/0000755000000000000000000000000011501121051010451 5ustar debian/source/format0000644000000000000000000000001411501102260011660 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011501121051010600 5ustar debian/patches/series0000644000000000000000000000003611501102366012024 0ustar 10_remove_version_check.patch debian/patches/10_remove_version_check.patch0000644000000000000000000000114311501102513016321 0ustar Index: python-pdftools-0.37/pdftools/pdfdefs.py =================================================================== --- python-pdftools-0.37.orig/pdftools/pdfdefs.py 2010-12-12 09:17:29.415507405 +0100 +++ python-pdftools-0.37/pdftools/pdfdefs.py 2010-12-12 09:18:07.032006935 +0100 @@ -300,13 +300,7 @@ raise IndexError, "string index out of range" return data - - if sys.version_info < 2.0: - - def __getslice__(self, i, j): - - return self[max(0, i):max(0, j):] - + def __len__(self): offset = self.file.tell()