diff options
author | Matthias Maier <tamiko@gentoo.org> | 2018-03-14 11:52:57 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2018-03-14 13:17:46 -0500 |
commit | 2f6ac899f51eb3813d7c003be20441a2d3d605dc (patch) | |
tree | 6b8de114c43c72263276f30938be204521b0836b /dev-python/libvirt-python | |
parent | app-emulation/libvirt: fix live ebuild (diff) | |
download | gentoo-2f6ac899f51eb3813d7c003be20441a2d3d605dc.tar.gz gentoo-2f6ac899f51eb3813d7c003be20441a2d3d605dc.tar.bz2 gentoo-2f6ac899f51eb3813d7c003be20441a2d3d605dc.zip |
dev-python/libvirt-python: version bump to 4.1.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r-- | dev-python/libvirt-python/Manifest | 1 | ||||
-rw-r--r-- | dev-python/libvirt-python/libvirt-python-4.1.0.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest index f4f9d96fb8d2..67bf5707272e 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -1 +1,2 @@ DIST libvirt-python-4.0.0.tar.gz 185533 BLAKE2B 3f9e3483265b18025bbfc0955c2b0b8276448c41e2d85a49ebc2d42f8dcd77af25a0a11ba04fbe02dba282a946ac3f583866c5d9fcda0d56e7a5f20dc63e7f94 SHA512 3eca33bb04265323ad47a6c8cb04a6848ab2b06bf656a188c7c0a39419e6dcc5c21f16682f6c64647da432c1d7e3ddc4699d848766987baccf806d68b5937d9a +DIST libvirt-python-4.1.0.tar.gz 186312 BLAKE2B 45ba81eb738e72e2561ab597c5cc395ae2260c7d93575391d2ce14622faf706052ea5d83adf6ca6a52c35cda4a9e80348f163f48ba318f5d0056b26a33961d25 SHA512 533c46c6827b0c3397713b39a7c6486e1bad40571907aa48da7818ad15569d4e01e33ffc787beb9486fc84b361985aa1d30ea474555d55494143f71dfea26947 diff --git a/dev-python/libvirt-python/libvirt-python-4.1.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.1.0.ebuild new file mode 100644 index 000000000000..172f3dc38862 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-4.1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +MY_P="${P/_rc/-rc}" + +inherit distutils-r1 + +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://libvirt.org/libvirt-python.git" + SRC_URI="" + KEYWORDS="" + RDEPEND="app-emulation/libvirt:=[-python(-)]" +else + SRC_URI="http://libvirt.org/sources/python/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + RDEPEND="app-emulation/libvirt:0/${PV}" +fi +S="${WORKDIR}/${P%_rc*}" + +DESCRIPTION="libvirt Python bindings" +HOMEPAGE="https://www.libvirt.org" +LICENSE="LGPL-2" +SLOT="0" +IUSE="examples test" + +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-python/lxml[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +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 +} |