summaryrefslogtreecommitdiff
blob: d2a061ba867ebe6717bbb34753f8188d7cf29477 (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
# 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
}