dev-python/libvirt-python: version bump to 5.4.0
authorMatthias Maier <tamiko@gentoo.org>
Mon, 1 Jul 2019 14:47:42 +0000 (09:47 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 1 Jul 2019 14:49:39 +0000 (09:49 -0500)
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
dev-python/libvirt-python/Manifest
dev-python/libvirt-python/libvirt-python-5.4.0.ebuild [new file with mode: 0644]

index 061a8a1114e69a4652010cc3c194c2bde1e95039..5f5c5da0f3ec9b0e261303450910645a35ffa2ca 100644 (file)
@@ -1 +1,2 @@
 DIST libvirt-python-5.2.0.tar.gz 193270 BLAKE2B fecd1a07091746779a91e0cfeb9c3068048ee7e51d2f79064b4ee529a19b78d04ba53a5abab68182a1fa9c4a82f459fa9e971c33fcd10b42fe7011be17f7c6e2 SHA512 afee2dcaf08d530e6298fdf2db674af217b9e4115941258b5815aba00087d96db6eb421c9854d7dca0f9dfe24069df72aadd969c924545e72be216f01bc173cc
+DIST libvirt-python-5.4.0.tar.gz 193623 BLAKE2B b19ebde80c4e922139802d316a82a6d0b45d6087a4dbd5f801507c18fc5558bfd8983171df55b4efb6c2ad36235f6ddab402473b66450b4d031a5e4ce7705266 SHA512 589cd68189d7a8b611127f6dbae4853659ce98c02d22242b6c8ab646dd04e657f912ddc8f11595f656ac14a1fc4528a941b8a05d52cdb1951ce91c89af0599c6
diff --git a/dev-python/libvirt-python/libvirt-python-5.4.0.ebuild b/dev-python/libvirt-python/libvirt-python-5.4.0.ebuild
new file mode 100644 (file)
index 0000000..a020f32
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+MY_P="${P/_rc/-rc}"
+
+inherit distutils-r1
+
+if [[ ${PV} = *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
+       SRC_URI=""
+       KEYWORDS=""
+       RDEPEND="app-emulation/libvirt:=[-python(-)]"
+else
+       SRC_URI="https://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
+}