diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile index 29d56042e215..aaa0b34966f6 100644 --- a/deskutils/virt-manager/Makefile +++ b/deskutils/virt-manager/Makefile @@ -1,52 +1,51 @@ PORTNAME= virt-manager -PORTVERSION= 4.0.0 -PORTREVISION= 2 +PORTVERSION= 4.1.0 CATEGORIES= deskutils net-mgmt MASTER_SITES= https://virt-manager.org/download/sources/${PORTNAME}/ MAINTAINER= novel@FreeBSD.org COMMENT= Toolkit to interact with virtualization capabilities WWW= https://virt-manager.org/ LICENSE= LGPL3 LIB_DEPENDS= libvirt.so:devel/libvirt BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libxml2>=2.7.8:textproc/py-libxml2@${PY_FLAVOR} \ vte3>=0:x11-toolkits/vte3 \ ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:devel/py-ipaddr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libvirt>=0:devel/py-libvirt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ gtk-vnc>=0.4.4:net/gtk-vnc \ libvirt-glib>=0.1.9:devel/libvirt-glib \ libosinfo>=0:devel/libosinfo \ spice-gtk>=0.26:deskutils/spice-gtk \ ssh-askpass:security/openssh-askpass PYDISTUTILS_INSTALLNOSINGLE= yes PYDISTUTILS_CONFIGURE_TARGET= configure PYDISTUTILS_CONFIGUREARGS= --prefix=${PREFIX} USES= python:3.3+ gettext gnome shebangfix USE_PYTHON= noegginfo autoplist distutils noflavors NO_ARCH= yes USE_GNOME= gtksourceview4 introspection:run intltool librsvg2 pygobject3 SHEBANG_FILES= virt-manager \ virt-install \ virt-clone \ virt-xml \ virtManager/virtmanager.py GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml #add workaround for two autoplist functions post-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas/ .for file in ${GLIB_SCHEMAS} ${INSTALL_DATA} ${WRKSRC}/data/${file} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas .endfor .include diff --git a/deskutils/virt-manager/distinfo b/deskutils/virt-manager/distinfo index 80968155544c..39ea4033e7f4 100644 --- a/deskutils/virt-manager/distinfo +++ b/deskutils/virt-manager/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646479034 -SHA256 (virt-manager-4.0.0.tar.gz) = 515aaa2021a4bf352b0573098fe6958319b1ba8ec508ea37e064803f97f17086 -SIZE (virt-manager-4.0.0.tar.gz) = 3096236 +TIMESTAMP = 1667145208 +SHA256 (virt-manager-4.1.0.tar.gz) = 950681d7b32dc61669278ad94ef31da33109bf6fcf0426ed82dfd7379aa590a2 +SIZE (virt-manager-4.1.0.tar.gz) = 3151412 diff --git a/deskutils/virt-manager/files/patch-setup.py b/deskutils/virt-manager/files/patch-setup.py index 243036a919ad..3f2a86682ea2 100644 --- a/deskutils/virt-manager/files/patch-setup.py +++ b/deskutils/virt-manager/files/patch-setup.py @@ -1,42 +1,34 @@ --- setup.py.orig 2022-02-12 16:13:59 UTC +++ setup.py @@ -427,8 +427,8 @@ class VMMDistribution(setuptools.dist.Distribution): ] def __init__(self, *args, **kwargs): - self.no_update_icon_cache = False - self.no_compile_schemas = False + self.no_update_icon_cache = True + self.no_compile_schemas = True setuptools.dist.Distribution.__init__(self, *args, **kwargs) @@ -500,11 +500,9 @@ setuptools.setup( "build/virt-xml"]), data_files=[ - ("share/glib-2.0/schemas", - ["data/org.virt-manager.virt-manager.gschema.xml"]), ("share/virt-manager/ui", glob.glob("ui/*.ui")), - ("share/man/man1", [ + ("man/man1", [ "man/virt-manager.1", "man/virt-install.1", "man/virt-clone.1", @@ -535,7 +533,6 @@ setuptools.setup( 'build_i18n': my_build_i18n, 'install': my_install, - 'install_egg_info': my_egg_info, 'configure': configure, -@@ -547,4 +544,7 @@ setuptools.setup( - }, - - distclass=VMMDistribution, -+ -+ # Declare packages explicitly so that setuptools does not attempt auto discovery -+ packages=[], - )