--- pydb-1.23.orig/debian/copyright +++ pydb-1.23/debian/copyright @@ -0,0 +1,29 @@ +The original pydb package was debianized by Gregor Hoffleit + on Sun, 22 Aug 1999 23:02:50 +0200. + +It was downloaded from the now defunct http://daikon.tuc.noao.edu/python/ + +The original upstream author: Richard Wolff + +Current maintainer since 2005-08-23: Oleksandr Moskalenko + +Current upstream source is downloaded from http://bashdb.sourceforge.net/pydb/ + +Current upstream author: Rocky Bernstein + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program 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 General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 51 Franklin +Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems the full text of the latest General Public License (GPL) can +be found at /usr/share/common-licenses/GPL --- pydb-1.23.orig/debian/changelog +++ pydb-1.23/debian/changelog @@ -0,0 +1,200 @@ +pydb (1.23-1) unstable; urgency=low + + * New upstream release. + + -- Oleksandr Moskalenko Wed, 02 Jul 2008 13:31:28 -0600 + +pydb (1.22-3) unstable; urgency=low + + * debian/control: fix the short description field (Closes #441230). + + -- Oleksandr Moskalenko Fri, 07 Sep 2007 13:32:36 -0600 + +pydb (1.22-2) unstable; urgency=low + + * Fix emacsen-install (Closes: #421298). Thanks to Luis Rodrigo Gallardo + Cruz for the suggestion. + + -- Oleksandr Moskalenko Mon, 16 Apr 2007 17:04:06 -0600 + +pydb (1.22-1) unstable; urgency=low + + * New upstream release. + * debian/watch: Added a watch file. + + -- Oleksandr Moskalenko Mon, 16 Apr 2007 13:07:36 -0600 + +pydb (1.20-2) unstable; urgency=low + + * debian/control: + - Joined the Debian Python Modules Team, so added + to Uploaders. + - Added XS-Vcs-Svn and XS-Vcs-Browser control fields. + + -- Oleksandr Moskalenko Wed, 31 Jan 2007 13:10:57 -0700 + +pydb (1.20-1) unstable; urgency=low + + * New bugfix upstream release on Dec 10th. + * debian/control: Added emacsen-common to the depends to be able to install + emacs mode. + * debian/pydb.dirs: Added a line for usr/share/emacs/site-lisp/pydb. + * Added debian/pydb.install file. + * debian/pydb.install: Added a line to install the pydb.el file. + * Added and modified debian/ emacsen-install, emacsen-remove, + emacsen-startup files (Closes: #399944). + + -- Oleksandr Moskalenko Sun, 10 Dec 2006 19:44:03 -0700 + +pydb (1.19-1) unstable; urgency=low + + * New upstream release on Oct 26th. + * debian/control: Removed python from "Depends" as ${python:Depends} takes + care of that. + + -- Oleksandr Moskalenko Fri, 27 Oct 2006 11:31:21 -0600 + +pydb (1.18-1) unstable; urgency=low + + * New upstream release. + * debian/rules: Updated the sed rule that fixes the path to the pydb.doc + in the man page as the upstream fixed pdb.doc --> pydb.doc. + + -- Oleksandr Moskalenko Tue, 3 Oct 2006 18:11:48 -0600 + +pydb (1.17-1) unstable; urgency=low + + * New upstream release on July 29th, 2006. Pydb is now developed by Rocky + Bernstein . See http://bashdb.sourceforge.net/pydb/ for + more information on how it differs from the old (1.01) pydb. + * debian/README.Debian: Added a note from the new upstream author explaining + the pydb evolution to the present day. + * debian/copyright: Updated the copyright file to reflect the switch to new + upstream and new license GPLv2. + * debian/control: + + Updated Standards-Version to 3.7.2. + + Added a dependency on python-support (>= 0.4) per new + python policy. + + Removed version from the ddd suggests (>= 3.0-5). + + Changed build-depends-indep to build-depends per linda warning. + * debian/rules: + + Call dh_pysupport instead of dh_python per new python policy. + + Added a "DEBIAN_DIR" variable. + + Added a dh_clean rule to the build-stamp target. + + Added the build commands - ./configure, make, make install to teh + build-stamp target. + + Added DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE variable expansion. + + Added rules for setting CFLAGS + + Remove configure generated files in the clean target. + * debian/pydb.1: Switched to the upstream manpage. + + -- Oleksandr Moskalenko Wed, 16 Aug 2006 19:26:50 -0600 + +pydb (1.01-10) unstable; urgency=low + + * debian/compat: Changed compatibility level to 5, the latest. + * debian/control: Updated debhelper dependency to reflect the new + compatibility level. + * debian/control: Changed the maintainer email to ...debian.org. + + -- Oleksandr Moskalenko Tue, 10 Jan 2006 09:08:02 -0700 + +pydb (1.01-9) unstable; urgency=low + + * New maintainer (Closes: #312850). Thanks to Gregor Hofleit and NMU + uploaders for their work. + * Acknowledge NMUs (Closes: #190662, #213878, #211787). + * debian/control: Updated Standards-Version to 3.6.2. + * debian/control: Changed Maintainer to my own name. + * debian/compat: Added this file to set the DH_COMPAT level to 4. + * debian/rules: Removed unnecessary comments. + * debian/rules: Fixed build-time installation paths from debian/tmp to + debian/pydb. + * debian/pydb.1: Updated the location of pdb.doc. + * debian/rules: Use dh_installman instead of the deprecated + dh_installmanpages for man page installation. + * pydb.py: Updated the file directly instead of patching it as there is no + upstream anymore (Closes: #213214). + + -- Oleksandr Moskalenko Tue, 23 Aug 2005 23:00:43 -0600 + +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 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 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.23.orig/debian/emacsen-remove +++ pydb-1.23/debian/emacsen-remove @@ -0,0 +1,16 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/pydb + +FLAVOR=$1 +PACKAGE=pydb + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} \ + /usr/share/info/${PACKAGE}.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- pydb-1.23.orig/debian/control +++ pydb-1.23/debian/control @@ -0,0 +1,18 @@ +Source: pydb +Section: devel +Priority: optional +Maintainer: Oleksandr Moskalenko +Uploaders: Debian Python Modules Team +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 5), python-support (>= 0.4) +XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/pydb/trunk/ +XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/?op=log + +Package: pydb +Architecture: all +Depends: ${python:Depends}, emacsen-common +Suggests: ddd +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.23.orig/debian/README.Debian +++ pydb-1.23/debian/README.Debian @@ -0,0 +1,17 @@ +pydb for Debian +--------------- + +pydb is under a new management! As its new developer Rocky Bernstein wrote: + +A little about pydb development. Active development on Pydb stopped sometime +around 2000. Richard Wolff who was working on that and the python debugger as +a parallel (not unified) efforts has retired. About the begining of 2006 I +wanted to add a restart to the stock python debugger, pdb. With Richard +Wolff's blessing, I took over the name pydb. Since then I've merged in +improvements that had gone on in pdb with those in pydb that were not in pdb +(in particular display expressions). And many new things have been added +guided by the gdb interface. The next release of ddd will no longer distribute +a version of the 1999 pydb, but will use the pydb that is now maintained +outside of ddd. (And of course, ddd also benefits from the new features added +to pydb.) + --- pydb-1.23.orig/debian/watch +++ pydb-1.23/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/bashdb/pydb-(.*)\.tar\.gz --- pydb-1.23.orig/debian/compat +++ pydb-1.23/debian/compat @@ -0,0 +1 @@ +5 --- pydb-1.23.orig/debian/rules +++ pydb-1.23/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 +DEBIAN_DIR = $(shell pwd)/debian +PACKAGE = pydb +PYTHON_VER = 2.4 +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +OPT_FLAG = -O0 +endif + +CFLAGS="$(OPT_FLAG)" + +build: build-stamp +build-stamp: + dh_testdir + dh_clean + ./configure \ + --prefix=$(CURDIR)/debian/$(PACKAGE)/usr \ + --with-site-packages=$(CURDIR)/debian/$(PACKAGE)/usr/lib/python$(PYTHON_VER)/site-packages + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp install-stamp config.status config.log + dh_clean + +install: install-stamp +install-stamp: build-stamp + dh_testroot + dh_installdirs + dh_install + $(MAKE) install + rm -rf $(DEBIAN_DIR)/$(PACKAGE)/usr/man + rm -f $(DEBIAN_DIR)/$(PACKAGE)/usr/bin/pydb + sed -i 's:^.*site-packages/pydb.doc:/usr/share/python-support/pydb/pydb/pydb.doc and:' Doc/pydb.1 + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installemacsen + dh_installmenu + dh_installman Doc/pydb.1 + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_pysupport + dh_link + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- pydb-1.23.orig/debian/emacsen-startup +++ pydb-1.23/debian/emacsen-startup @@ -0,0 +1,20 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian pydb package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The bashdb package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(unless (eq flavor 'emacs20) + (let ((package-dir (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/pydb"))) + (when (file-directory-p package-dir) + (setq load-path (cons package-dir load-path)))) + (autoload 'pydb "pydb" "Run the python debugger." t)) --- pydb-1.23.orig/debian/menu +++ pydb-1.23/debian/menu @@ -0,0 +1 @@ +?package(pydb):needs="text" title="pydb" section="Apps/Programming" command="/usr/bin/pydb" hints="Debuggers" --- pydb-1.23.orig/debian/pydb.1 +++ pydb-1.23/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.3/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.23.orig/debian/emacsen-install +++ pydb-1.23/debian/emacsen-install @@ -0,0 +1,57 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/pydb + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=pydb + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +# pydb's gud.el doesn't support emacs20 +if [ ${FLAVOR} = emacs20 ]; then exit 0; fi + +FILES="pydb.el" + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +FLAVORTEST=`echo $FLAVOR | cut -c-6` +if [ ${FLAVORTEST} = xemacs ] ; then + SITEFLAG="-no-site-file" +else + SITEFLAG="--no-site-file" +fi +FLAGS="${SITEFLAG} -q -batch -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} \ + /usr/share/info/${PACKAGE}.info.gz +fi + +if [ ${FLAVOR} != emacs ]; then + + [ -d ${ELCDIR} ] || install -m 755 -d ${ELCDIR} + + # Copy the .el file to flavor site-lisp directory + (cd ${ELDIR}; cp ${FILES} ${ELCDIR}) + + # Bite compile it + (cd ${ELCDIR}; ${FLAVOR} ${FLAGS} ${FILES} 2> /dev/null ) + echo `pwd` + (cd ${ELCDIR}; for f in ${FILES}; do if [ ! -f ${f}c ]; then echo "Failed $f"; fi; done ) + + # Remove the redundant .el files - presumes that any .el files in the + # dir are redundant. + (cd ${ELCDIR}; rm -f ${FILES} ) + +fi + +exit 0 --- pydb-1.23.orig/debian/pydb.links +++ pydb-1.23/debian/pydb.links @@ -0,0 +1 @@ +usr/share/python-support/pydb/pydb/pydb.py usr/bin/pydb --- pydb-1.23.orig/debian/pydb.dirs +++ pydb-1.23/debian/pydb.dirs @@ -0,0 +1,3 @@ +usr/bin/ +usr/share/man/man1 +usr/share/emacs/site-lisp/pydb --- pydb-1.23.orig/debian/pydb.install +++ pydb-1.23/debian/pydb.install @@ -0,0 +1 @@ +emacs/pydb.el usr/share/emacs/site-lisp/pydb