virt-manager: employ improved, automatic do_check

This commit is contained in:
Andrew J. Hesford 2020-12-02 22:34:34 -05:00
parent bba498fa46
commit 4612f5d399
1 changed files with 0 additions and 4 deletions

View File

@ -19,10 +19,6 @@ distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${ver
checksum=2b6fe3d90d89e1130227e4b05c51e6642d89c839d3ea063e0e29475fd9bf7b86 checksum=2b6fe3d90d89e1130227e4b05c51e6642d89c839d3ea063e0e29475fd9bf7b86
python_version=3 python_version=3
do_check() {
python3 -m pytest
}
post_install() { post_install() {
rm $DESTDIR/usr/share/glib-2.0/schemas/gschemas.compiled \ rm $DESTDIR/usr/share/glib-2.0/schemas/gschemas.compiled \
$DESTDIR/usr/share/icons/hicolor/icon-theme.cache $DESTDIR/usr/share/icons/hicolor/icon-theme.cache