wok-next annotate python-ipy/receipt @ rev 20969
Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 01:56:52 2018 +0300 (2018-09-14) |
parents | 9b3461bf373c |
children | c9a7a7b42a86 |
rev | line source |
---|---|
pascal@3791 | 1 # SliTaz package receipt. |
pascal@3791 | 2 |
pascal@3791 | 3 PACKAGE="python-ipy" |
pascal@3791 | 4 VERSION="0.63" |
pascal@3791 | 5 CATEGORY="development" |
pascal@3791 | 6 SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks." |
pascal@3791 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
al@20885 | 9 WEB_SITE="http://software.inl.fr/trac/wiki/IPy" |
al@20885 | 10 REPOLOGY="python:ipy" |
al@20885 | 11 |
pascal@3791 | 12 SOURCE="IPy" |
pascal@3791 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
al@20969 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/I/$SOURCE/$TARBALL" |
pascal@3791 | 15 |
pascal@15378 | 16 DEPENDS="python" |
pascal@17742 | 17 BUILD_DEPENDS="python" |
pascal@15378 | 18 |
pascal@3791 | 19 # Rules to configure and make the package. |
pascal@3791 | 20 compile_rules() |
pascal@3791 | 21 { |
pascal@3791 | 22 python setup.py build |
pascal@15378 | 23 python setup.py install --root=$DESTDIR |
pascal@3791 | 24 } |
pascal@3791 | 25 |
pascal@3791 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3791 | 27 genpkg_rules() |
pascal@3791 | 28 { |
pascal@3791 | 29 mkdir -p $fs/usr |
pascal@15378 | 30 cp -a $install/usr/lib $fs/usr |
pascal@3791 | 31 } |
al@18077 | 32 |