wok annotate python-netifaces/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 6f6f1f1ee354
children 076f424196b2
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
pascal@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
monghitri@13951 23 # Rules to configure and make the package.
monghitri@13951 24 compile_rules()
monghitri@13951 25 {
monghitri@13951 26 python setup.py install --root=$DESTDIR
monghitri@13951 27 }
monghitri@13951 28
monghitri@13951 29 # Rules to gen a SliTaz package suitable for Tazpkg.
monghitri@13951 30 genpkg_rules()
monghitri@13951 31 {
Hans-G?nter@23512 32 cp -a $install/usr $fs
monghitri@13951 33 }