# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 PYTHON_DEPEND="*" PYTHON_USE_WITH="xml" SUPPORT_PYTHON_ABIS="1" DISTUTILS_SRC_TEST="setup.py" inherit vcs-snapshot distutils git-2 DESCRIPTION="MIT licensed XMPP library for Python" HOMEPAGE="http://sleekxmpp.com/" EGIT_REPO_URI="git://github.com/fritzy/SleekXMPP.git" EGIT_BRANCH="develop" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc examples" DEPEND=" dev-python/setuptools doc? ( dev-python/sphinx )" RDEPEND=" dev-python/dnspython3 dev-python/python-gnupg " src_install() { distutils_src_install if use doc; then make -C docs html dohtml -r docs/_build/html/ fi if use examples; then dodoc -r examples fi }