summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2005-02-27 10:31:50 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2005-02-27 10:31:50 +0000
commite45269d40bbc2aee6acc23b45e38e5bb53372134 (patch)
treeceb85615e0c91740d3374c39482740936f32ea28 /dev-python/urwid
parentMarked stable on x86. (diff)
downloadgentoo-2-e45269d40bbc2aee6acc23b45e38e5bb53372134.tar.gz
gentoo-2-e45269d40bbc2aee6acc23b45e38e5bb53372134.tar.bz2
gentoo-2-e45269d40bbc2aee6acc23b45e38e5bb53372134.zip
Some cleanup. Added description to metadata.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-python/urwid')
-rw-r--r--dev-python/urwid/ChangeLog6
-rw-r--r--dev-python/urwid/metadata.xml16
-rw-r--r--dev-python/urwid/urwid-0.8.6.ebuild20
3 files changed, 34 insertions, 8 deletions
diff --git a/dev-python/urwid/ChangeLog b/dev-python/urwid/ChangeLog
index 090aa3bb1e3f..6b5e1410e83b 100644
--- a/dev-python/urwid/ChangeLog
+++ b/dev-python/urwid/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/urwid
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.3 2005/02/21 12:37:31 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.4 2005/02/27 10:31:50 lucass Exp $
+
+ 27 Feb 2005; Lukasz Strzygowski <lucass@gentoo.org> metadata.xml,
+ urwid-0.8.6.ebuild:
+ Some cleanup. Added description to metadata.
21 Feb 2005; David Holm <dholm@gentoo.org> urwid-0.8.6.ebuild:
Added to ~ppc.
diff --git a/dev-python/urwid/metadata.xml b/dev-python/urwid/metadata.xml
index 301d2207cc29..074ba7fffa24 100644
--- a/dev-python/urwid/metadata.xml
+++ b/dev-python/urwid/metadata.xml
@@ -1,5 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
+<herd>python</herd>
+<longdescription>
+Urwid is a curses-based user interface library. It includes many features
+useful for text console application developers including:
+
+- Fluid interface resizing (xterm window resizing / fbset on Linux console)
+- Support for 8-bit and CJK encodings
+- Multiple text alignment and wrapping modes built-in
+- Ability to register user-defined text alignment and wrapping modes
+- Simple markup for setting text attributes
+- Powerful list box that handles scrolling between different widget types
+- List box contents may be managed with a user-defined class
+- Flexible edit box for editing many different types of text
+- Easy interface for creating HTML screen shots
+</longdescription>
</pkgmetadata>
diff --git a/dev-python/urwid/urwid-0.8.6.ebuild b/dev-python/urwid/urwid-0.8.6.ebuild
index 15d69fda48a0..8049c17c6703 100644
--- a/dev-python/urwid/urwid-0.8.6.ebuild
+++ b/dev-python/urwid/urwid-0.8.6.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-0.8.6.ebuild,v 1.3 2005/02/21 12:37:31 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-0.8.6.ebuild,v 1.4 2005/02/27 10:31:50 lucass Exp $
inherit distutils
-DESCRIPTION="urwid is a curses-based user interface library for Python."
+DESCRIPTION="Urwid is a curses-based user interface library for Python."
HOMEPAGE="http://excess.org/urwid/"
SRC_URI="http://excess.org/urwid/${P}.tar.gz"
@@ -12,11 +12,19 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
-IUSE=""
-DEPEND=">=dev-lang/python-2.1.3-r1"
-DOCS="browse.py edit.py test_urwid.py calc.py fib.py tour.py"
+IUSE="examples"
+DEPEND="virtual/python"
+
+src_test() {
+ ${python} test_urwid.py || die "unit tests failed"
+}
src_install() {
distutils_src_install
- dohtml *html
+
+ dohtml tutorial.html reference.html
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins browse.py edit.py calc.py fib.py tour.py
+ fi
}