Subject: [alpine-devel] virtinst depends on py-libvirt

From: Szabolcs Nagy <[email-masked]>
Date: Sat, 21 Nov 2015 13:32:57 +0100

without the py-libvirt i get

$ virt-convert --help
Traceback (most recent call last):
  File "/usr/bin/virt-convert", line 30, in <module>
    import virtinst.cli as cli
  File "/usr/lib/python2.7/site-packages/virtinst/__init__.py", line 35, in <module>
    import Storage
  File "/usr/lib/python2.7/site-packages/virtinst/Storage.py", line 53, in <module>
    import libvirt
ImportError: No module named libvirt

diff --git a/main/virtinst/APKBUILD b/main/virtinst/APKBUILD
index f59c3e4..8a480e5 100644
--- a/main/virtinst/APKBUILD
+++ b/main/virtinst/APKBUILD
@@ -6,7 +6,7 @@ pkgdesc="CLI tool for provision operating systems into virtual machines"
 arch="noarch"
 url="http://virt-manager.org/"
 license="GPL2+"
-depends="libvirt python py-urlgrabber py-libxml2"
+depends="libvirt python py-urlgrabber py-libxml2 py-libvirt"
 makedepends="gettext-dev libvirt-dev python-dev grep"
 install=""
 subpackages="$pkgname-doc $pkgname-lang"