--- pydb-1.01.orig/pydb.py +++ pydb-1.01/pydb.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python # pydb.py -- a Python debugger! # Modified original pdb.py --- pydb-1.01.orig/pydbcmd.py +++ pydb-1.01/pydbcmd.py @@ -67,8 +67,7 @@ return func() else: - import newdir - names = newdir.dir(self.__class__) + names = dir(self.__class__) cmds_doc = [] cmds_undoc = [] help = {} --- pydb-1.01.orig/debian/menu +++ pydb-1.01/debian/menu @@ -0,0 +1 @@ +?package(pydb):needs=text title="pydb" section="Apps/Programming" command="/usr/bin/pydb" hints="Debuggers" --- pydb-1.01.orig/debian/control +++ pydb-1.01/debian/control @@ -0,0 +1,15 @@ +Source: pydb +Section: devel +Priority: optional +Maintainer: Gregor Hoffleit +Standards-Version: 3.6.1.1 +Build-Depends-Indep: debhelper (>= 4.1.67), python + +Package: pydb +Architecture: all +Depends: ${python:Depends} +Suggests: ddd (>= 3.0-5) +Description: An enhanced Python command-line debugger + Pydb is a command-line debugger for Python. It is based on the standard Python + debugger pdb, but has a number of added features. Particularly, it is suitable + for use with DDD, a graphical debugger front end. --- pydb-1.01.orig/debian/pydb.1 +++ pydb-1.01/debian/pydb.1 @@ -0,0 +1,22 @@ +.TH pydb 1 +.SH NAME +pydb \- enhanced Python debugger +.SH SYNOPSIS +.B pydb +.SH "DESCRIPTION" +This manual page documents briefly the +.BR pydb +command. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +.PP +.B pydb +is an enhanced debugger for Python. It extends the Python standard +debugger pdb and is suited for use with the graphical debugger DDD. +.SH "SEE ALSO" +/usr/lib/python2.2/pdb.doc +.SH AUTHOR +pydb was written by Richard Wolff based on the standard +Python debugger pdb.py. +This manual page was written by Gregor Hoffleit +for the Debian project (but may be used by others). --- pydb-1.01.orig/debian/rules +++ pydb-1.01/debian/rules @@ -0,0 +1,71 @@ +#!/usr/bin/make -f +#-*- makefile -*- +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Christoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + + #$(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp + + # Add here commands to clean up after the build process. + + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs /usr/bin /usr/lib/python2.4/site-packages + + install pydb.py debian/tmp/usr/bin/pydb + install -m644 pydbcmd.py pydbsupt.py debian/tmp/usr/lib/python2.4/site-packages + + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installdocs Release Notes + dh_installexamples + dh_installmenu + dh_installmanpages +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + # You may want to make some executables suid here + dh_python + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- pydb-1.01.orig/debian/changelog +++ pydb-1.01/debian/changelog @@ -0,0 +1,79 @@ +pydb (1.01-8.2ubuntu1) hoary; urgency=low + + * Rebuild for python2.4 + - debian/rules uses python2.4 + * Standards Version 3.5.7 -> 3.6.1.1 + + -- Charles Majola Fri, 18 Mar 2005 11:54:58 +0200 + +pydb (1.01-8.2) unstable; urgency=high + + * NMU. + * Compensate for missing debhelper dependencies, depend on python. + Closes: #213878. + + -- Matthias Klose Fri, 10 Oct 2003 08:10:31 +0200 + +pydb (1.01-8.1) unstable; urgency=low + + * NMU. + * Fix postinst/prerm (closes: #211787). + + -- Matthias Klose Sun, 28 Sep 2003 13:39:02 +0200 + +pydb (1.01-8) unstable; urgency=low + + * Make the package now use Python 2.3, which is the new default (closes: + #205309). + + -- Gregor Hoffleit Tue, 2 Sep 2003 19:27:44 +0200 + +pydb (1.01-7) unstable; urgency=low + + * Make the package use Python 2.2 (closes: #140810, #161553). + + -- Gregor Hoffleit Tue, 24 Sep 2002 14:39:02 +0200 + +pydb (1.01-6) unstable; urgency=low + + * Fix manpage (point to /usr/lib/python2.1/pdb.doc). + + -- Gregor Hoffleit Sun, 14 Apr 2002 13:44:55 +0200 + +pydb (1.01-5) unstable; urgency=low + + * Remove python1.5ism in postinst script (closes: #133520). + + -- Gregor Hoffleit Tue, 12 Feb 2002 19:21:49 +0100 + +pydb (1.01-4) unstable; urgency=high + + * Remove use of newdir, which is obsolete since Python 1.5 (apply a patch + from ddd/pydb) (closes: #127408). + * Make the package use Python 2.1. + + -- Gregor Hoffleit Thu, 24 Jan 2002 15:18:00 +0100 + +pydb (1.01-3) unstable; urgency=low + + * Repackaged to depend on python1.5 (closes: #119203). + + -- Gregor Hoffleit Thu, 13 Dec 2001 15:42:54 +0100 + +pydb (1.01-2) unstable; urgency=low + + * Updated package for policy 3.1.1: + - FHS transition of docs + - Build-Depends + (closes: #80319). + * Added hint to the menu file (closes: #80244). + + -- Gregor Hoffleit Mon, 25 Dec 2000 22:41:32 +0100 + +pydb (1.01-1) unstable; urgency=low + + * Initial Release. + * pydbcmd.py: Included functions from newdir.py, which is no + longer included in Python. + + -- Gregor Hoffleit Sun, 22 Aug 1999 23:02:50 +0200 --- pydb-1.01.orig/debian/README.Debian +++ pydb-1.01/debian/README.Debian @@ -0,0 +1,7 @@ + + pydb for Debian + --------------- + + + + -- Gregor Hoffleit , Sun, 22 Aug 1999 23:02:50 +0200 --- pydb-1.01.orig/debian/copyright +++ pydb-1.01/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Gregor Hoffleit on +Sun, 22 Aug 1999 23:02:50 +0200. + +It was downloaded from http://daikon.tuc.noao.edu/python/. + +Upstream Author: Richard Wolff + +Copyright: + +pydb.py is based on pdb.py, which is distributed with Python. The Python +license is included below. According to the author of the modifications, +his modifications and additions are also relased under the terms of the +Python license. I think this will be clarified in one of the next +releases: + + Date: Sun, 22 Aug 1999 15:58:03 -0700 (MST) + From: rwolff@noao.edu (Richard Wolff) + Message-Id: <199908222258.PAA06590@daikon.tuc.noao.edu> + To: flight@mathi.uni-heidelberg.de + Subject: Re: pydb license ? + X-Sun-Charset: US-ASCII + Status: RO + Content-Length: 432 + Lines: 11 + + I am completely ignorant of all the real ins-and-outs of the world of + licensing. So I'm not sure what verbiage is really appropriate. However, + I've added a "License" file to my Python directory at my site that says + + All pydb code is released under the same terms and conditions as the + Python license. + + If that's all you need, fine. If there's more, you'll probably have to tell + me what to write and where to put it. + + Richard + + + +The license of the Python source is as follows: +---------------------------------------------- + + +The Python source is copyrighted, but you can freely use and copy it +as long as you don't change or remove the copyright notice: + +---------------------------------------------------------------------- +Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam, +The Netherlands. + + All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the names of Stichting Mathematisch +Centrum or CWI or Corporation for National Research Initiatives or +CNRI not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior +permission. + +While CWI is the initial source for this software, a modified version +is made available by the Corporation for National Research Initiatives +(CNRI) at the Internet address ftp://ftp.python.org. + +STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH +CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL +DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR +PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE.