summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2017-09-27 10:11:38 -0500
committerMatthias Maier <tamiko@gentoo.org>2017-09-27 10:12:21 -0500
commit6f64b5f6edf1cfa49f232c3999b87bdd45c58310 (patch)
treede3f30463a6f4dfd8d4b672f70e1d3fb42db0fe1 /dev-python/libvirt-python
parentapp-emulation/libvirt: version bump to 3.7.0, bug #632118 (diff)
downloadgentoo-6f64b5f6edf1cfa49f232c3999b87bdd45c58310.tar.gz
gentoo-6f64b5f6edf1cfa49f232c3999b87bdd45c58310.tar.bz2
gentoo-6f64b5f6edf1cfa49f232c3999b87bdd45c58310.zip
dev-python/libvirt-python: version bump to 3.7.0, bug #632118
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-python/libvirt-python')
-rw-r--r--dev-python/libvirt-python/Manifest1
-rw-r--r--dev-python/libvirt-python/libvirt-python-3.7.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
index 811347b817b8..208a17947df4 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -1 +1,2 @@
DIST libvirt-python-3.6.0.tar.gz 181778 SHA256 ecb9cbc8b1f33b245b04e3a937d8483584ab7a18258b217be96661343a4b1ad0 SHA512 333f991fc69b509b2eda67ee70dea39cc9d1ff36b1abb6a881296313ffebfb5ed41de8443534f19b27a70271548214fa94a12e7f59dc217492edf0bb5555ede9 WHIRLPOOL 6f13ee521713c3540e649c9c9edf6fc0427e0c4563305a42366796352fc99867bc79dd5ce61db0d7b79dc02957f8854c5664f5b5952a402c614e19264167546b
+DIST libvirt-python-3.7.0.tar.gz 182372 SHA256 1e4a8a8b08ef8f2502088f26ce3aced415d55ef808d8301dfed023f45154c06f SHA512 2f37d860d9ee203af3765a1b8d7f8981a8e51b5e6c78170d4bd80d0b23b9f5997725d81ff8c4ed4e5bb218346913321a3b4b8e2d337fd3cb8eeb95ac78256413 WHIRLPOOL b35f8aa071beb14ebf4be233bac190c6022d7ad56788f28bf3c8d265faa8fc514e0604beea9ccd8b703079fbec65de5c5b20ec6b8d00693cf6a6c7b9afc8bd75
diff --git a/dev-python/libvirt-python/libvirt-python-3.7.0.ebuild b/dev-python/libvirt-python/libvirt-python-3.7.0.ebuild
new file mode 100644
index 000000000000..c16440985c37
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-3.7.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 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
+}