summaryrefslogtreecommitdiff
path: root/dev-python/soaplib/soaplib-1.0.0-r5.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/soaplib/soaplib-1.0.0-r5.ebuild')
-rw-r--r--dev-python/soaplib/soaplib-1.0.0-r5.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/soaplib/soaplib-1.0.0-r5.ebuild b/dev-python/soaplib/soaplib-1.0.0-r5.ebuild
new file mode 100644
index 000000000000..781192f74866
--- /dev/null
+++ b/dev-python/soaplib/soaplib-1.0.0-r5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10} )
+DISTUTILS_USE_SETUPTOOLS=manual
+inherit distutils-r1 eutils python-r1
+
+DESCRIPTION="A simple library for writing soap web services."
+HOMEPAGE="https://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-python2
+ dev-python/pytz-python2
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools-python2
+"
+
+S="${WORKDIR}/soaplib-soaplib-2801978"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ rm -rf "${ED}$(python_get_sitedir)/tests/"
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.py || die "doins failed"
+ fi
+}