summaryrefslogtreecommitdiff
blob: 8e4dadb9db69fe8c12bec04104ae123d98bbc445 (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
31
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit distutils subversion

DESCRIPTION="Binding to RXP, a very fast validating XML parser."
HOMEPAGE="http://www.reportlab.org/pyrxp.html"
ESVN_REPO_URI="http://svn.reportlab.com/svn/public/${PN}/trunk/src"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
IUSE="doc examples"

DOCS="README"

src_install() {
	if use doc;then
	   DOCS="${DOCS} docs/*"
	fi

	distutils_src_install

	if use examples;then
	   docinto examples
	   dodoc examples/* || die "dodoc examples code failed"
	fi
}