wok-next view python-libvirt/receipt @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
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 }