wok-current annotate python-restclient/receipt @ rev 14989
thunderbird-langpack-*: add license; add cs, el, en_US, es_AR, hu, pl, sl, sv_SE locales
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 09 13:10:42 2013 +0300 (2013-08-09) |
parents | 99b42fdb85c9 |
children | bf4a09ef1d2e |
rev | line source |
---|---|
claudinei@3812 | 1 # SliTaz package receipt. |
claudinei@3812 | 2 |
claudinei@3812 | 3 PACKAGE="python-restclient" |
claudinei@3812 | 4 SOURCE="py-restclient" |
claudinei@3812 | 5 VERSION="1.3.2" |
claudinei@3812 | 6 CATEGORY="development" |
claudinei@3812 | 7 SHORT_DESC="A simple REST client for python" |
claudinei@3812 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3812 | 9 DEPENDS="python python-httplib2" |
claudinei@3812 | 10 BUILD_DEPENDS="python python-dev setuptools" |
pascal@14356 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
claudinei@3812 | 12 WEB_SITE="http://bitbucket.org/benoitc/$SOURCE" |
pascal@14355 | 13 WGET_URL="$WEB_SITE/get/$VERSION.gz" |
claudinei@3812 | 14 |
claudinei@3812 | 15 # Rules to configure and make the package. |
claudinei@3812 | 16 compile_rules() |
claudinei@3812 | 17 { |
claudinei@3812 | 18 cd $src |
pascal@14355 | 19 python setup.py install --root=$DESTDIR |
claudinei@3812 | 20 } |
claudinei@3812 | 21 |
claudinei@3812 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3812 | 23 genpkg_rules() |
claudinei@3812 | 24 { |
pascal@6594 | 25 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
claudinei@3812 | 26 mkdir -p $fs/usr |
pascal@14355 | 27 rm -f $install/usr/lib/$PYTHON_LIB/site-packages/tests/* |
pascal@14355 | 28 rmdir $install/usr/lib/$PYTHON_LIB/site-packages/tests |
pascal@14355 | 29 cp -a $install/usr $fs |
claudinei@3812 | 30 } |
claudinei@3812 | 31 |