wok view python-ipy/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents c0f78f4c829d
children 8dd8bab3f0ca
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="http://software.inl.fr/trac/wiki/IPy"
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 }