diff options
author | Matthias Maier <tamiko@gentoo.org> | 2018-06-28 23:24:44 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2018-06-28 23:24:44 -0500 |
commit | aff0da389a532727587b8435f92f4211a4626b32 (patch) | |
tree | 894857f03530198e120798b0e55fdbd19ace18c7 /dev-python/libvirt-python | |
parent | app-emulation/libvirt: use https:// instead of git:// (diff) | |
download | gentoo-aff0da389a532727587b8435f92f4211a4626b32.tar.gz gentoo-aff0da389a532727587b8435f92f4211a4626b32.tar.bz2 gentoo-aff0da389a532727587b8435f92f4211a4626b32.zip |
dev-python/libvirt-python: version bump to 4.4.0
Package-Manager: Portage-2.3.41, Repoman-2.3.9
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.4.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 0aa2ea09b40e..cbb519235726 100644 --- a/dev-python/libvirt-python/Manifest +++ b/dev-python/libvirt-python/Manifest @@ -1 +1,2 @@ DIST libvirt-python-4.3.0.tar.gz 187111 BLAKE2B 7266ca1b5836429e13a03dab0e2f5085521c72e2d6952d7a9de514eace286477ad7b237c5d70f86fac49ab2201c8724149af72d4c1f688ac8736257045babc6f SHA512 4b2b4a2590e968ff4401d8429319c94b1b9c08a40b089f461af5a4912acf2c504f60652c80b161c253c00e41d22c100c2e180159e45d84c352c59dca69172cfc +DIST libvirt-python-4.4.0.tar.gz 188431 BLAKE2B dc2dfc64139c3bb2a80516c345b1256311b1b2ceaa832de2ef60afe5422adabee626b25dffa96a1bd8428f4d0bd54ed5264d887522700a941aa646b4b43a7f8c SHA512 b4e740895c22aca20d8fc1cfadc9276e91e0a74aa7bad75d15de14be6704be8386055b700ea65045acfaabf3bfe8fa51e5d814e625e46d01b3ac0221419d25da diff --git a/dev-python/libvirt-python/libvirt-python-4.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-4.4.0.ebuild new file mode 100644 index 000000000000..b249f13de908 --- /dev/null +++ b/dev-python/libvirt-python/libvirt-python-4.4.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,3_6} ) + +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="amd64 x86" + 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 +} |