blob: 8049c17c67030de30ec4987bee06d01f3df026de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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.4 2005/02/27 10:31:50 lucass Exp $
inherit distutils
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="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="examples"
DEPEND="virtual/python"
src_test() {
${python} test_urwid.py || die "unit tests failed"
}
src_install() {
distutils_src_install
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
}
|