summaryrefslogtreecommitdiff
path: root/repo/python-libvirt/python-libvirt.xibuild
blob: e6aa0e85a23f02b3c965cdbb340219253533eacf (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.7.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"
}