wok-next annotate python-netifaces/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
monghitri@13951 2
al@20972 3 ORIGIN="netifaces"
monghitri@13951 4 PACKAGE="python-netifaces"
Hans-G?nter@21425 5 VERSION="0.10.9"
al@20972 6 CATEGORY="python"
al@20972 7 SHORT_DESC="Portable network interface information"
Hans-G?nter@21425 8 MAINTAINER="maintainer@slitaz.org"
pascal@15378 9 LICENSE="MIT"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20885 11 REPOLOGY="python:netifaces"
al@20885 12
al@20972 13 BUILD_DEPENDS="python python3"
al@20972 14 SPLIT="${PACKAGE/python/python3}:3"
pascal@15378 15
Hans-G?nter@21425 16 #HOST_ARCH
Hans-G?nter@21425 17
Hans-G?nter@21425 18 compile_rules()
Hans-G?nter@21425 19 {
al@20972 20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
monghitri@13951 21 }
monghitri@13951 22
Hans-G?nter@21425 23 genpkg_rules()
Hans-G?nter@21425 24 {
al@20972 25 copy @std
al@20972 26 py=${PACKAGE%%-*} # python/python3
al@20972 27 DEPENDS="$py"
monghitri@13951 28 }