wok-next view python-netaddr/receipt @ rev 20906

Update homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 12:53:17 2018 +0300 (2018-08-10)
parents 9b3461bf373c
children c9a7a7b42a86
line source
1 # SliTaz package receipt.
3 PACKAGE="python-netaddr"
4 VERSION="0.7.10"
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://github.com/drkjam/netaddr"
10 REPOLOGY="python:netaddr"
12 SOURCE="netaddr"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/downloads/drkjam/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python-dev python wget"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs
30 cp -a $install/usr $fs
31 }