wok view python-netaddr/receipt @ rev 23902
Add SECRET_FILES variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 01 16:19:51 2020 +0000 (2020-08-01) |
parents | a78610b2eb47 |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-netaddr"
4 VERSION="0.7.19"
5 CATEGORY="development"
6 SHORT_DESC="A network address representation and manipulation library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/netaddr/"
11 SOURCE="netaddr"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/n/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev python-setuptools"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 python setup.py build &&
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $install/usr $fs
32 }