virt-manager: update to 4.1.0.
* fixes build with setuptools 61
This commit is contained in:
parent
613401c740
commit
ca332f15e6
@ -1,20 +0,0 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -264,17 +264,6 @@ class my_install(setuptools.command.install.install):
|
||||
setuptools.command.install.install.finalize_options(self)
|
||||
|
||||
def run(self):
|
||||
- if not self.distribution.no_update_icon_cache:
|
||||
- print("running gtk-update-icon-cache")
|
||||
- icon_path = os.path.join(self.install_data, "share/icons/hicolor")
|
||||
- self.spawn(["gtk-update-icon-cache", "-q", "-t", icon_path])
|
||||
-
|
||||
- if not self.distribution.no_compile_schemas:
|
||||
- print("compiling gsettings schemas")
|
||||
- gschema_install = os.path.join(self.install_data,
|
||||
- "share/glib-2.0/schemas")
|
||||
- self.spawn(["glib-compile-schemas", gschema_install])
|
||||
-
|
||||
setuptools.command.install.install.run(self)
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'virt-manager'
|
||||
pkgname=virt-manager
|
||||
version=4.0.0
|
||||
version=4.1.0
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
pycompile_dirs="/usr/share/${pkgname}/virtManager"
|
||||
@ -9,16 +9,24 @@ depends="virt-manager-tools>=${version}_${revision} libvirt-glib
|
||||
gtk-vnc spice-gtk gtksourceview4 dconf vte3 gir-freedesktop"
|
||||
_coredeps="python3-gobject libvirt-python3 libosinfo
|
||||
libxml2-python3 python3-requests cdrtools"
|
||||
checkdepends="python3-pytest cpio ${_coredeps}"
|
||||
checkdepends="python3-pytest cpio xorriso ${_coredeps}"
|
||||
short_desc="User interface for managing virtual machines"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://virt-manager.org"
|
||||
changelog="https://raw.githubusercontent.com/virt-manager/virt-manager/master/NEWS.md"
|
||||
distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=515aaa2021a4bf352b0573098fe6958319b1ba8ec508ea37e064803f97f17086
|
||||
checksum=950681d7b32dc61669278ad94ef31da33109bf6fcf0426ed82dfd7379aa590a2
|
||||
python_version=3
|
||||
|
||||
do_install() {
|
||||
# make_install_args can't be used because --no-* has to be specified
|
||||
# before the install argument
|
||||
./setup.py \
|
||||
--no-update-icon-cache --no-compile-schemas \
|
||||
install --root=${DESTDIR}
|
||||
}
|
||||
|
||||
virt-manager-tools_package() {
|
||||
short_desc="Programs to create and clone virtual machines"
|
||||
depends="${_coredeps} python3-argcomplete"
|
||||
|
Loading…
Reference in New Issue
Block a user