[Python-modules-commits] r10581 - in packages/urwid/trunk/debian (7 files)

wardi-guest at users.alioth.debian.org wardi-guest at users.alioth.debian.org
Tue Nov 24 21:04:32 UTC 2009


    Date: Tuesday, November 24, 2009 @ 21:04:08
  Author: wardi-guest
Revision: 10581

* fix for failing doctest under powerpc
* add palette_test.py to examples (new example program)

Added:
  packages/urwid/trunk/debian/patches/
  packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff
  packages/urwid/trunk/debian/patches/series
Modified:
  packages/urwid/trunk/debian/changelog
  packages/urwid/trunk/debian/control
  packages/urwid/trunk/debian/examples
  packages/urwid/trunk/debian/rules

Modified: packages/urwid/trunk/debian/changelog
===================================================================
--- packages/urwid/trunk/debian/changelog	2009-11-24 20:46:48 UTC (rev 10580)
+++ packages/urwid/trunk/debian/changelog	2009-11-24 21:04:08 UTC (rev 10581)
@@ -1,3 +1,10 @@
+urwid (0.9.9-2) unstable; urgency=low
+
+  * fix for failing doctest under powerpc
+  * add palette_test.py to examples (new example program)
+
+ -- Ian Ward <ian at excess.org>  Tue, 24 Nov 2009 20:58:49 +0000
+
 urwid (0.9.9-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/urwid/trunk/debian/control
===================================================================
--- packages/urwid/trunk/debian/control	2009-11-24 20:46:48 UTC (rev 10580)
+++ packages/urwid/trunk/debian/control	2009-11-24 21:04:08 UTC (rev 10581)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Gustavo Franco <stratus at debian.org>, Ian Ward <ian at excess.org>
-Build-Depends: python-support (>= 0.6.4), debhelper (>= 5.0.37.2), cdbs (>= 0.4.41), python (>= 2.3.5-7), python-setuptools (>= 0.6b3), python-all-dev, python-templayer, python-gobject, python-twisted
+Build-Depends: python-support (>= 0.6.4), debhelper (>= 5.0.37.2), cdbs (>= 0.4.41), python (>= 2.3.5-7), python-setuptools (>= 0.6b3), python-all-dev, python-templayer, python-gobject, python-twisted, quilt
 Standards-Version: 3.8.3
 Homepage: http://excess.org/urwid/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/urwid/trunk/

Modified: packages/urwid/trunk/debian/examples
===================================================================
--- packages/urwid/trunk/debian/examples	2009-11-24 20:46:48 UTC (rev 10580)
+++ packages/urwid/trunk/debian/examples	2009-11-24 21:04:08 UTC (rev 10581)
@@ -7,3 +7,4 @@
 tour.py
 graph.py
 bigtext.py
+palette_test.py

Added: packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff
===================================================================
--- packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff	                        (rev 0)
+++ packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff	2009-11-24 21:04:08 UTC (rev 10581)
@@ -0,0 +1,38 @@
+
+# HG changeset patch
+# User Ian Ward
+# Date 1259086756 18000
+# Node ID 733cb2e091115b3f6fda0bf661405ae88cdf1e63
+# Parent  948d0ddf35b79d649b4dc4c20bf24175b787a51d
+normalize split_repr display of dictionary values, fixes AttrWrap doctests
+
+--- a/urwid/split_repr.py	Tue Nov 24 12:32:51 2009 -0500
++++ b/urwid/split_repr.py	Tue Nov 24 13:19:16 2009 -0500
+@@ -54,8 +54,25 @@
+     if words and alist: words.append("")
+     return "<%s %s>" % (self.__class__.__name__,
+         " ".join(words) +
+-        " ".join(["%s=%r" % (k,v) for k,v in alist]))
++        " ".join(["%s=%s" % (k,normalize_repr(v)) for k,v in alist]))
+     
++def normalize_repr(v):
++    """
++    Return dictionary repr sorted by keys, leave others unchanged
++
++    >>> normalize_repr({1:2,3:4,5:6,7:8})
++    '{1: 2, 3: 4, 5: 6, 7: 8}'
++    >>> normalize_repr('foo')
++    "'foo'"
++    """
++    if isinstance(v, dict):
++        items = v.items()
++        items.sort()
++        return "{" + ", ".join([
++            repr(k) + ": " + repr(v) for k, v in items]) + "}"
++
++    return repr(v)
++
+     
+ def remove_defaults(d, fn):
+     """
+

Added: packages/urwid/trunk/debian/patches/series
===================================================================
--- packages/urwid/trunk/debian/patches/series	                        (rev 0)
+++ packages/urwid/trunk/debian/patches/series	2009-11-24 21:04:08 UTC (rev 10581)
@@ -0,0 +1 @@
+733cb2e09111_fix_attrwrap_doctests.diff

Modified: packages/urwid/trunk/debian/rules
===================================================================
--- packages/urwid/trunk/debian/rules	2009-11-24 20:46:48 UTC (rev 10580)
+++ packages/urwid/trunk/debian/rules	2009-11-24 21:04:08 UTC (rev 10581)
@@ -5,6 +5,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 DEB_INSTALL_CHANGELOGS_ALL=CHANGELOG
 include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 build/python-urwid:: build-docs-test-stamp
 build-docs-test-stamp:




More information about the Python-modules-commits mailing list