wok-next view python-libvirt/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | bc5c682688b0 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="libvirt-python"
4 PACKAGE="python-libvirt"
5 VERSION="4.7.0"
6 CATEGORY="python"
7 SHORT_DESC="Python bindings for libvirt"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2 LGPL2.1"
10 #WEB_SITE="https://pypi.org/project/$ORIGIN/" # not in hurry: 4.6.0
11 WEB_SITE="https://libvirt.org/"
12 #HOST_ARCH
13 REPOLOGY="python:libvirt-python"
15 TARBALL="$ORIGIN-$VERSION.tar.gz"
16 WGET_URL="https://libvirt.org/sources/python/$TARBALL"
18 BUILD_DEPENDS="python-dev python3-dev libvirt-dev"
19 SPLIT="${PACKAGE/python/python3}:3"
21 # Python packages name should start with "python-", but "python-libvirt-python"
22 # is pretty ugly name, so strip it to "python-libvirt"
24 compile_rules() {
25 # pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
27 python$SET -B setup.py install --root=$install
28 }
30 genpkg_rules() {
31 copy @std
32 py=${PACKAGE%%-*} # python/python3
33 DEPENDS="$py libvirt"
34 }