wok-next rev 20923
libvirt-python -> python-libvirt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 22 15:44:03 2018 +0300 (2018-08-22) |
parents | 034d1fefb1c3 |
children | 92f1f4b98170 |
files | libvirt-python/receipt python-libvirt/receipt virt-manager/receipt |
line diff
1.1 --- a/libvirt-python/receipt Wed Aug 22 11:43:50 2018 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,25 +0,0 @@ 1.4 -# SliTaz package receipt v2. 1.5 - 1.6 -PACKAGE="libvirt-python" 1.7 -VERSION="4.3.0" 1.8 -CATEGORY="python" 1.9 -SHORT_DESC="Python bindings for libvirt" 1.10 -MAINTAINER="al.bobylev@gmail.com" 1.11 -LICENSE="GPL2 LGPL2.1" 1.12 -WEB_SITE="https://pypi.python.org/pypi/libvirt-python" 1.13 -REPOLOGY="python:libvirt-python" 1.14 - 1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WGET_URL="https://libvirt.org/sources/python/$TARBALL" 1.17 - 1.18 -BUILD_DEPENDS="libvirt-dev python-dev" 1.19 - 1.20 -compile_rules() { 1.21 - python setup.py clean 1.22 - python setup.py install --root=$install 1.23 -} 1.24 - 1.25 -genpkg_rules() { 1.26 - copy @std 1.27 - DEPENDS="libvirt python" 1.28 -}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/python-libvirt/receipt Wed Aug 22 15:44:03 2018 +0300 2.3 @@ -0,0 +1,25 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="python-libvirt" 2.7 +VERSION="latest" 2.8 +CATEGORY="python" 2.9 +SHORT_DESC="Python bindings for libvirt" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="GPL2 LGPL2.1" 2.12 +WEB_SITE="https://pypi.org/project/libvirt-python/" 2.13 +REPOLOGY="python:libvirt-python" 2.14 + 2.15 +BUILD_DEPENDS="libvirt-dev python-dev" 2.16 + 2.17 +# Python packages name should start with "python-", but "python-libvirt-python" 2.18 +# is pretty ugly name, so strip it to "python-libvirt" 2.19 + 2.20 +compile_rules() { 2.21 + pip install --no-compile --root=$DESTDIR libvirt-python 2.22 +} 2.23 + 2.24 +genpkg_rules() { 2.25 + VERSION=$(sed -n '/^Successfully installed/ s|.*libvirt-python-||p' $LOGS/$PACKAGE.log) 2.26 + copy @std 2.27 + DEPENDS="libvirt python" 2.28 +}
3.1 --- a/virt-manager/receipt Wed Aug 22 11:43:50 2018 +0300 3.2 +++ b/virt-manager/receipt Wed Aug 22 15:44:03 2018 +0300 3.3 @@ -24,6 +24,6 @@ 3.4 3.5 genpkg_rules() { 3.6 copy @std 3.7 - DEPENDS="python libosinfo libvirt-glib libvirt-python pygobject \ 3.8 + DEPENDS="python libosinfo libvirt-glib python-libvirt pygobject \ 3.9 python-ipaddr python-requests gtk-vnc pycairo spice-gtk vte" 3.10 }