virtinst, libvirt-python3: new packages, libvirt, libvirt-glib, libvirt-pyhon: version bump

This commit is contained in:
suvari
2022-07-03 16:45:35 +03:00
parent f9b2d3daef
commit a07096a8db
16 changed files with 337363 additions and 336965 deletions
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
@@ -6,16 +6,23 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static \
--enable-introspection")
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson --prefix=/usr --buildtype=plain")
def build():
autotools.make()
shelltools.cd("build")
shelltools.system("ninja")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS", "README", "ChangeLog", "INSTALL", "COPYING")
shelltools.cd("..")
pisitools.dodoc("COPYING", "README")
#pisitools.dodoc("AUTHORS", "NEWS", "README", "ChangeLog", "INSTALL", "COPYING")
+20 -5
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libvirt-glib</Name>
@@ -12,9 +12,13 @@
<IsA>library</IsA>
<Summary>GLib bindings for libvirt</Summary>
<Description>GLib bindings for libvirt</Description>
<Archive sha1sum="64bfa6579b182b891947d869d6fa3bb418def940" type="targz">https://libvirt.org/sources/glib/libvirt-glib-2.0.0.tar.gz</Archive>
<Archive sha1sum="8c5209b6e6f40a4c6c99ed9c64e01a6411a89880" type="tarxz">https://libvirt.org/sources/glib/libvirt-glib-4.0.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
<Dependency>intltool</Dependency>
<Dependency>intltool</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>vala-devel</Dependency>
<Dependency>glib2-devel</Dependency>
@@ -34,19 +38,22 @@
<Dependency>libxml2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="library">/usr/lib/libvirt*</Path>
<Path fileType="library">/usr/lib/girepository-1.0*</Path>
<Path fileType="data">/usr/share/vala</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libvirt-glib-devel</Name>
<Icon>development</Icon>
<Summary>Development files for libvirt-glib</Summary>
<RuntimeDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>libvirt-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency release="current">libvirt-glib</Dependency>
</RuntimeDependencies>
<Files>
@@ -62,11 +69,19 @@
<Dependency release="current">libvirt-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/gtk-doc</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2022-07-02</Date>
<Version>4.0.0</Version>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2019-03-18</Date>
<Version>2.0.0</Version>
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libvirt-python</Name>
@@ -12,8 +12,9 @@
<IsA>library</IsA>
<Summary>libvirt python binding</Summary>
<Description>libvirt python binding</Description>
<Archive sha1sum="66271c25e4ef6959d92f930b29562e30529bb0b4" type="targz">https://libvirt.org/sources/python/libvirt-python-4.6.0.tar.gz</Archive>
<Archive sha1sum="b088f41722bcf256f9caed8b82544fc1d7257702" type="targz">https://files.pythonhosted.org/packages/cc/28/e306fe5e3385c659bae31b6e1b2cdff7bde7fdc2cb0e0f27a3cfd252af2d/libvirt-python-5.10.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-setuptools</Dependency>
<Dependency>libvirt-devel</Dependency>
<Dependency>python-devel</Dependency>
</BuildDependencies>
@@ -22,6 +23,7 @@
<Package>
<Name>libvirt-python</Name>
<RuntimeDependencies>
<Dependency>python</Dependency>
<Dependency>libvirt</Dependency>
</RuntimeDependencies>
<Files>
@@ -31,6 +33,13 @@
</Package>
<History>
<Update release="2">
<Date>2022-07-03</Date>
<Version>5.10.0</Version>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2019-03-18</Date>
<Version>4.6.0</Version>
@@ -2,7 +2,7 @@
<PISI>
<Source>
<Name>libvirt-python</Name>
<Summary xml:lang="tr">libvirt python binding</Summary>
<Description xml:lang="tr">libvirt python binding</Description>
<Summary xml:lang="tr">libvirt python2 binding</Summary>
<Description xml:lang="tr">libvirt python2 binding</Description>
</Source>
</PISI>
@@ -0,0 +1,14 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
#pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libvirt-python3</Name>
<Homepage>http://www.libvirt.org/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv3</License>
<IsA>library</IsA>
<Summary>libvirt python3 binding</Summary>
<Description>The libvirt-python package provides a module that permits applications written in the Python 3.x programming language to call the interface supplied by the libvirt library, to manage the virtualization capabilities of recent versions of Linux (and other OSes).</Description>
<Archive sha1sum="a7c3504fa28225fa28d402f68e099eadaf14dba4" type="targz">https://files.pythonhosted.org/packages/06/69/4914adb2f12311f321327a4b5d0e946d04369bc4a3fff1fb5deb095c53e3/libvirt-python-8.5.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>libvirt-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-importlib_metadata</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libvirt-python3</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency>libvirt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-07-03</Date>
<Version>8.5.0</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libvirt-python3</Name>
<Summary xml:lang="tr">libvirt python3 binding</Summary>
<Description xml:lang="tr">libvirt-python paketi, Python 3.x programlama dilinde yazılmış uygulamaların, Linux'un (ve diğer işletim sistemlerinin) son sürümlerinin sanallaştırma yeteneklerini yönetmek için libvirt kitaplığı tarafından sağlanan arabirimi çağırmasına izin veren bir modül sağlar.</Description>
</Source>
</PISI>
+32 -52
View File
@@ -4,65 +4,45 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
#for f in ["src/Makefile.am", "src/Makefile.in", "daemon/Makefile.am", "daemon/Makefile.in"]:
#pisitools.dosed(f, "\$\(localstatedir\)(\/run\/libvirt)", "\\1")
#for f in ["daemon/libvirtd.c", "daemon/libvirtd.conf", "daemon/test_libvirtd.aug.in"]:
#pisitools.dosed(f, "\/var(\/run\/libvirt)", "\\1")
#for f in ["src/locking/virtlockd.pod", "src/virtlockd.8.in", "daemon/libvirtd.8.in", "daemon/libvirtd.pod", ]:
#pisitools.dosed(f, "LOCALSTATEDIR(\/run\/libvirt)", "\\1")
autotools.configure("--with-init-script=none \
--with-remote-pid-file=/run/libvirtd.pid \
--with-qemu-user=qemu \
--with-qemu-group=qemu \
--with-lxc \
--with-udev \
--with-qemu \
--with-sasl \
--with-audit \
--with-numactl \
--with-avahi \
--with-netcf \
--with-libssh2=/usr/lib \
--with-capng \
--with-polkit \
--with-python \
--with-network \
--with-libvirtd \
--with-storage-fs \
--with-storage-scsi \
--with-storage-mpath \
--with-storage-disk \
--with-storage-lvm \
--without-vbox \
--without-vmware \
--without-esx \
--without-storage-iscsi \
--without-hal \
--without-xen \
--without-phyp \
--without-uml \
--without-openvz \
--without-selinux \
--without-apparmor \
--disable-static")
shelltools.makedirs("build")
shelltools.cd("build")
shelltools.system("meson --libexecdir=/usr/lib \
--prefix=/usr \
-Drunstatedir=/run \
-Dqemu_user=libvirt-qemu \
-Dqemu_group=libvirt-qemu \
-Dnetcf=disabled \
-Dopenwsman=disabled \
-Dapparmor=disabled \
-Dapparmor_profiles=disabled \
-Dselinux=disabled \
-Dwireshark_dissector=disabled \
-Ddriver_bhyve=disabled \
-Ddriver_hyperv=disabled \
-Ddriver_libxl=disabled \
-Ddriver_vz=disabled \
-Dsanlock=disabled \
-Dsecdriver_apparmor=disabled \
-Dsecdriver_selinux=disabled \
-Dstorage_sheepdog=disabled \
-Dstorage_vstorage=disabled \
-Ddtrace=disabled \
-Dnumad=disabled \
-Dstorage_zfs=enabled ..")
def build():
autotools.make()
#def check():
# for v in ["XDG_HOME", "XDG_CACHE_HOME", "XDG_CONFIG_HOME"]:
# shelltools.export(v, get.workDIR())
# autotools.make("check")
shelltools.cd("build")
shelltools.system("ninja")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.removeDir("/usr/share/gtk-doc")
shelltools.cd("build")
shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS", "README*", "ChangeLog")
shelltools.cd("..")
pisitools.dodoc("COPYING*", "NEWS*", "README*")
+45 -20
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libvirt</Name>
@@ -12,38 +12,48 @@
<IsA>app:console</IsA>
<Summary>Library providing a simple API to several virtualization systems</Summary>
<Description>libvirt is a toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). libvirt supports Xen hypervisor, QEMU emulator, KVM hypervisor, LXC Linux container system, OpenVZ Linux container system, User Mode Linux paravirtualized kernel and VirtualBox hypervisor together with remote management possibilities.</Description>
<Archive sha1sum="b12262a9e6870f3c6b424e9e83033ccf97e0a078" type="tarxz">http://libvirt.org/sources/libvirt-4.6.0.tar.xz</Archive>
<Archive sha1sum="80456c833319bec16f162735c03391bfc0664546" type="tarxz">https://libvirt.org/sources/libvirt-8.4.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>qemu</Dependency>
<Dependency>meson</Dependency>
<Dependency>acl-devel</Dependency>
<Dependency>yajl-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>util-linux</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>fuse-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>libssh2-devel</Dependency>
<Dependency>jansson-devel</Dependency>
<Dependency>lvm2-devel</Dependency>
<Dependency>attr-devel</Dependency>
<Dependency>eudev-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>audit-devel</Dependency>
<Dependency>avahi-devel</Dependency>
<Dependency>netcf-devel</Dependency>
<Dependency>numactl-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>libpciaccess-devel</Dependency>
<Dependency>yajl-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>util-linux</Dependency>
<Dependency>libnl-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>parted-devel</Dependency>
<Dependency>device-mapper-devel</Dependency>
<Dependency>libnl-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>cyrus-sasl-devel</Dependency>
<Dependency>libcap-ng-devel</Dependency>
<Dependency>libssh-devel</Dependency>
<Dependency>libpcap-devel</Dependency>
<Dependency>numactl-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>libssh2-devel</Dependency>
<Dependency>jansson-devel</Dependency>
<Dependency>readline-devel</Dependency>
<Dependency>libtirpc-devel</Dependency>
<Dependency>libXdmcp-devel</Dependency>
<Dependency>iptables-devel</Dependency>
<Dependency>libiscsi-devel</Dependency>
<Dependency>python-docutils</Dependency>
<Dependency>glusterfs-devel</Dependency>
<Dependency>libcap-ng-devel</Dependency>
<Dependency>bash-completion</Dependency>
<Dependency>cyrus-sasl-devel</Dependency>
<Dependency>rpcsvc-proto-devel</Dependency>
<Dependency>libpciaccess-devel</Dependency>
<Dependency>device-mapper-devel</Dependency>
<Dependency>kernel-module-headers</Dependency>
</BuildDependencies>
<Patches>
@@ -57,8 +67,6 @@
<Dependency>acl</Dependency>
<Dependency>curl</Dependency>
<Dependency>fuse</Dependency>
<Dependency>libssh2</Dependency>
<Dependency>libtirpc</Dependency>
<Dependency>dbus</Dependency>
<Dependency>yajl</Dependency>
<Dependency>audit</Dependency>
@@ -69,9 +77,16 @@
<Dependency>gnutls</Dependency>
<Dependency>parted</Dependency>
<Dependency>libcap</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libssh</Dependency>
<Dependency>libpcap</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>numactl</Dependency>
<Dependency>libssh2</Dependency>
<Dependency>readline</Dependency>
<Dependency>libtirpc</Dependency>
<Dependency>libiscsi</Dependency>
<Dependency>glusterfs</Dependency>
<Dependency>libcap-ng</Dependency>
<Dependency>avahi-libs</Dependency>
<Dependency>cyrus-sasl</Dependency>
@@ -83,14 +98,17 @@
<Path fileType="config">/etc</Path>
<Path fileType="config">/usr/lib/tmpfiles.d/libvirt.conf</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/libvirt*</Path>
<Path fileType="library">/usr/lib/sysctl.d/60-qemu-postcopy-migration.conf</Path>
<Path fileType="library">/usr/lib/sysctl.d/60-libvirtd.conf</Path>
<Path fileType="library">/usr/lib/firewalld/zones/libvirt.xml</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/augeas</Path>
<Path fileType="data">/usr/share/polkit-1</Path>
<Path fileType="data">/usr/share/libvirt</Path>
<Path fileType="data">/usr/share/systemtap</Path>
<Path fileType="library">/usr/lib/virt-login-shell-helper</Path>
<Path fileType="data">/usr/lib/libnss_libvirt*</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/var</Path>
<Path fileType="data">/run</Path>
@@ -120,6 +138,13 @@
</Package>
<History>
<Update release="7">
<Date>2022-06-29</Date>
<Version>8.4.0</Version>
<Comment>Version bump</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2020-03-14</Date>
<Version>4.6.0</Version>
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-·
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
# pythonmodules.configure()
pythonmodules.compile()
def install():
pythonmodules.install()
shelltools.system("rm -rf %s/usr/bin" % get.installDIR())
shelltools.system("rm -rf %s/usr/share/man" % get.installDIR())
@@ -0,0 +1,46 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>virtinst</Name>
<Homepage>http://virt-manager.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>Python modules and utilities for installing virtual machines</Summary>
<Description>virtinst is a module that helps building and installing libvirt based virtual machines.</Description>
<Archive sha1sum="64ba49f4d8ea174cda288dabf8858512181a3193" type="targz">http://virt-manager.org/download/sources/virtinst/virtinst-0.600.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>virtinst</Name>
<RuntimeDependencies>
<Dependency>libvirt</Dependency>
<!-- <Dependency>virt-viewer</Dependency> -->
</RuntimeDependencies>
<Files>
<!-- <Path fileType="executable">/usr/bin</Path> -->
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<!-- <Path fileType="man">/usr/share/man</Path> -->
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-07-03</Date>
<Version>0.600.4</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>virtinst</Name>
<Summary xml:lang="tr">Sanal makine kurulumu için araçlar ve Python modülleri</Summary>
<Description xml:lang="tr">virtinst sanal makine imajları oluşturmak ve kurmak için yardımcı araçlar ve Python geliştirme modülleri içeren bir pakettir.</Description>
</Source>
</PISI>