wok-next annotate python-libvirt/receipt @ rev 21555

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