summaryrefslogtreecommitdiff
path: root/repo/python-libvirt/python-libvirt.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-libvirt/python-libvirt.xibuild')
-rw-r--r--repo/python-libvirt/python-libvirt.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/python-libvirt/python-libvirt.xibuild b/repo/python-libvirt/python-libvirt.xibuild
new file mode 100644
index 0000000..585f9fb
--- /dev/null
+++ b/repo/python-libvirt/python-libvirt.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="python-libvirt"
+DESC="The libvirt virtualization API python binding"
+
+MAKEDEPS="python libvirt"
+
+PKG_VER=8.2.0
+SOURCE="https://libvirt.org/sources/python/libvirt-python-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+disable-screenshot-test.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$PKG_DEST"
+}
+