wok-6.x view python-netaddr/receipt @ rev 20802

updated cowpatty (4.6 -> 4.8)
author Hans-G?nter Theisgen
date Fri Feb 15 17:40:45 2019 +0100 (2019-02-15)
parents 16df76e1fc6a
children b2368fbc39f8
line source
1 # SliTaz package receipt.
3 PACKAGE="python-netaddr"
4 SOURCE="netaddr"
5 VERSION="0.7.10"
6 CATEGORY="development"
7 SHORT_DESC="A network address representation and manipulation library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/drkjam/netaddr"
12 WGET_URL="https://github.com/downloads/drkjam/$SOURCE/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev python wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }