summaryrefslogtreecommitdiff
blob: b9fabf6b91b783149f304f39e40ee32305c2a130 (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
32
33
34
35
36
37
38
39
40
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/suds/suds-0.3.9.ebuild,v 1.2 2010/05/30 11:27:51 cedk Exp $

EAPI=3
PYTHON_DEPEND="2"

inherit distutils

MY_P="python-${P}"

DESCRIPTION="A lightweight SOAP python client"
HOMEPAGE="https://fedorahosted.org/suds/"
SRC_URI="https://fedorahosted.org/releases/s/u/suds/${MY_P}.tar.gz"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

DEPEND="dev-python/setuptools
	doc? ( dev-python/epydoc )"
RDEPEND=""

S=${WORKDIR}/${MY_P}

src_compile() {
	distutils_src_compile

	if use doc; then
		epydoc -n "Suds - ${DESCRIPTION}" -o "${S}"/doc \
			"${S}"/suds || die "epydoc failed"
	fi
}

src_install() {
	distutils_src_install

	use doc && dohtml -r doc/*
}