wok-next annotate python-six/receipt @ rev 14884
Add: python-six (1.3.0)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Jul 24 18:59:00 2013 -0300 (2013-07-24) |
parents | |
children | bf4a09ef1d2e |
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" |
claudinei@14884 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@14884 | 10 WEB_SITE="http://packages.python.org/six/" |
claudinei@14884 | 11 WGET_URL="https://pypi.python.org/packages/source/s/$SOURCE/$TARBALL" |
claudinei@14884 | 12 DEPENDS="python" |
claudinei@14884 | 13 BUILD_DEPENDS="python-dev wget" |
claudinei@14884 | 14 |
claudinei@14884 | 15 # Rules to configure and make the package. |
claudinei@14884 | 16 compile_rules() |
claudinei@14884 | 17 { |
claudinei@14884 | 18 cd $src |
claudinei@14884 | 19 python setup.py install --root=$DESTDIR |
claudinei@14884 | 20 } |
claudinei@14884 | 21 |
claudinei@14884 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14884 | 23 genpkg_rules() |
claudinei@14884 | 24 { |
claudinei@14884 | 25 cp -a $install/usr $fs |
claudinei@14884 | 26 } |