From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 2/2] Add package python3-libvirt Date: Sun, 16 Apr 2017 17:14:40 +0100 Message-ID: <1492359280.2083.3.camel@ipfire.org> In-Reply-To: <1492264582-22008-2-git-send-email-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4017108127391859487==" List-Id: --===============4017108127391859487== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, this patch is missing the rootfiles for ARM. Anything you can do about this? Why is this even built for ARM? I am not sure if we support libvirt on that really... Best, -Michael On Sat, 2017-04-15 at 15:56 +0200, Jonatan Schlag wrote: > This new package provides the python3 bindings for libvirt. >=20 > Signed-off-by: Jonatan Schlag > --- > =C2=A0config/rootfiles/packages/i586/python3-libvirt=C2=A0=C2=A0=C2=A0| 10 = +++ > =C2=A0config/rootfiles/packages/x86_64/python3-libvirt | 10 +++ > =C2=A0lfs/python3-libvirt=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 82 > ++++++++++++++++++++++++ > =C2=A0make.sh=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0=C2=A01 + > =C2=A04 files changed, 103 insertions(+) > =C2=A0create mode 100644 config/rootfiles/packages/i586/python3-libvirt > =C2=A0create mode 100644 config/rootfiles/packages/x86_64/python3-libvirt > =C2=A0create mode 100644 lfs/python3-libvirt >=20 > diff --git a/config/rootfiles/packages/i586/python3-libvirt > b/config/rootfiles/packages/i586/python3-libvirt > new file mode 100644 > index 0000000..0463ca4 > --- /dev/null > +++ b/config/rootfiles/packages/i586/python3-libvirt > @@ -0,0 +1,10 @@ > +usr/lib/python3.6/site-packages/__pycache__/libvirt.cpython-36.pyc > +usr/lib/python3.6/site-packages/__pycache__/libvirt_lxc.cpython- > 36.pyc > +usr/lib/python3.6/site-packages/__pycache__/libvirt_qemu.cpython- > 36.pyc > +usr/lib/python3.6/site-packages/libvirt.py > +usr/lib/python3.6/site-packages/libvirt_lxc.py > +#usr/lib/python3.6/site-packages/libvirt_python-3.1.0-py3.6.egg-info > +usr/lib/python3.6/site-packages/libvirt_qemu.py > +usr/lib/python3.6/site-packages/libvirtmod.cpython-36m-i386-linux- > gnu.so > +usr/lib/python3.6/site-packages/libvirtmod_lxc.cpython-36m-i386- > linux-gnu.so > +usr/lib/python3.6/site-packages/libvirtmod_qemu.cpython-36m-i386- > linux-gnu.so > diff --git a/config/rootfiles/packages/x86_64/python3-libvirt > b/config/rootfiles/packages/x86_64/python3-libvirt > new file mode 100644 > index 0000000..f20ef09 > --- /dev/null > +++ b/config/rootfiles/packages/x86_64/python3-libvirt > @@ -0,0 +1,10 @@ > +usr/lib/python3.6/site-packages/__pycache__/libvirt.cpython-36.pyc > +usr/lib/python3.6/site-packages/__pycache__/libvirt_lxc.cpython- > 36.pyc > +usr/lib/python3.6/site-packages/__pycache__/libvirt_qemu.cpython- > 36.pyc > +usr/lib/python3.6/site-packages/libvirt.py > +usr/lib/python3.6/site-packages/libvirt_lxc.py > +#usr/lib/python3.6/site-packages/libvirt_python-3.1.0-py3.6.egg-info > +usr/lib/python3.6/site-packages/libvirt_qemu.py > +usr/lib/python3.6/site-packages/libvirtmod.cpython-36m-x86_64-linux- > gnu.so > +usr/lib/python3.6/site-packages/libvirtmod_lxc.cpython-36m-x86_64- > linux-gnu.so > +usr/lib/python3.6/site-packages/libvirtmod_qemu.cpython-36m-x86_64- > linux-gnu.so > diff --git a/lfs/python3-libvirt b/lfs/python3-libvirt > new file mode 100644 > index 0000000..bd8a599 > --- /dev/null > +++ b/lfs/python3-libvirt > @@ -0,0 +1,82 @@ > +#################################################################### > ########### > +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# IPFire.org - A linux based > firewall=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# Copyright (C) 2007-2017=C2=A0=C2=A0IPFire Team=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# This program is free software: you can redistribute it and/orhttp: > //wiki.ipfire.org/devel/submit-patches modify=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0# > +# it under the terms of the GNU General Public License as published > by=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# the Free Software Foundation, either version 3 of the License, > or=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# (at your option) any later > version.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# This program is distributed in the hope that it will be > useful,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0# > +# but WITHOUT ANY WARRANTY; without even the implied warranty > of=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0# > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0=C2=A0See > the=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0# > +# GNU General Public License for more > details.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=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C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +#################################################################### > ########### > + > +#################################################################### > ########### > +# Definitions > +#################################################################### > ########### > + > +include Config > + > +VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D 3.1.0 > + > +THISAPP=C2=A0=C2=A0=C2=A0=C2=A0=3D libvirt-python-$(VER) > +DL_FILE=C2=A0=C2=A0=C2=A0=C2=A0=3D $(THISAPP).tar.gz > +DL_FROM=C2=A0=C2=A0=C2=A0=C2=A0=3D $(URL_IPFIRE) > +DIR_APP=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_SRC)/$(THISAPP) > +TARGET=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_INFO)/$(THISAPP) > +PROG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D python3-libvirt > +PAK_VER=C2=A0=C2=A0=C2=A0=C2=A0=3D 1 > + > +DEPS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D "libvirt python3" > + > +#################################################################### > ########### > +# Top-level Rules > +#################################################################### > ########### > + > +objects =3D $(DL_FILE) > + > +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > + > +$(DL_FILE)_MD5 =3D 322185007e2e70f2e862fc55e9970d10 > + > +install : $(TARGET) > + > +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) > + > +download :$(patsubst %,$(DIR_DL)/%,$(objects)) > + > +md5 : $(subst %,%_MD5,$(objects)) > + > +dist:=C2=A0 > + @$(PAK) > + > +#################################################################### > ########### > +# Downloading, checking, md5sum > +#################################################################### > ########### > + > +$(patsubst %,$(DIR_CHK)/%,$(objects)) : > + @$(CHECK) > + > +$(patsubst %,$(DIR_DL)/%,$(objects)) : > + @$(LOAD) > + > +$(subst %,%_MD5,$(objects)) : > + @$(MD5) > + > +#################################################################### > ########### > +# Installation Details > +#################################################################### > ########### > + > +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > + @$(PREBUILD) > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf > $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP) && python3 setup.py install > + @rm -rf $(DIR_APP) > + @$(POSTBUILD) > diff --git a/make.sh b/make.sh > index 61483eb..7fe25b5 100755 > --- a/make.sh > +++ b/make.sh > @@ -883,6 +883,7 @@ buildipfire() { > =C2=A0=C2=A0=C2=A0ipfiremake libpciaccess > =C2=A0=C2=A0=C2=A0ipfiremake libyajl > =C2=A0=C2=A0=C2=A0ipfiremake libvirt > +=C2=A0=C2=A0ipfiremake python3-libvirt > =C2=A0=C2=A0=C2=A0ipfiremake freeradius > =C2=A0=C2=A0=C2=A0ipfiremake perl-common-sense > =C2=A0=C2=A0=C2=A0ipfiremake perl-inotify2 --===============4017108127391859487== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlk4NWh3QUFvSkVJQjU4UDl2a0FrSEdkOFFBS2VycHhrMkdtbDhUS250ajRKN2Q3TXYK K3E1NW5rbjFJSmREWk9wektZdDdGeWVWZUpyUFdzN0RrMkVkTjhqOXBSbGptTE9qSHVQMktYSy82 MlRUd3dubgpsR1BDWU1TTkxwNXpUZjFsT1R1NEtPMkRpdUtwUkYrbnZvSlI1bVUvWVVscDRiZFRo cXE1ME1TSFRWQk5BVEcvCjg2eTlSNUZjcEluMEM0WWkzNm1zVEoycWJZdlg2QnVYOTFRZU9HbHdR cmQ2ektve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