[Python-modules-commits] r1769 - in /packages/pydb/trunk: debian/ debian/README.Debian debian/changelog debian/control debian/copyright debian/menu debian/pydb.1 debian/rules pydb.py pydbcmd.py

malex at users.alioth.debian.org malex at users.alioth.debian.org
Wed Jan 31 20:49:57 CET 2007


Author: malex
Date: Wed Jan 31 20:49:57 2007
New Revision: 1769

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1769
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/pydb/trunk/debian/   (with props)
    packages/pydb/trunk/debian/README.Debian
    packages/pydb/trunk/debian/changelog
    packages/pydb/trunk/debian/control
    packages/pydb/trunk/debian/copyright
    packages/pydb/trunk/debian/menu
    packages/pydb/trunk/debian/pydb.1
    packages/pydb/trunk/debian/rules   (with props)
Modified:
    packages/pydb/trunk/pydb.py
    packages/pydb/trunk/pydbcmd.py

Propchange: packages/pydb/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/pydb/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/README.Debian?rev=1769&op=file
==============================================================================
--- packages/pydb/trunk/debian/README.Debian (added)
+++ packages/pydb/trunk/debian/README.Debian Wed Jan 31 20:49:57 2007
@@ -1,0 +1,7 @@
+
+ pydb for Debian
+ ---------------
+
+
+
+ -- Gregor Hoffleit <flight at debian.org>, Sun, 22 Aug 1999 23:02:50 +0200

Added: packages/pydb/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/changelog?rev=1769&op=file
==============================================================================
--- packages/pydb/trunk/debian/changelog (added)
+++ packages/pydb/trunk/debian/changelog Wed Jan 31 20:49:57 2007
@@ -1,0 +1,80 @@
+pydb (1.01-8.3) unstable; urgency=low
+
+  * NMU (using the prepared package from Oleksandr Moskalenko).
+  * Fix breakpoint set interaction with ddd (Closes: #190662).
+  * Quote all debian/menu entries (lintian warning)
+  * Use newer standards version (lintian warning)
+
+ -- Bastian Kleineidam <calvin at debian.org>  Wed,  9 Mar 2005 17:56:58 +0100
+
+pydb (1.01-8.2) unstable; urgency=high
+
+  * NMU.
+  * Compensate for missing debhelper dependencies, depend on python.
+    Closes: #213878.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 10 Oct 2003 08:10:31 +0200
+
+pydb (1.01-8.1) unstable; urgency=low
+
+  * NMU.
+  * Fix postinst/prerm (closes: #211787).
+
+ -- Matthias Klose <doko at debian.org>  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 <flight at debian.org>  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 <flight at debian.org>  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 <flight at debian.org>  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 <flight at debian.org>  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 <flight at debian.org>  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 <flight at debian.org>  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 <flight at debian.org>  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 <flight at debian.org>  Sun, 22 Aug 1999 23:02:50 +0200

Added: packages/pydb/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/control?rev=1769&op=file
==============================================================================
--- packages/pydb/trunk/debian/control (added)
+++ packages/pydb/trunk/debian/control Wed Jan 31 20:49:57 2007
@@ -1,0 +1,15 @@
+Source: pydb
+Section: devel
+Priority: optional
+Maintainer: Gregor Hoffleit <flight at debian.org>
+Standards-Version: 3.6.0
+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.

Added: packages/pydb/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/copyright?rev=1769&op=file
==============================================================================
--- packages/pydb/trunk/debian/copyright (added)
+++ packages/pydb/trunk/debian/copyright Wed Jan 31 20:49:57 2007
@@ -1,0 +1,74 @@
+This package was debianized by Gregor Hoffleit <flight at debian.org> on
+Sun, 22 Aug 1999 23:02:50 +0200.
+
+It was downloaded from http://daikon.tuc.noao.edu/python/.
+
+Upstream Author: Richard Wolff <rwolff at noao.edu>
+
+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 at noao.edu (Richard Wolff)
+  Message-Id: <199908222258.PAA06590 at daikon.tuc.noao.edu>
+  To: flight at 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.

Added: packages/pydb/trunk/debian/menu
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/menu?rev=1769&op=file
==============================================================================
--- packages/pydb/trunk/debian/menu (added)
+++ packages/pydb/trunk/debian/menu Wed Jan 31 20:49:57 2007
@@ -1,0 +1,1 @@
+?package(pydb):needs="text" title="pydb" section="Apps/Programming" command="/usr/bin/pydb" hints="Debuggers"

Added: packages/pydb/trunk/debian/pydb.1
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/pydb.1?rev=1769&op=file
==============================================================================
--- packages/pydb/trunk/debian/pydb.1 (added)
+++ packages/pydb/trunk/debian/pydb.1 Wed Jan 31 20:49:57 2007
@@ -1,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 <rwolff at noao.edu> based on the standard
+Python debugger pdb.py.
+This manual page was written by Gregor Hoffleit <flight at debian.org>
+for the Debian project (but may be used by others).

Added: packages/pydb/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/rules?rev=1769&op=file
==============================================================================
--- packages/pydb/trunk/debian/rules (added)
+++ packages/pydb/trunk/debian/rules Wed Jan 31 20:49:57 2007
@@ -1,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.3/site-packages
+
+	install pydb.py debian/tmp/usr/bin/pydb
+	install -m644 pydbcmd.py pydbsupt.py debian/tmp/usr/lib/python2.3/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

Propchange: packages/pydb/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/pydb/trunk/pydb.py
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/pydb.py?rev=1769&op=diff
==============================================================================
--- packages/pydb/trunk/pydb.py (original)
+++ packages/pydb/trunk/pydb.py Wed Jan 31 20:49:57 2007
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/python
 
 # pydb.py -- a Python debugger!
 # Modified original pdb.py
@@ -128,6 +128,7 @@
 
     # Override Bdb (note number of args is different)
     def set_break(self, filename, lineno, temporary=0):
+        filename = self.canonic(filename)  # changed per RW
         import linecache # Import as late as possible
         line = linecache.getline(filename, lineno)
         if not line:
@@ -143,6 +144,7 @@
     # Override Bdb
     def break_here(self, frame):
         filename=frame.f_code.co_filename
+        filename = self.canonic(filename)  # changed per RW
         if not self.breaks.has_key(filename):
             return 0
         lineno=frame.f_lineno
@@ -326,7 +328,7 @@
             for i in numberlist:
                 number = int(i)
                 bp = Breakpoint.bpbynumber[number]
-                filename = bp.file
+                filename = self.canonic(bp.file)  # added per RW
                 lineno = bp.line
                 if not self.breaks.has_key(filename):
                     return 'There are no breakpoints in that file!'

Modified: packages/pydb/trunk/pydbcmd.py
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/pydbcmd.py?rev=1769&op=diff
==============================================================================
--- packages/pydb/trunk/pydbcmd.py (original)
+++ packages/pydb/trunk/pydbcmd.py Wed Jan 31 20:49:57 2007
@@ -67,8 +67,7 @@
                 return
             func()
         else:
-            import newdir
-            names = newdir.dir(self.__class__)
+            names = dir(self.__class__)
             cmds_doc = []
             cmds_undoc = []
             help = {}




More information about the Python-modules-commits mailing list