summaryrefslogtreecommitdiff
path: root/repo/python-libvirt/python-libvirt.xibuild
blob: 585f9fbdc95920c235d05e8ee908fdef1e7c1085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"
}