blob: 58742b20a2efa87c8eb3dd159fd274882e76407a (
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
41
42
43
44
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
PYTHON_DEPEND="2"
inherit distutils eutils
DESCRIPTION="A simple library for writing soap web services."
HOMEPAGE="http://wiki.github.com/jkp/soaplib"
SRC_URI="https://github.com/${PN}/${PN}/tarball/${P} -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples "
RDEPEND="
dev-python/lxml
dev-python/pytz
"
DEPEND="${RDEPEND}
dev-python/setuptools
"
S="${WORKDIR}/soaplib-soaplib-2801978"
src_install() {
# DOCS="soaplib_docs.markdown TODO.txt"
distutils_src_install
rm -rf "${ED}$(python_get_sitedir)/tests/"
if use examples ; then
insinto /usr/share/doc/${PF}/examples
doins examples/*.py || die "doins failed"
fi
}
src_test() {
"$(PYTHON)" setup.py test || die "tests failed"
}
|