diff options
Diffstat (limited to 'dev-python/urwid/urwid-0.8.6.ebuild')
-rw-r--r-- | dev-python/urwid/urwid-0.8.6.ebuild | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/dev-python/urwid/urwid-0.8.6.ebuild b/dev-python/urwid/urwid-0.8.6.ebuild index c89c16405e3b..c1ee65ef9bcb 100644 --- a/dev-python/urwid/urwid-0.8.6.ebuild +++ b/dev-python/urwid/urwid-0.8.6.ebuild @@ -1,22 +1,30 @@ # 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.1 2005/01/17 02:22:47 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-0.8.6.ebuild,v 1.1.1.1 2005/11/30 10:10:21 chriswhite 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" -LICENSE="GPL-2" +LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~x86" +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 } |