diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2017-01-19 23:40:53 +0100 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-01-19 20:29:20 -0600 |
commit | ad018540b0b10bb711e29f00d7207907e291f1cb (patch) | |
tree | fc25e5daba79267d73d67f07bb44b80a0c7e3dff /dev-python/libvirt-python | |
parent | dev-python/libvirt-python: add py3.5, examples, EAPI=6, re-enable tests (diff) | |
download | gentoo-ad018540b0b10bb711e29f00d7207907e291f1cb.tar.gz gentoo-ad018540b0b10bb711e29f00d7207907e291f1cb.tar.bz2 gentoo-ad018540b0b10bb711e29f00d7207907e291f1cb.zip |
dev-python/libvirt-python: add py3.5, examples, EAPI=6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r-- | dev-python/libvirt-python/libvirt-python-9999.ebuild | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/dev-python/libvirt-python/libvirt-python-9999.ebuild b/dev-python/libvirt-python/libvirt-python-9999.ebuild index 00143e054ed2..d2c9b6797911 100644 --- a/dev-python/libvirt-python/libvirt-python-9999.ebuild +++ b/dev-python/libvirt-python/libvirt-python-9999.ebuild @@ -2,13 +2,13 @@ # 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 @@ -27,7 +27,7 @@ DESCRIPTION="libvirt Python bindings" HOMEPAGE="https://www.libvirt.org" LICENSE="LGPL-2" SLOT="0" -IUSE="test" +IUSE="examples test" DEPEND="${RDEPEND} virtual/pkgconfig @@ -37,3 +37,11 @@ DEPEND="${RDEPEND} 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 +} |