blob: 1fd3a07c529588806793d400051d0f82aba1daf5 (
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
45
46
47
48
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/soappy/soappy-0.12.5-r1.ebuild,v 1.1 2012/08/06 09:42:04 patrick Exp $
EAPI="4"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="ssl(+)? xml(+)"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
MY_PN="SOAPpy"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="SOAP Services for Python"
HOMEPAGE="http://pywebsvcs.sourceforge.net/ http://pypi.python.org/pypi/SOAPpy"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-macos"
IUSE="examples ssl"
RDEPEND="dev-python/fpconst
dev-python/wstools
ssl? ( dev-python/m2crypto )"
DEPEND="${RDEPEND}
dev-python/setuptools"
S="${WORKDIR}/${MY_P}"
DOCS="CHANGES.txt README.txt docs/*"
PYTHON_MODNAME="${MY_PN}"
src_prepare() {
distutils_src_prepare
find -name .cvsignore -print0 | xargs -0 rm -f
}
src_install() {
distutils_src_install
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r bid contrib tools validate
fi
}
|