wok annotate python-netifaces/receipt @ rev 23920
Up tazusb (207)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 19 17:19:00 2020 +0000 (2020-08-19) |
parents | 814362194a8d |
children | 1df6fa555414 |
rev | line source |
---|---|
monghitri@13951 | 1 # SliTaz package receipt. |
monghitri@13951 | 2 |
monghitri@13951 | 3 PACKAGE="python-netifaces" |
Hans-G?nter@23512 | 4 VERSION="0.10.9" |
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" |
Hans-G?nter@23512 | 9 WEB_SITE="https://pypi.org/project/$SOURCE/" |
Hans-G?nter@23512 | 10 |
monghitri@13951 | 11 SOURCE="netifaces" |
monghitri@13951 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23512 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/n/$SOURCE/$TARBALL" |
pascal@15378 | 14 |
monghitri@13951 | 15 DEPENDS="python" |
Hans-G?nter@23512 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
monghitri@13951 | 17 |
monghitri@13951 | 18 # Rules to configure and make the package. |
monghitri@13951 | 19 compile_rules() |
monghitri@13951 | 20 { |
monghitri@13951 | 21 python setup.py install --root=$DESTDIR |
monghitri@13951 | 22 } |
monghitri@13951 | 23 |
monghitri@13951 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13951 | 25 genpkg_rules() |
monghitri@13951 | 26 { |
Hans-G?nter@23512 | 27 cp -a $install/usr $fs |
monghitri@13951 | 28 } |