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

DESCRIPTION="MIT licensed XMPP library for Python"
HOMEPAGE="http://sleekxmpp.com/"
SRC_URI="https://github.com/fritzy/SleekXMPP/tarball/${PV} -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc examples"

DEPEND="
	dev-python/setuptools
	doc? ( dev-python/sphinx )"
RDEPEND="
	dev-python/dnspython
	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
}