pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-urwid update devel/py-urwid to 0.9.9.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e4fc52ede51
branches: trunk
changeset: 576555:7e4fc52ede51
user: tonio <tonio%pkgsrc.org@localhost>
date: Mon Jun 14 17:54:16 2010 +0000
description:
update devel/py-urwid to 0.9.9.1
Fix PR pkg/43104
pkgsrc-changes:
o added documentation and example
o use setuptools
Changelog
- Urwid 0.9.9.1
* Fix for ListBox snapping to selectable widgets taller than the
ListBox itself
* raw_display switching to alternate buffer now works properly with
Terminal.app
* 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
modes
* 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
- Urwid 0.9.8.4
* Fixed incompatibilities with Python 2.6 (by Friedrich Weber)
* Fixed a SimpleListWalker with emptied list bug (found by Walter
Mundt)
* Fixed a curses_display stop()/start() bug (found by Christian
Scharkus)
* 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
Hartstein)
* 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)
- Urwid 0.9.8.3
* Fixed a canvas cache memory leak affecting 0.9.8, 0.9.8.1 and
0.9.8.2 (found by John Goodfellow)
* Fixed a canvas fill_attr() bug (found by Joern Koerner)
- Urwid 0.9.8.2
* 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
diffstat:
devel/py-urwid/Makefile | 27 ++++++++++++++++++++++++---
devel/py-urwid/PLIST | 44 +++++++++++++++++++++++++++++++++++++++++++-
devel/py-urwid/distinfo | 8 ++++----
3 files changed, 71 insertions(+), 8 deletions(-)
diffs (135 lines):
diff -r 28ecc71ba2ef -r 7e4fc52ede51 devel/py-urwid/Makefile
--- a/devel/py-urwid/Makefile Mon Jun 14 16:53:39 2010 +0000
+++ b/devel/py-urwid/Makefile Mon Jun 14 17:54:16 2010 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:29 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2010/06/14 17:54:16 tonio Exp $
-DISTNAME= urwid-0.9.8.1
+DISTNAME= urwid-0.9.9.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://excess.org/urwid/
@@ -14,9 +14,30 @@
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
PYDISTUTILSPKG= yes
-PYTHON_VERSIONS_ACCEPTED= 25 24
+PYTHON_VERSIONS_ACCEPTED= 26 25 24
REPLACE_PYTHON= *.py */*.py
+FILESEXAMPLES= bigtext.py \
+ browse.py \
+ calc.py \
+ dialog.py \
+ edit.py \
+ fib.py \
+ graph.py \
+ input_test.py \
+ test_urwid.py \
+ tour.py
+
+DOCDIR= ${PREFIX}/share/doc/py-urwid
+EGDIR= ${PREFIX}/share/examples/py-urwid
+
+INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/tutorial.html ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/reference.html ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${FILESEXAMPLES:S,^,${WRKSRC}/,} ${DESTDIR}${EGDIR}
+
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 28ecc71ba2ef -r 7e4fc52ede51 devel/py-urwid/PLIST
--- a/devel/py-urwid/PLIST Mon Jun 14 16:53:39 2010 +0000
+++ b/devel/py-urwid/PLIST Mon Jun 14 17:54:16 2010 +0000
@@ -1,13 +1,25 @@
-@comment $NetBSD: PLIST,v 1.5 2009/06/14 17:49:06 joerg Exp $
+@comment $NetBSD: PLIST,v 1.6 2010/06/14 17:54:16 tonio Exp $
${PYSITELIB}/urwid/__init__.py
${PYSITELIB}/urwid/__init__.pyc
${PYSITELIB}/urwid/__init__.pyo
${PYSITELIB}/urwid/canvas.py
${PYSITELIB}/urwid/canvas.pyc
${PYSITELIB}/urwid/canvas.pyo
+${PYSITELIB}/urwid/command_map.py
+${PYSITELIB}/urwid/command_map.pyc
+${PYSITELIB}/urwid/command_map.pyo
+${PYSITELIB}/urwid/container.py
+${PYSITELIB}/urwid/container.pyc
+${PYSITELIB}/urwid/container.pyo
${PYSITELIB}/urwid/curses_display.py
${PYSITELIB}/urwid/curses_display.pyc
${PYSITELIB}/urwid/curses_display.pyo
+${PYSITELIB}/urwid/decoration.py
+${PYSITELIB}/urwid/decoration.pyc
+${PYSITELIB}/urwid/decoration.pyo
+${PYSITELIB}/urwid/display_common.py
+${PYSITELIB}/urwid/display_common.pyc
+${PYSITELIB}/urwid/display_common.pyo
${PYSITELIB}/urwid/escape.py
${PYSITELIB}/urwid/escape.pyc
${PYSITELIB}/urwid/escape.pyo
@@ -23,13 +35,28 @@
${PYSITELIB}/urwid/listbox.py
${PYSITELIB}/urwid/listbox.pyc
${PYSITELIB}/urwid/listbox.pyo
+${PYSITELIB}/urwid/main_loop.py
+${PYSITELIB}/urwid/main_loop.pyc
+${PYSITELIB}/urwid/main_loop.pyo
+${PYSITELIB}/urwid/monitored_list.py
+${PYSITELIB}/urwid/monitored_list.pyc
+${PYSITELIB}/urwid/monitored_list.pyo
${PYSITELIB}/urwid/old_str_util.py
${PYSITELIB}/urwid/old_str_util.pyc
${PYSITELIB}/urwid/old_str_util.pyo
${PYSITELIB}/urwid/raw_display.py
${PYSITELIB}/urwid/raw_display.pyc
${PYSITELIB}/urwid/raw_display.pyo
+${PYSITELIB}/urwid/signals.py
+${PYSITELIB}/urwid/signals.pyc
+${PYSITELIB}/urwid/signals.pyo
+${PYSITELIB}/urwid/split_repr.py
+${PYSITELIB}/urwid/split_repr.pyc
+${PYSITELIB}/urwid/split_repr.pyo
${PYSITELIB}/urwid/str_util.so
+${PYSITELIB}/urwid/text_layout.py
+${PYSITELIB}/urwid/text_layout.pyc
+${PYSITELIB}/urwid/text_layout.pyo
${PYSITELIB}/urwid/util.py
${PYSITELIB}/urwid/util.pyc
${PYSITELIB}/urwid/util.pyo
@@ -39,3 +66,18 @@
${PYSITELIB}/urwid/widget.py
${PYSITELIB}/urwid/widget.pyc
${PYSITELIB}/urwid/widget.pyo
+${PYSITELIB}/urwid/wimp.py
+${PYSITELIB}/urwid/wimp.pyc
+${PYSITELIB}/urwid/wimp.pyo
+share/doc/py-urwid/reference.html
+share/doc/py-urwid/tutorial.html
+share/examples/py-urwid/bigtext.py
+share/examples/py-urwid/browse.py
+share/examples/py-urwid/calc.py
+share/examples/py-urwid/dialog.py
+share/examples/py-urwid/edit.py
+share/examples/py-urwid/fib.py
+share/examples/py-urwid/graph.py
+share/examples/py-urwid/input_test.py
+share/examples/py-urwid/test_urwid.py
+share/examples/py-urwid/tour.py
diff -r 28ecc71ba2ef -r 7e4fc52ede51 devel/py-urwid/distinfo
--- a/devel/py-urwid/distinfo Mon Jun 14 16:53:39 2010 +0000
+++ b/devel/py-urwid/distinfo Mon Jun 14 17:54:16 2010 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2007/12/01 20:38:34 tonio Exp $
+$NetBSD: distinfo,v 1.6 2010/06/14 17:54:16 tonio Exp $
-SHA1 (urwid-0.9.8.1.tar.gz) = 0a0b6e716ff6794900475463a0aaf8a9b4458ca0
-RMD160 (urwid-0.9.8.1.tar.gz) = 47e408879e9908764efd31104cebdf3ba6b10ff5
-Size (urwid-0.9.8.1.tar.gz) = 179464 bytes
+SHA1 (urwid-0.9.9.1.tar.gz) = 7430e84a43d603717944d4f0d4489d90c0d59c1c
+RMD160 (urwid-0.9.9.1.tar.gz) = 30943471f6d6ed8ec3ff777394da2eb74cd94ea0
+Size (urwid-0.9.9.1.tar.gz) = 238005 bytes
Home |
Main Index |
Thread Index |
Old Index