Package: pydb
Version: 1.26-2
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch zesty

Hello,

In https://launchpad.net/bugs/1537938 it was reported that pydb
suggests an outdated emacs version (22). Jeff submitted a patch for
this (attached).

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
diff -Naur pydb-1.26/debian/changelog pydb-next/debian/changelog
--- pydb-1.26/debian/changelog	2015-12-11 17:09:31.000000000 -0500
+++ pydb-next/debian/changelog	2016-10-18 20:56:24.223941838 -0400
@@ -1,3 +1,10 @@
+pydb (1.26-2ubuntu1) yakkety; urgency=low
+
+  * changed emacs to actually available emacs
+  * nmu update
+
+ -- Jeff Cliff <jeffrey.cl...@gmail.com>  Tue, 17 Oct 2016 12:00:00 +0600
+
 pydb (1.26-2) unstable; urgency=low
 
   * Team Upload
diff -Naur pydb-1.26/debian/control pydb-next/debian/control
--- pydb-1.26/debian/control	2015-12-11 17:04:05.000000000 -0500
+++ pydb-next/debian/control	2016-10-18 20:54:53.073612427 -0400
@@ -13,7 +13,7 @@
 Package: pydb
 Architecture: all
 Depends: ${python:Depends}
-Suggests: ddd, emacs22
+Suggests: ddd, emacs25
 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
diff -Naur pydb-1.26/debian/pydb.emacsen-remove pydb-next/debian/pydb.emacsen-remove
--- pydb-1.26/debian/pydb.emacsen-remove	2015-12-11 16:40:06.000000000 -0500
+++ pydb-next/debian/pydb.emacsen-remove	2016-10-18 20:54:40.865300218 -0400
@@ -3,8 +3,23 @@
 
 FLAVOR=$1
 PACKAGE=pydb
+EMACS=no
+
+if [ ${FLAVOR} = emacs22 ] ; then
+	EMACS="yes"
+fi
+if [ ${FLAVOR} = emacs23 ] ; then
+	EMACS="yes"
+fi
+if [ ${FLAVOR} = emacs24 ] ; then
+	EMACS="yes"
+fi
+if [ ${FLAVOR} = emacs25 ] ; then
+	EMACS="yes"
+fi
+
+if [ ${EMACS} = "yes" ] ; then
 
-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
@@ -12,4 +27,5 @@
 
     echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
     rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
 fi

Reply via email to