wok-next annotate python-six/receipt @ rev 15376
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 18 22:13:53 2013 +0000 (2013-10-18) |
parents | 89ebfab6954d |
children | 7d672a2330b8 |
rev | line source |
---|---|
claudinei@14884 | 1 # SliTaz package receipt. |
claudinei@14884 | 2 |
claudinei@14884 | 3 PACKAGE="python-six" |
claudinei@14884 | 4 SOURCE="six" |
claudinei@14884 | 5 VERSION="1.3.0" |
claudinei@14884 | 6 CATEGORY="development" |
claudinei@14884 | 7 SHORT_DESC="Six is a Python 2 and 3 compatibility library." |
claudinei@14884 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15376 | 9 LICENSE="MIT" |
claudinei@14884 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14884 | 11 WEB_SITE="http://packages.python.org/six/" |
claudinei@14884 | 12 WGET_URL="https://pypi.python.org/packages/source/s/$SOURCE/$TARBALL" |
pascal@15376 | 13 |
claudinei@14884 | 14 DEPENDS="python" |
claudinei@14884 | 15 BUILD_DEPENDS="python-dev wget" |
claudinei@14884 | 16 |
claudinei@14884 | 17 # Rules to configure and make the package. |
claudinei@14884 | 18 compile_rules() |
claudinei@14884 | 19 { |
claudinei@14884 | 20 cd $src |
claudinei@14884 | 21 python setup.py install --root=$DESTDIR |
claudinei@14884 | 22 } |
claudinei@14884 | 23 |
claudinei@14884 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14884 | 25 genpkg_rules() |
claudinei@14884 | 26 { |
claudinei@14884 | 27 cp -a $install/usr $fs |
claudinei@14884 | 28 } |