virt-manager-4.0.0

This commit is contained in:
Rmys
2022-07-08 16:02:29 +03:00
committed by ayhanyalcinsoy
parent 8dd157a862
commit 8b57cedc84
3 changed files with 62 additions and 14 deletions
@@ -4,16 +4,19 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import pisitools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("sed -i 's|python2|python2.7|g' {setup.py,virt-convert,virt-clone,virt-install,virt-manager,virt-xml}")
pythonmodules.configure()
pythonmodules.compile()
pythonmodules.configure("--default-graphics=spice --default-hvs qemu,xen,lxc", pyVer="3")
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install()
shelltools.system("""touch --no-create %s/usr/share/icons/hicolor >/dev/null 2>&1 || :
/usr/bin/update-desktop-database > /dev/null 2>&1 || :""" % get.installDIR())
shelltools.system("python3 setup.py --no-update-icon-cache --no-compile-schemas install --root=%s --no-compile -O0" % get.installDIR())
#pythonmodules.install(pyVer="3")
#pisitools.dodoc("COPYING", "NEWS", "README*", "PKG-INFO")
@@ -0,0 +1,34 @@
From c6fc4524d4448259ea85f93f85898b64a4380154 Mon Sep 17 00:00:00 2001
From: Peter Alfredsen <crabbedhaloablution@icloud.com>
Date: Tue, 5 Apr 2022 22:04:20 +0200
Subject: [PATCH] setup: add bits for setuptools-61
Quoting https://github.com/pypa/setuptools/issues/3227
"Setuptools >= 61, intentionally changes the way packages are built in the
sensec that it will try to find files and fail if something is weird.
Empty packages (like this one), are asked to explicitly add packages=[]
to their configuration.
This intentional change in behaviour is described in
https://setuptools.pypa.io/en/latest/history.html#v61-0-0."
Bug: https://bugs.gentoo.org/836645
Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com>
---
setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/setup.py b/setup.py
index e95acd39..7e47e7c7 100755
--- a/setup.py
+++ b/setup.py
@@ -547,4 +547,5 @@ setuptools.setup(
},
distclass=VMMDistribution,
+ packages=[],
)
--
2.35.1
+19 -8
View File
@@ -9,22 +9,26 @@
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<Icon>virt-manager-icon</Icon>
<Icon>virt-manager</Icon>
<IsA>app:gui</IsA>
<Summary>Graphical tool for administering virtual machines for KVM, Xen, and QEmu</Summary>
<Description>Virtual Machine Manager provides a graphical tool for administering virtual machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices, connect to a graphical or serial console, and see resource usage statistics for existing VMs on local or remote machines. Uses libvirt as the backend management API.</Description>
<Archive sha1sum="f715a3a4dbd9b90bebccc421085d6106c4a64630" type="targz">https://releases.pagure.org/virt-manager/virt-manager-1.5.1.tar.gz</Archive>
<Archive sha1sum="853b1a65b346ac7be7c68d83697b4107bb780683" type="targz">https://releases.pagure.org/virt-manager/virt-manager-4.0.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
<Dependency>vte-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python-docutils</Dependency>
<Dependency>libosinfo-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>libvirt-glib-devel</Dependency>
<Dependency>python-cairo-devel</Dependency>
<Dependency>python-pygobject3-devel</Dependency>
<Dependency>python3-cairo-devel</Dependency>
<Dependency>python3-pygobject3-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">fix-python-name.patch</Patch> -->
<Patch level="1">virt-manager-4.0.0-setuptools-61-fix.patch</Patch>
</Patches>
</Source>
@@ -34,8 +38,8 @@
<Dependency>ipaddr</Dependency>
<Dependency>libosinfo</Dependency>
<Dependency>libvirt-glib</Dependency>
<Dependency>libvirt-python</Dependency>
<Dependency>python-pygobject3</Dependency>
<Dependency>libvirt-python3</Dependency>
<Dependency>python3-pygobject3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -48,11 +52,18 @@
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="po/tr.po">tr.po</AdditionalFile>
<!-- <AdditionalFile target="po/tr.po">tr.po</AdditionalFile> -->
</AdditionalFiles>
</Package>
<History>
<Update release="5">
<Date>2022-07-08</Date>
<Version>4.0.0</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2019-03-19</Date>
<Version>1.5.1</Version>