pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43104: Update to py-urwid

>Number:         43104
>Category:       pkg
>Synopsis:       Update to py-urwid
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 02 11:45:00 +0000 2010
>Originator:     Derouiche
>Release:        NetBSD 5.0.2
Algerie Motors Company
NetBSD Khaarasan 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 2010
$ diff -ruN Makfile.orig Makefile
--- Makfile.orig        1970-01-01 00:00:00.000000000 +0000
+++ Makefile    2010-04-02 12:17:06.000000000 +0000
@@ -0,0 +1,44 @@
+# $NetBSD$
+DISTNAME=      urwid-
+CATEGORIES=    devel
+COMMENT=       Curses-based Python user interface library
+LICENSE=       gnu-lgpl-v3
+PKG_DESTDIR_SUPPORT=   user-destdir
+DEPENDS+=      ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
+REPLACE_PYTHON=        *.py */*.py
+                                      \
+                                      \
+                                      \
+                                      \
+                                      \
+                                      \
+                                      \
+                                      \
+DOCDIR=        ${PREFIX}/share/doc/py-urwid
+EGDIR= ${PREFIX}/share/examples/py-urwid
+       ${INSTALL_DATA} ${WRKSRC}/tutorial.html         ${DESTDIR}${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/reference.html ${DESTDIR}${DOCDIR}
+.include "../../lang/python/"
+.include "../../lang/python/"
+.include "../../mk/"

$ diff -ruN Makfile.orig PLIST   
--- Makfile.orig        1970-01-01 00:00:00.000000000 +0000
+++ PLIST       2010-04-02 12:19:25.000000000 +0000
@@ -0,0 +1,88 @@
+@comment $NetBSD$

     o added documentation and example
     o use setuptools


    * Fix for ListBox snapping to selectable widgets taller than the
      ListBox itself

    * raw_display switching to alternate buffer now works properly with

    * Fix for BoxAdapter backwards incompatibility introduced in 0.9.9

    * Fix for a doctest failure under powerpc

    * Fix for systems with gpm_mev installed but not running gpm

Urwid 0.9.9

    * New support for 256 and 88 color terminals with raw_display
      and html_fragment display modules

    * New palette_test example program to demonstrate high color

    * New AttrSpec class for specifying specific colors instead of
      using attributes defined in the screen's palette

    * New MainLoop class ties together widgets, user input, screen
      display and one of a number of new event loops, removing the 
      need for tedious, error-prone boilerplate code

    * New GLibEventLoop allows running Urwid applications with GLib
      (makes D-Bus integration easier)

    * New TwistedEventLoop allows running Urwid with a Twisted reactor

    * Added new docstrings and doctests to many widget classes

    * New AttrMap widget supports mapping any attribute to any other
      attribute, replaces AttrWrap widget

    * New WidgetDecoration base class for AttrMap, BoxAdapter, Padding,
      Filler and LineBox widgets creates a common method for accessing 
      and updating their contained widgets

    * New left and right values may be specified in Padding widgets 

    * New command_map for specifying which keys cause actions such as
      clicking Button widgets and scrolling ListBox widgets

    * New tty_signal_keys() method of raw_display.Screen and
      curses_display.Screen allows changing or disabling the keys used
      to send signals to the application

    * Added helpful __repr__ for many widget classes

    * Updated all example programs to use MainLoop class

    * Updated tutorial with MainLoop usage and improved examples
    * Renamed WidgetWrap.w to _w, indicating its intended use as a way
      to implement a widget with other widgets, not necessarily as
      a container for other widgets

    * Replaced all tabs with 4 spaces, code is now more aerodynamic
      (and PEP 8 compliant)

    * Added saving of stdin and stdout in raw_display module allowing
      the originals to be redirected

    * Updated BigText widget's HalfBlock5x4Font

    * Fixed graph example CPU usage when animation is stopped

    * Fixed a memory leak related to objects listening for signals

    * Fixed a Popen3 deprecation warning


    * Fixed incompatibilities with Python 2.6 (by Friedrich Weber)

    * Fixed a SimpleListWalker with emptied list bug (found by Walter 
    * Fixed a curses_display stop()/start() bug (found by Christian 

    * Fixed an is_wide_character() segfault on bad input data bug
      (by Andrew Psaltis)
    * Fixed a CanvasCache with render() used in both a widget and its
      superclass bug (found by Andrew Psaltis)

    * Fixed a ListBox.ends_visible() on empty list bug (found by Marc 
    * Fixed a tutorial example bug (found by Kurtis D. Rader)

    * Fixed an Overlay.keypress() bug (found by Andreas Klöckner)

    * Fixed setuptools configuration (by Andreas Klöckner)


    * Fixed a canvas cache memory leak affecting 0.9.8, and (found by John Goodfellow)

    * Fixed a canvas fill_attr() bug (found by Joern Koerner)


    * Fixed incompatibilities with Python 2.3

    * Fixed Pile cursor pref_col bug, WidgetWrap rows caching bug, Button
      mouse_event with no callback bug, Filler body bug triggered by the


Home | Main Index | Thread Index | Old Index