blob: 8397bbd53982256cd2dd05212765db9418ebb689 (
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
27
28
29
30
|
#!/bin/sh
NAME="virt-manager"
DESC="GUI for managing virtual machines"
MAKEDEPS="intltool glib python-docutils"
DEPS="libvirt"
PKG_VER=3.2.0
SOURCE="https://releases.pagure.org/virt-manager/virt-manager-$PKG_VER.tar.gz"
ADDITIONAL="
fix-latest-libvirt-xml-output.patch
tests-remove-sgio-unfiltered.patch
"
prepare () {
apply_patches
}
build() {
python3 setup.py build
}
package() {
python3 setup.py --no-update-icon-cache --no-compile-schemas install --root "$PKG_DEST"
python3 -m compileall "$PKG_DEST/usr/share/virt-manager"
python3 -O -m compileall "$PKG_DEST/usr/share/virt-manager"
}
|