[Python-modules-commits] r7392 - in packages/pydb/trunk/debian (8 files)
malex at users.alioth.debian.org
malex at users.alioth.debian.org
Mon Jan 26 23:26:15 UTC 2009
Date: Monday, January 26, 2009 @ 23:26:14
Author: malex
Revision: 7392
1.25 release
Added:
packages/pydb/trunk/debian/pydb.docs
packages/pydb/trunk/debian/pydb.emacsen-install
packages/pydb/trunk/debian/pydb.emacsen-remove
packages/pydb/trunk/debian/pydb.emacsen-startup
Modified:
packages/pydb/trunk/debian/changelog
packages/pydb/trunk/debian/control
packages/pydb/trunk/debian/patches/00list
Deleted:
packages/pydb/trunk/debian/patches/01_pydbbdb.py.dpatch
Modified: packages/pydb/trunk/debian/changelog
===================================================================
--- packages/pydb/trunk/debian/changelog 2009-01-26 20:10:07 UTC (rev 7391)
+++ packages/pydb/trunk/debian/changelog 2009-01-26 23:26:14 UTC (rev 7392)
@@ -1,9 +1,19 @@
-pydb (1.23-3) UNRELEASED; urgency=low
+pydb (1.25-1) unstable; urgency=low
+ [Sandro Tosi]
* debian/control
- switch Vcs-Browser field to viewsvn
+ [Oleksandr Moskalenko]
+ * New upstream release.
+ * debian/pydb.docs: Added upstream ChangeLog to docs (Closes: #508414).
+ * debian/{pydb.emacsen-install,pydb.emacsen-remove,pydb.emacsen-startup}:
+ Added emacse setup files again (Closes: #493190).
+ * debian/control:
+ - Changed Depends on emacsen-common to Suggests emacs22 (the only version
+ pydb.el works with).
+ - Updated standards-version and debhelper dependencies.
- -- Sandro Tosi <morph at debian.org> Mon, 03 Nov 2008 22:14:09 +0100
+ -- Oleksandr Moskalenko <malex at debian.org> Mon, 26 Jan 2009 13:44:36 -0700
pydb (1.23-2) unstable; urgency=low
Modified: packages/pydb/trunk/debian/control
===================================================================
--- packages/pydb/trunk/debian/control 2009-01-26 20:10:07 UTC (rev 7391)
+++ packages/pydb/trunk/debian/control 2009-01-26 23:26:14 UTC (rev 7392)
@@ -3,16 +3,16 @@
Priority: optional
Maintainer: Oleksandr Moskalenko <malex at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 5), python-support (>= 0.4), dpatch
+Standards-Version: 3.8.0
+Build-Depends: debhelper (>= 7), python-support (>= 0.8), dpatch
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pydb/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pydb/trunk/
Homepage: http://bashdb.sourceforge.net/pydb/
Package: pydb
Architecture: all
-Depends: ${python:Depends}, emacsen-common
-Suggests: ddd
+Depends: ${python:Depends}
+Suggests: ddd, emacs22
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
Modified: packages/pydb/trunk/debian/patches/00list
===================================================================
--- packages/pydb/trunk/debian/patches/00list 2009-01-26 20:10:07 UTC (rev 7391)
+++ packages/pydb/trunk/debian/patches/00list 2009-01-26 23:26:14 UTC (rev 7392)
@@ -1 +0,0 @@
-01_pydbbdb.py.dpatch
Deleted: packages/pydb/trunk/debian/patches/01_pydbbdb.py.dpatch
===================================================================
--- packages/pydb/trunk/debian/patches/01_pydbbdb.py.dpatch 2009-01-26 20:10:07 UTC (rev 7391)
+++ packages/pydb/trunk/debian/patches/01_pydbbdb.py.dpatch 2009-01-26 23:26:14 UTC (rev 7392)
@@ -1,34 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 01_pydbbdb.py.dpatch by Oleksandr Moskalenko <malex at debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: ipython fix
-
- at DPATCH@
-
---- pydb-1.23/pydb/pydbbdb.py 17 May 2008 10:08:33 -0000 1.44
-+++ pydbbdb.py 31 May 2008 11:49:01 -0000 1.45
-@@ -1,4 +1,4 @@
--"""$Id: pydbbdb.py,v 1.44 2008/05/17 10:08:33 rockyb Exp $
-+"""$Id: pydbbdb.py,v 1.45 2008/05/31 11:49:01 rockyb Exp $
- Routines here have to do with the subclassing of bdb. Defines Python
- debugger Basic Debugger (Bdb) class. This file could/should probably
- get merged into bdb.py
-@@ -41,8 +41,15 @@
- def __print_call_params(self, frame):
- "Show call paramaters and values"
- self.setup(frame)
-- self.msg(self.format_stack_entry(self.stack[-1],
-- include_location=False))
-+
-+ # Does sure format_stack_entry have an 'include_location' parameter?
-+ fse_code = self.format_stack_entry.func_code
-+ fse_args = fse_code.co_varnames
-+ if 'include_location' in fse_args:
-+ self.msg(self.format_stack_entry(self.stack[-1],
-+ include_location=False))
-+ else:
-+ self.msg(self.format_stack_entry(self.stack[-1]))
-
- def __print_location_if_trace(self, frame, include_fntrace=True):
- if self.linetrace or (self.fntrace and include_fntrace):
Added: packages/pydb/trunk/debian/pydb.docs
===================================================================
--- packages/pydb/trunk/debian/pydb.docs (rev 0)
+++ packages/pydb/trunk/debian/pydb.docs 2009-01-26 23:26:14 UTC (rev 7392)
@@ -0,0 +1 @@
+ChangeLog
Added: packages/pydb/trunk/debian/pydb.emacsen-install
===================================================================
--- packages/pydb/trunk/debian/pydb.emacsen-install (rev 0)
+++ packages/pydb/trunk/debian/pydb.emacsen-install 2009-01-26 23:26:14 UTC (rev 7392)
@@ -0,0 +1,37 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/pydb
+
+# Written by Jim Van Zandt <jrv at debian.org>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila at ctv.es> and octave by Dirk Eddelbuettel <edd at debian.org>.
+
+FLAVOR=$1
+PACKAGE=pydb
+
+if [ ${FLAVOR} != emacs22 ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+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
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
Added: packages/pydb/trunk/debian/pydb.emacsen-remove
===================================================================
--- packages/pydb/trunk/debian/pydb.emacsen-remove (rev 0)
+++ packages/pydb/trunk/debian/pydb.emacsen-remove 2009-01-26 23:26:14 UTC (rev 7392)
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/pydb
+
+FLAVOR=$1
+PACKAGE=pydb
+
+if [ ${FLAVOR} = emacs22 ]; 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
Added: packages/pydb/trunk/debian/pydb.emacsen-startup
===================================================================
--- packages/pydb/trunk/debian/pydb.emacsen-startup (rev 0)
+++ packages/pydb/trunk/debian/pydb.emacsen-startup 2009-01-26 23:26:14 UTC (rev 7392)
@@ -0,0 +1,23 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file, e.g. /etc/emacs/site-start.d/50pydb.el
+;; for the Debian pydb package
+;;
+;; Originally contributed by Nils Naumann <naumann at unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd at debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv at debian.org>
+
+;; The pydb 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:
+(let ((package-dir (concat "/usr/share/"
+ (symbol-name flavor)
+ "/site-lisp/pydb")))
+;; If package-dir does not exist, the pydb package must have
+;; removed but not purged, and we should skip the setup.
+ (when (file-directory-p package-dir)
+ (setq load-path (cons package-dir load-path))
+ (autoload 'pydb-mode "pydb"
+ "Interface for the pydb debugger" t)))
More information about the Python-modules-commits
mailing list