summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2019-12-13 07:22:42 +0100
committer Matteo Bernardini2020-04-04 12:37:51 +0200
commit863ace8440554ea29df636e85c48d4cc88c542d3 (patch)
tree28455fb46b3d5f917dcde343ea0d9a4ed6ed7372
parentd9f557c5159aab249ae6cae6f7b901bee9727a6b (diff)
downloadslackbuilds-libvirt-python.tar.gz
libraries/libvirt-python: Updated for version 5.10.0.libvirt-python
Add the python3 bindings, needed for virt-manager Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/libvirt-python/libvirt-python.SlackBuild5
-rw-r--r--libraries/libvirt-python/libvirt-python.info8
2 files changed, 7 insertions, 6 deletions
diff --git a/libraries/libvirt-python/libvirt-python.SlackBuild b/libraries/libvirt-python/libvirt-python.SlackBuild
index 9688b5afe4..8ecccb3148 100644
--- a/libraries/libvirt-python/libvirt-python.SlackBuild
+++ b/libraries/libvirt-python/libvirt-python.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libvirt-python
-VERSION=${VERSION:-4.5.0}
+VERSION=${VERSION:-5.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,7 +66,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/libvirt-python/libvirt-python.info b/libraries/libvirt-python/libvirt-python.info
index 0670df4073..e0c28f7ae4 100644
--- a/libraries/libvirt-python/libvirt-python.info
+++ b/libraries/libvirt-python/libvirt-python.info
@@ -1,8 +1,8 @@
PRGNAM="libvirt-python"
-VERSION="4.5.0"
-HOMEPAGE="http://libvirt.org"
-DOWNLOAD="https://libvirt.org/sources/python/libvirt-python-4.5.0.tar.gz"
-MD5SUM="0c1b66a8878d6436b036565060707f73"
+VERSION="5.10.0"
+HOMEPAGE="https://libvirt.org"
+DOWNLOAD="https://libvirt.org/sources/python/libvirt-python-5.10.0.tar.gz"
+MD5SUM="045c8b45a1aed0725d874ce072027570"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libvirt"