blob: 7d5506ae8b62d9af94eca98637b34454b3865da4 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/ply/ply-2.3.ebuild,v 1.2 2007/07/03 10:39:28 lucass Exp $
inherit distutils
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
DESCRIPTION="Python Lex-Yacc library"
SRC_URI="http://www.dabeaz.com/ply/${P}.tar.gz"
HOMEPAGE="http://www.dabeaz.com/ply/"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="examples"
src_install() {
DOCS="ANNOUNCE CHANGES"
distutils_src_install
dohtml doc/*
if use examples; then
insinto /usr/share/doc/${PF}
doins -r example
fi
}
src_test() {
cd test
"${python}" rununit.py || die "test failed"
}
|