aboutsummaryrefslogtreecommitdiff
blob: dfa4f4f735acf4e273e663589ffed6e46393984c (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit python

MY_PN="${PN/client/py}"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Python Opal Web Service Client"
HOMEPAGE="http://nbcr.net/software/opal/"
SRC_URI="mirror://sourceforge/opaltoolkit/${MY_P}.tar.gz"

LICENSE="opal"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-python/zsi-2.1.0_alpha1"
DEPEND="${RDEPEND}"

S="${WORKDIR}"/${MY_P}

src_install() {
	/usr/bin/wsdl2py  wsdl/opal.wsdl || die

	insinto $(python_get_sitedir)/${PN}
	doins AppService_*.py || die
	dodoc README CHANGELOG etc/* *Client.py || die
	dohtml docs/* || die
}