wok-6.x annotate python-netifaces/receipt @ rev 25347
updated tcl and tcl-dev (8.6.10 -> 8.6.12)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 09:37:49 2022 +0100 (2022-07-25) |
parents | 076f424196b2 |
children | 01119cbefbc3 |
rev | line source |
---|---|
monghitri@13951 | 1 # SliTaz package receipt. |
monghitri@13951 | 2 |
monghitri@13951 | 3 PACKAGE="python-netifaces" |
Hans-G?nter@25207 | 4 VERSION="0.11.0" |
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@25207 | 9 WEB_SITE="https://pypi.org/project/$SOURCE/" |
Hans-G?nter@25207 | 10 REPOLOGY="python:netifaces" |
Hans-G?nter@25207 | 11 |
pascal@24383 | 12 SOURCE="netifaces" |
monghitri@13951 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25207 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15378 | 15 |
monghitri@13951 | 16 DEPENDS="python" |
Hans-G?nter@23512 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
monghitri@13951 | 18 |
pascal@24383 | 19 # What is the latest version available today? |
pascal@24288 | 20 current_version() |
pascal@24288 | 21 { |
pascal@24383 | 22 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" |
pascal@24288 | 23 } |
pascal@24288 | 24 |
monghitri@13951 | 25 # Rules to configure and make the package. |
monghitri@13951 | 26 compile_rules() |
monghitri@13951 | 27 { |
monghitri@13951 | 28 python setup.py install --root=$DESTDIR |
monghitri@13951 | 29 } |
monghitri@13951 | 30 |
monghitri@13951 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13951 | 32 genpkg_rules() |
monghitri@13951 | 33 { |
Hans-G?nter@23512 | 34 cp -a $install/usr $fs |
monghitri@13951 | 35 } |