wok annotate python-netifaces/receipt @ rev 22368
graphviz: $WGET_URL depends on $VERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 22 18:03:35 2019 +0100 (2019-11-22) |
parents | 6135577f4d08 |
children | 6f6f1f1ee354 |
rev | line source |
---|---|
monghitri@13951 | 1 # SliTaz package receipt. |
monghitri@13951 | 2 |
monghitri@13951 | 3 PACKAGE="python-netifaces" |
monghitri@13951 | 4 VERSION="0.8" |
monghitri@13951 | 5 CATEGORY="development" |
monghitri@13951 | 6 SHORT_DESC="Portable access to network interfaces from Python." |
monghitri@13951 | 7 MAINTAINER="monghitri@aruba.it" |
pascal@15378 | 8 LICENSE="MIT" |
monghitri@13951 | 9 SOURCE="netifaces" |
monghitri@13951 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20679 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
monghitri@13951 | 12 WGET_URL="http://alastairs-place.net/projects/$SOURCE/$TARBALL" |
pascal@15378 | 13 |
monghitri@13951 | 14 DEPENDS="python" |
pascal@21582 | 15 BUILD_DEPENDS="python-dev python-setuptools" |
monghitri@13951 | 16 |
monghitri@13951 | 17 # Rules to configure and make the package. |
monghitri@13951 | 18 compile_rules() |
monghitri@13951 | 19 { |
monghitri@13951 | 20 python setup.py install --root=$DESTDIR |
monghitri@13951 | 21 } |
monghitri@13951 | 22 |
monghitri@13951 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13951 | 24 genpkg_rules() |
monghitri@13951 | 25 { |
monghitri@13951 | 26 cp -a $install/usr $fs |
monghitri@13951 | 27 } |