Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
MY_P="${P/_rc/-rc}"
-inherit eutils distutils-r1
+inherit distutils-r1
if [[ ${PV} = *9999* ]]; then
inherit git-r3
HOMEPAGE="https://www.libvirt.org"
LICENSE="LGPL-2"
SLOT="0"
-IUSE="test"
+IUSE="examples test"
DEPEND="${RDEPEND}
virtual/pkgconfig
python_test() {
esetup.py test
}
+
+python_install_all() {
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+ distutils-r1_python_install_all
+}