wok-6.x view python-netifaces/receipt @ rev 21917

linux-zram: split swap according to cores count
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 05 11:36:18 2019 +0200 (2019-10-05)
parents 6135577f4d08
children 6f6f1f1ee354
line source
1 # SliTaz package receipt.
3 PACKAGE="python-netifaces"
4 VERSION="0.8"
5 CATEGORY="development"
6 SHORT_DESC="Portable access to network interfaces from Python."
7 MAINTAINER="monghitri@aruba.it"
8 LICENSE="MIT"
9 SOURCE="netifaces"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="http://alastairs-place.net/projects/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }