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.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/444bf8249999
branches:  trunk
changeset: 536046:444bf8249999
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sat Dec 01 20:38:34 2007 +0000

description:
Update devel/py-urwid to 0.9.8.1

Full changelog is at http://excess.org/urwid/wiki/ChangeLog

- Rendering is now significantly faster.
- The curses_display module can now draw in the lower-right corner of the screen.
- New Widget base class for all widgets. It includes automatic caching of rows() and render() methods. It also adds a new __super attribute for accessing methods in superclasses.
- Widgets must now call self._invalidate() to notify the cache when their content has changed.
- To disable caching in a widget set the class variable no_cache to a list that includes the string "render".
- Canvas classes have been reorganized: Canvas has been renamed to TextCanvas and Canvas is now the base class for all canvases. New canvas classes include BlankCanvas, SolidCanvas and 
CompositeCanvas.
- All display modules now have start() and stop() methods that may be used instead of calling run_wrapper().
- Many internal string processing functions have been rewritten in C to improve their performance.
- Compatible with Python >= 2.2. Python 2.1 is no longer supported.
- Improved performance in UTF-8 mode when ASCII text is used.
- Added a clear() function to the the display modules to force the screen to be repainted on the next draw_screen() call.

diffstat:

 devel/py-urwid/Makefile |  8 +++++---
 devel/py-urwid/PLIST    |  9 +++++----
 devel/py-urwid/distinfo |  8 ++++----
 3 files changed, 14 insertions(+), 11 deletions(-)

diffs (62 lines):

diff -r b146dce01ca8 -r 444bf8249999 devel/py-urwid/Makefile
--- a/devel/py-urwid/Makefile   Sat Dec 01 20:27:16 2007 +0000
+++ b/devel/py-urwid/Makefile   Sat Dec 01 20:38:34 2007 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2006/10/26 18:52:20 tonio Exp $
+# $NetBSD: Makefile,v 1.7 2007/12/01 20:38:34 tonio Exp $
 
-DISTNAME=      urwid-0.9.7.1
+DISTNAME=      urwid-0.9.8.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  http://excess.org/urwid/
@@ -12,7 +12,9 @@
 DEPENDS+=      ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
 
 PYDISTUTILSPKG=        yes
-PYTHON_VERSIONS_ACCEPTED=      24 23 22 21
+PYTHON_VERSIONS_ACCEPTED=      24 23 22
+REPLACE_PYTHON=        *.py */*.py
 
+.include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b146dce01ca8 -r 444bf8249999 devel/py-urwid/PLIST
--- a/devel/py-urwid/PLIST      Sat Dec 01 20:27:16 2007 +0000
+++ b/devel/py-urwid/PLIST      Sat Dec 01 20:38:34 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2006/10/26 18:52:20 tonio Exp $
+@comment $NetBSD: PLIST,v 1.4 2007/12/01 20:38:34 tonio Exp $
 ${PYSITELIB}/urwid/__init__.py
 ${PYSITELIB}/urwid/__init__.pyc
 ${PYSITELIB}/urwid/__init__.pyo
@@ -23,12 +23,13 @@
 ${PYSITELIB}/urwid/listbox.py
 ${PYSITELIB}/urwid/listbox.pyc
 ${PYSITELIB}/urwid/listbox.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/utable.py
-${PYSITELIB}/urwid/utable.pyc
-${PYSITELIB}/urwid/utable.pyo
+${PYSITELIB}/urwid/str_util.so
 ${PYSITELIB}/urwid/util.py
 ${PYSITELIB}/urwid/util.pyc
 ${PYSITELIB}/urwid/util.pyo
diff -r b146dce01ca8 -r 444bf8249999 devel/py-urwid/distinfo
--- a/devel/py-urwid/distinfo   Sat Dec 01 20:27:16 2007 +0000
+++ b/devel/py-urwid/distinfo   Sat Dec 01 20:38:34 2007 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2006/10/26 18:52:20 tonio Exp $
+$NetBSD: distinfo,v 1.5 2007/12/01 20:38:34 tonio Exp $
 
-SHA1 (urwid-0.9.7.1.tar.gz) = 065804586984bcbf6207344bb37722622bf530da
-RMD160 (urwid-0.9.7.1.tar.gz) = b89e2c4235a63cf5aa97717f43c6f0c899133f8f
-Size (urwid-0.9.7.1.tar.gz) = 153706 bytes
+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



Home | Main Index | Thread Index | Old Index