diff options
author | grizzlyuser <grizzlyuser@protonmail.com> | 2020-10-17 15:33:07 +0300 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-10-21 23:11:02 -0400 |
commit | fcbc7ad6e43184a907f0db1ca235ea92cff4b0bf (patch) | |
tree | d7079f0cc579e9264e1c9ccbf94e05d04027c14c /libre/virt-manager/PKGBUILD | |
parent | 459ba2acdc2886fa13e37d27348fbb2743a947a8 (diff) | |
download | abslibre-fcbc7ad6e43184a907f0db1ca235ea92cff4b0bf.tar.gz abslibre-fcbc7ad6e43184a907f0db1ca235ea92cff4b0bf.tar.bz2 abslibre-fcbc7ad6e43184a907f0db1ca235ea92cff4b0bf.zip |
[virt-manager]: upgrade to v3.1.0
Diffstat (limited to 'libre/virt-manager/PKGBUILD')
-rw-r--r-- | libre/virt-manager/PKGBUILD | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/libre/virt-manager/PKGBUILD b/libre/virt-manager/PKGBUILD index fe51f369c..2a93e4259 100644 --- a/libre/virt-manager/PKGBUILD +++ b/libre/virt-manager/PKGBUILD @@ -4,23 +4,25 @@ # Contributor (Arch): Jonathan Wiersma <archaur at jonw dot org> # Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +# Contributor: grizzlyuser <grizzlyuser@protonmail.com> pkgbase=virt-manager pkgname=(virt-install) -pkgver=2.2.1 +pkgver=3.1.0 pkgrel=1 -pkgrel+=.par2 -pkgdesc="Console user interface for managing virtual machines" +pkgrel+=.par1 +pkgdesc="Command line tool for creating new KVM , Xen, or Linux container guests using the libvirt hypervisor" pkgdesc+=", without non-FSDG compliant distros and operating systems support" arch=('any') url="https://virt-manager.org/" license=('GPL') depends=('libosinfo' 'libvirt-python' 'python-gobject' 'python-requests') -makedepends=('intltool') +makedepends=('python-docutils') +checkdepends=('python-pytest' 'cpio' 'cdrtools') source=("https://virt-manager.org/download/sources/virt-manager/virt-manager-$pkgver.tar.gz" 'libre.patch') -sha512sums=('aa97af52b3552c087beab8701762c21e8e6d818c9787d5376ed4e1ae40a34d5e8870c4c00fda9cb17a2340d1dff5b17e853182df720cdd9ea4c91cf01502a33a' - '8858c3994da18cf704a5d4a715708ccb39d6e16e89890b7207709f2c5227abc03355d79172ed05ae8837d91b841f3c0d1b533e5bf56756c645192d20f36ffd80') +b2sums=('729a16ee419cfc9f118e4a59336e961f17f38908ab3aaa3598c83bff3e8bca75b150f0f38b021c5ccb839a7c43e87f071859f68c2a81425715e236e14d0a7929' + 'c4b8369bfc78a0603e511a772a2570b84cafdc1cbac553ed9995bb18cdf7259835bb19d1e3120e49f86e19db9b6eb577cf75c3527cfad855c616acd09b3de048') prepare() { cd "$srcdir/$pkgbase-$pkgver" @@ -28,21 +30,23 @@ prepare() { } build() { - cd "$srcdir/$pkgbase-$pkgver" + cd $pkgbase-$pkgver + python setup.py configure --default-hvs qemu,lxc python setup.py build } package_virt-install() { - cd "$srcdir/$pkgbase-$pkgver" + cd $pkgbase-$pkgver python setup.py --no-update-icon-cache --no-compile-schemas install --root "$pkgdir" - python -m compileall "${pkgdir}/usr/share/virt-manager" - python -O -m compileall "${pkgdir}/usr/share/virt-manager" + python -m compileall "$pkgdir"/usr/share/virt-manager + python -O -m compileall "$pkgdir"/usr/share/virt-manager # Split virt-manager - [[ -d $srcdir/virt-manager ]] && rm -r "$srcdir/virt-manager/" - mkdir "$srcdir"/virt-manager - mv "$pkgdir"/usr/bin/virt-manager \ - "$pkgdir"/usr/share/{appdata,applications,glib-2.0,icons}/ \ - "$pkgdir"/usr/share/man/man1/virt-manager.1 \ - "$srcdir/virt-manager/" + [[ -d "$srcdir"/virt-manager ]] && rm -r "$srcdir"/virt-manager/ + mkdir -p "$srcdir"/split/usr/{bin,share/{man/man1,virt-manager}} + mv "$pkgdir"/usr/bin/virt-manager "$srcdir"/split/usr/bin/ + mv "$pkgdir"/usr/share/{applications,glib-2.0,icons,metainfo} "$srcdir"/split/usr/share/ + mv "$pkgdir"/usr/share/man/man1/virt-manager.1 "$srcdir"/split/usr/share/man/man1/ + mv "$pkgdir"/usr/share/virt-manager/{icons,ui,virtManager} "$srcdir"/split/usr/share/virt-manager/ } + |