| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/soappy/soappy-0.12.5.ebuild,v 1.9 2012/05/13 20:47:32 aballier Exp $ |
| 4 |
|
| 5 |
EAPI="3" |
| 6 |
PYTHON_DEPEND="2" |
| 7 |
PYTHON_USE_WITH="ssl? xml" |
| 8 |
SUPPORT_PYTHON_ABIS="1" |
| 9 |
RESTRICT_PYTHON_ABIS="3.*" |
| 10 |
|
| 11 |
inherit distutils |
| 12 |
|
| 13 |
MY_PN="SOAPpy" |
| 14 |
MY_P="${MY_PN}-${PV}" |
| 15 |
|
| 16 |
DESCRIPTION="SOAP Services for Python" |
| 17 |
HOMEPAGE="http://pywebsvcs.sourceforge.net/ http://pypi.python.org/pypi/SOAPpy" |
| 18 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
| 19 |
|
| 20 |
LICENSE="BSD" |
| 21 |
SLOT="0" |
| 22 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-macos" |
| 23 |
IUSE="examples ssl" |
| 24 |
|
| 25 |
RDEPEND="dev-python/fpconst |
| 26 |
dev-python/wstools |
| 27 |
ssl? ( dev-python/m2crypto )" |
| 28 |
DEPEND="${RDEPEND} |
| 29 |
dev-python/setuptools" |
| 30 |
|
| 31 |
S="${WORKDIR}/${MY_P}" |
| 32 |
|
| 33 |
DOCS="CHANGES.txt README.txt docs/*" |
| 34 |
PYTHON_MODNAME="${MY_PN}" |
| 35 |
|
| 36 |
src_prepare() { |
| 37 |
distutils_src_prepare |
| 38 |
find -name .cvsignore -print0 | xargs -0 rm -f |
| 39 |
} |
| 40 |
|
| 41 |
src_install() { |
| 42 |
distutils_src_install |
| 43 |
|
| 44 |
if use examples; then |
| 45 |
insinto /usr/share/doc/${PF}/examples |
| 46 |
doins -r bid contrib tools validate |
| 47 |
fi |
| 48 |
} |