wok-6.x view python-ipy/receipt @ rev 21130

Up xpaint (2.9.10.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 21 11:55:21 2019 +0100 (2019-03-21)
parents 16df76e1fc6a
children 9324c85dbeba
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ipy"
4 VERSION="0.63"
5 CATEGORY="development"
6 SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="IPy"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="http://cheeseshop.python.org/packages/source/I/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }