summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2016-08-15 21:52:00 -0500
committerMatthias Maier <tamiko@gentoo.org>2016-08-16 00:22:04 -0500
commit3dbc8df4394800759e4e354730f32c00a8bb6a33 (patch)
tree3ffa854369a77449847f8ff187a9461347ebed7e /dev-python
parentapp-emulation/libvirt: version bump to 2.1.0, bug #590726 (diff)
downloadgentoo-3dbc8df4394800759e4e354730f32c00a8bb6a33.tar.gz
gentoo-3dbc8df4394800759e4e354730f32c00a8bb6a33.tar.bz2
gentoo-3dbc8df4394800759e4e354730f32c00a8bb6a33.zip
dev-python/libvirt-python: version bump to 2.1.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/libvirt-python/Manifest1
-rw-r--r--dev-python/libvirt-python/libvirt-python-2.1.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/libvirt-python/Manifest b/dev-python/libvirt-python/Manifest
index 76e1c7644f68..6c662257ad8e 100644
--- a/dev-python/libvirt-python/Manifest
+++ b/dev-python/libvirt-python/Manifest
@@ -1,2 +1,3 @@
DIST libvirt-python-1.3.5.tar.gz 168780 SHA256 a0508a57637fd18a3584fb9d2322fb172f65708c9db16e0438a70eb0f36fa5c2 SHA512 e1241e71dc0c574b14c6ecb101ec611f0c8caab6a5f82268882febb7b1382752d350ee0f6c2d648c30c6af3f19ef5b91bb518d8a0bd6ab967807b82dd4cf893f WHIRLPOOL 83a861fd425320214c43b80053444cc273c761e88b2530a10d2e8bfe898b19e1563d9f3b182deabe7fc8a7f445c303fa495123bb28d41caa88954cceff40c453
DIST libvirt-python-2.0.0.tar.gz 170475 SHA256 7816cbc1c6ad140ba643b662825babb1ef586bd3ccfd0b04dfeba4ae2f2d1d40 SHA512 695de54ab79d10900c44d2e12be422692da03436f5f89bd4020f3e114d250a94e13c61d112287f2d0d3d1dfadd7309af501d4226a12925c4295e4b3aae20d88c WHIRLPOOL 48059b5a2c31194369096737d45ded7c64eed14055fb895e5844025c3f888a17473d32c717db5e4c5a84be8623c2f40d67efa87b7a261be68a13a06d9afb272d
+DIST libvirt-python-2.1.0.tar.gz 170607 SHA256 74887fa1be60db2701e726da7e01e3bf18ecd3b8d1cfdf2f1f7480e1a1edbacb SHA512 8a031b7572c11f57a16292980188e4da830d1293aa1aab3fa35f9c18746e5628086643d8c6d6450d668d194dd3c792e0a5f61605f96dc11fa430c846e459529a WHIRLPOOL 96f02cc2870a9ecc722da1dbf2aa3f7d01fcbec6b5215329d75664e468d938a6ed7a5ff691618176539edaba0beb6ea0d01b02f328758099b343b86ac9e853e3
diff --git a/dev-python/libvirt-python/libvirt-python-2.1.0.ebuild b/dev-python/libvirt-python/libvirt-python-2.1.0.ebuild
new file mode 100644
index 000000000000..4a025bf65e6b
--- /dev/null
+++ b/dev-python/libvirt-python/libvirt-python-2.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+AUTOTOOLIZE=yes
+
+MY_P="${P/_rc/-rc}"
+
+inherit eutils 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 ~x86"
+ RDEPEND="app-emulation/libvirt:0/${PV}"
+fi
+S="${WORKDIR}/${P%_rc*}"
+
+DESCRIPTION="libvirt Python bindings"
+HOMEPAGE="http://www.libvirt.org"
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="test"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}] )"
+
+# testsuite is currently not included in upstream tarball
+RESTRICT="test"
+
+python_test() {
+ esetup.py test
+}