1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
13 inherit eutils distutils-r1
15 if [[ ${PV} = *9999* ]]; then
17 EGIT_REPO_URI="git://libvirt.org/libvirt-python.git"
20 RDEPEND="app-emulation/libvirt:=[-python(-)]"
22 SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz"
23 KEYWORDS="~amd64 ~x86"
24 RDEPEND="app-emulation/libvirt:0/${PV}"
26 S="${WORKDIR}/${P%_rc*}"
28 DESCRIPTION="libvirt Python bindings"
29 HOMEPAGE="http://www.libvirt.org"
36 test? ( dev-python/lxml[${PYTHON_USEDEP}]
37 dev-python/nose[${PYTHON_USEDEP}] )"
39 # testsuite is currently not included in upstream tarball