wok-next view python-libvirt/receipt @ 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
children c9a7a7b42a86
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-libvirt"
4 VERSION="latest"
5 CATEGORY="python"
6 SHORT_DESC="Python bindings for libvirt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://pypi.org/project/libvirt-python/"
10 REPOLOGY="python:libvirt-python"
12 BUILD_DEPENDS="libvirt-dev python-dev"
14 # Python packages name should start with "python-", but "python-libvirt-python"
15 # is pretty ugly name, so strip it to "python-libvirt"
17 compile_rules() {
18 pip install --no-compile --root=$DESTDIR libvirt-python
19 }
21 genpkg_rules() {
22 VERSION=$(sed -n '/^Successfully installed/ s|.*libvirt-python-||p' $LOGS/$PACKAGE.log)
23 copy @std
24 DEPENDS="libvirt python"
25 }